View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006570 | The Dark Mod | GUI | public | 19.09.2024 06:19 | 28.09.2024 05:44 |
Reporter | Daft Mugi | Assigned To | Daft Mugi | ||
Priority | normal | Severity | normal | Reproducibility | have not tried |
Status | feedback | Resolution | open | ||
Target Version | TDM 2.13 | ||||
Summary | 0006570: Add GUI features used by mission lists and search | ||||
Description | New GUI functionality is needed In order to create the search box for the mission lists and enhance list selection support. (See 0006339.) windowDef * Add "onFocus" and "onFocusRelease" UI events. (Example usage: Search box border can highlight/unhighlight.) listDef * Add hi-res scrollbar support. (Example usage: Hi-res scrollbar thumb so that it isn't blurry.) * Add autoscroll to list selection when type-to-search. (Example usage: Type first letter or string of title to scroll to it.) * Add "LISTNAME_scroll" GUI variable to set scroll position. (Example usage: Scroll to top or scroll to selection.) editDef * Add "placeholder" and "placeholderColor" properties to editDef. (Example usage: Search box has "Search title/author" placeholder text.) * Add "onAction" "cmd" support to editDef. (Example usage: Each keydown can initiate a search.) | ||||
Tags | No tags attached. | ||||
Committed as code rev 10868 ui/EditWindow.cpp ui/EditWindow.h - Scrollbar changes are the same as for ListWindow. - Adds "placeholder" and "placeholderColor" properties to editDef. - Adds "onAction" "cmd" support to editDef. ui/ListWindow.cpp ui/ListWindow.h - Makes scrollbar size fixed (16 width or height) so hi-res images can be used. - Makes scrollbar thumb image aspect ratio scale properly with screen size. - Makes UI list width fixed and no longer influenced by scrollbar visibility. - Reduces type-to-search timeout delay from 1000 to 600 ms. - Only resets typedTime or clickedTime if already timed out. - Adds autoscroll to list selection when type-to-search. - Adds "LISTNAME_scroll" GUI var to set scroll position. ui/SliderWindow.cpp ui/SliderWindow.h - Adds SetThumbSize method. ui/Window.cpp ui/Window.h - Adds "onFocus" and "onFocusLost" UI events. |
|
Renamed onFocusLost to onFocusRelease. Committed as code rev 10871. |
|
Removed aspect ratio correction from scrollbar thumb. Committed as code rev 10879. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
19.09.2024 06:19 | Daft Mugi | New Issue | |
19.09.2024 06:19 | Daft Mugi | Status | new => assigned |
19.09.2024 06:19 | Daft Mugi | Assigned To | => Daft Mugi |
19.09.2024 06:20 | Daft Mugi | Description Updated | |
19.09.2024 06:21 | Daft Mugi | Relationship added | related to 0006339 |
19.09.2024 06:21 | Daft Mugi | Relationship added | related to 0006449 |
19.09.2024 06:31 | Daft Mugi | Description Updated | |
19.09.2024 07:28 | Daft Mugi | Note Added: 0016832 | |
19.09.2024 07:29 | Daft Mugi | Status | assigned => feedback |
19.09.2024 15:18 | Daft Mugi | Summary | Add supporting GUI features used by mission lists and search => Add GUI features used by mission lists and search |
25.09.2024 17:25 | Daft Mugi | Description Updated | |
25.09.2024 17:27 | Daft Mugi | Note Added: 0016844 | |
28.09.2024 05:44 | Daft Mugi | Note Added: 0016845 |