View Issue Details

IDProjectCategoryView StatusLast Update
0006570The Dark ModGUIpublic28.09.2024 05:44
ReporterDaft Mugi Assigned ToDaft Mugi  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status feedbackResolutionopen 
Target VersionTDM 2.13 
Summary0006570: Add GUI features used by mission lists and search
DescriptionNew 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.)
TagsNo tags attached.

Relationships

related to 0006339 feedbackDaft Mugi Revamp mission and download list screens 
related to 0006449 feedbackDaft Mugi Add search to mission and download list screens 

Activities

Daft Mugi

Daft Mugi

19.09.2024 07:28

developer   ~0016832

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.
Daft Mugi

Daft Mugi

25.09.2024 17:27

developer   ~0016844

Renamed onFocusLost to onFocusRelease.
Committed as code rev 10871.
Daft Mugi

Daft Mugi

28.09.2024 05:44

developer   ~0016845

Removed aspect ratio correction from scrollbar thumb.
Committed as code rev 10879.

Issue History

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