Commit Graph
42 Commits
Author SHA1 Message Date
Misty De Meo f208f8e00b GUI: remove unused variable 2023-06-01 14:30:50 -07:00
wyatt-radkiewicz 660fcf329d GUI: Collapsed game groups are persisted
GroupedListWidget and GridWidget can save what groups they have
collapsed to the config file and reload them. "launcher.cpp" uses those
functions to persist those collapsed groups through
  - changing how the games are grouped by
  - going from list to grid mode and vice versa
  - quitting scummvm and starting it again
2023-04-12 16:07:58 +02:00
Roberto Sánchez 75231868db GUI: Place empty metadata games last when sorting 2022-12-08 23:19:45 +01:00
Eugene Sandulenko 84a17741b6 GUI: Fix grid list highlight after editing game. Bug #3960 2022-06-10 01:00:07 +02:00
Eugene Sandulenko d26ced00c9 GUI: Regenerate attribute list in GridList on list replacement. Fixes bug #13413 2022-05-29 01:11:53 +02:00
Eugene Sandulenko 829c600a02 GUI: Remove remains of the old color lists in *ListWidget 2022-05-29 00:39:35 +02:00
D G Turner c99f548212 GUI: Fix Set But Unused Variable Compiler Warnings in List Widgets 2022-05-28 16:33:00 +01:00
Eugene Sandulenko 828192db59 GUI: Reduced code duplication in GroupedListWidget 2022-05-28 10:46:37 +02:00
Eugene Sandulenko 1edab21c6e GUI: Use color information from the strings in *ListWidget 2022-05-28 10:46:34 +02:00
Eugene Sandulenko 3727b3e16e GUI: Initial code for embedding formatting info into *ListWidget strings 2022-05-26 10:31:45 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko 04a43695e7 GUI: Use filtered search in GroupedList 2021-11-12 15:38:21 +01:00
Eugene Sandulenko 6f773e2d01 GUI: Draw Grouped List with bold font 2021-11-12 14:46:34 +01:00
Eugene Sandulenko f33e3c26a5 GUI: Mark Grid-related things translatable 2021-11-12 14:46:34 +01:00
Eugene Sandulenko 109beb4f86 GUI: Explicitely use Common:: namespace 2021-11-12 14:46:34 +01:00
Eugene Sandulenko a497d25640 GUI: Do not show groups when only "ALL" is present in the grouped list 2021-11-12 14:46:34 +01:00
av-dx d5a07fc3ed GUI: insert_at color in _listColors instead of push_back 2021-11-12 14:46:34 +01:00
av-dx 01849e28ef GUI: Create a style variable for drawing bold headers 2021-11-12 14:46:34 +01:00
av-dx 042fcf45bc GUI: Remove unnecessary if-else in toggleGroup 2021-11-12 14:46:34 +01:00
av-dx 44e0be04ee GUI: Replace !(_listColors.size()) with empty() 2021-11-12 14:46:34 +01:00
av-dx c2ab551bad JANITORIAL: Add comments to explain assertion 2021-11-12 14:46:34 +01:00
av-dx 75d2963d67 GUI: Fix filtering in grouped list widget 2021-11-12 14:46:34 +01:00
av-dx eb8d7098f6 GUI: Add metadata names to grouped list widget 2021-11-12 14:46:34 +01:00
av-dx 6f4c26061b GUI: Directly get fontHeight from g_gui.getFontHeight() 2021-11-12 14:46:34 +01:00
av-dx 4559ad8f90 GUI: Move variable declaration to the initialization 2021-11-12 14:46:34 +01:00
av-dx 0d954b5680 JANITORIAL: Remove debug warnings 2021-11-12 14:46:34 +01:00
av-dx 477407f14c JANITORIAL: Formatting fixes 2021-11-12 14:46:34 +01:00
av-dx 33b5694a4e JANITORIAL: Formatting fixes 2021-11-12 14:46:34 +01:00
av-dx cdc62b6aca GUI: Don't attempt to start if group header is selected 2021-11-12 14:46:34 +01:00
av-dx 7fd536db4f GUI: Fix signed comparison in for loops 2021-11-12 14:46:34 +01:00
av-dx 444d16383d JANITORIAL: Improve readability of few calculations 2021-11-12 14:46:34 +01:00
av-dx 1046af5cf2 GUI: Make selection carry over between group methods 2021-11-12 14:46:34 +01:00
av-dx 16cb024950 GUI: Select the correct element on clicking the List 2021-11-12 14:46:34 +01:00
av-dx d8d257770d GUI: setSelected() in ListWidget acc. to idx not pos 2021-11-12 14:46:34 +01:00
av-dx c3dd558044 GUI: Separate function to set the attribute list 2021-11-12 14:46:34 +01:00
av-dx 777ae61dfa GUI: Restore placeholder symbols for fold indicator
This will be replaced with triangle drawing when #3178 is merged.
2021-11-12 14:46:34 +01:00
av-dx 4bba4cbee2 GUI: Add header prefix and suffix for formatting 2021-11-12 14:46:34 +01:00
av-dx 825709e7ba GUI: Add ascending sort to group headers 2021-11-12 14:46:34 +01:00
av-dx 0095088ead JANITORIAL: Address unsigned int comparison warning 2021-11-12 14:46:34 +01:00
av-dx 8cfbba35d7 JANITORIAL: Remove unused variable 2021-11-12 14:46:34 +01:00
av-dx 0480fe5020 GUI: Use triangle fold indicator in GroupedList 2021-11-12 14:46:34 +01:00
av-dx 4eb5043ed5 GUI: Add a grouped list widget with collapsible groups 2021-11-12 14:46:34 +01:00