Commit Graph

526 Commits

Author SHA1 Message Date
Thierry Crozat
66f8104919 GUI: Save launcher grouping mode in config file 2022-02-23 00:22:29 +00:00
Die4Ever
329fe24abb
GUI: rename options buttons (#3681)
* GUI: rename buttons

Rename Edit Game to Game Options and Options to Global Options to make it less confusing.

Remove ellipsis on launcher buttons.

* GUI: put ellipsis back

* GUI: abbreviate options button texts for lowres

* GUI: use 320 width for lowres

* GUI: remove ellipsis from About button
2022-02-16 19:39:41 -06:00
Thunderforge
79e36e1817 GUI: Changing "About..." button to "About"
The current recommended and de factor behavior from both Microsoft and Apple is to have "About" menus be without trailing ellipses. Therefore, I think we should follow suit.

Traditionally, About menus and buttons had a trailing ellipsis. [This article](https://uxdesign.cc/dot-dot-dot-7ce6170bfc7f) demonstrates this behavior for  both Mac OS 1.0 (technically "System 1.0") and Windows 1.0.

However, current versions of macOS and Windows do not have a trailing ellipsis in About menus. Moreover, their design guidelines recommend not using them. From [Apple](https://developer.apple.com/design/human-interface-guidelines/macos/menus/menu-anatomy/):

> Use an ellipsis whenever choosing a menu item requires additional input from the user. The ellipsis character (…) means a dialog or separate window will open and prompt the user for additional information or to make a choice.

Since no additional input is required from the user for the About menu, it is inappropriate to use an ellipsis according to these guidlelines.

Microsoft [explicitly says](https://docs.microsoft.com/en-us/windows/win32/uxguide/ctrl-command-buttons) that About menus should not have an ellipsis (emphasis mine):

> This doesn't mean you should use an ellipsis whenever an action displays another window only when additional information is required to perform the action. Consequently,** any command button whose implicit verb is to "show another window" doesn't take an ellipsis, such as with the commands About**, Advanced, Help (or any other command linking to a Help topic), Options, Properties, or Settings.

Given all this, I think we should be in line with current best practices and remove it from the menu.
2022-01-27 12:09:55 +00:00
Le Philousophe
1b3ac06f69 GUI: Fix various memory leaks related to grid widget 2022-01-06 19:36:23 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko
fd4fbc0183
GUI: Remove debug output 2021-11-14 14:54:22 +01:00
Eugene Sandulenko
c5d6bd0e58
GUI: Streamlined widget deletion 2021-11-14 14:39:56 +01:00
Lothar Serra Mari
3c5c521bc1 GUI: Fix typo, fix compilation 2021-11-13 21:40:00 +01:00
Lothar Serra Mari
9656627494 GUI: Enable translation for missing strings 2021-11-13 21:31:41 +01:00
D G Turner
3e394d012d GUI: Fix Likely Incorrect Code Causing GCC Warnings 2021-11-13 05:57:19 +00:00
Eugene Sandulenko
a10e36315c
GUI: Improve Group Selection and bump theme version
- Replace inscription with an icon to save space
- Reduced size of the search box
- Disbled grid for low-res layouts
- Fixed classic theme
- Regenerated built-in theme
2021-11-12 23:02:41 +01:00
Eugene Sandulenko
eb2625114d
GUI: Fix compilation 2021-11-12 14:50:11 +01:00
Eugene Sandulenko
1661fa1ba6 GUI: Read icons and metadata from gui-icons.dat 2021-11-12 14:46:34 +01:00
Eugene Sandulenko
bdd4e8198c GUI: Do not error() on malformed game entries 2021-11-12 14:46:34 +01:00
Eugene Sandulenko
7772e2a4d5 GUI: Added more explanations for translators 2021-11-12 14:46:34 +01:00
Eugene Sandulenko
27c1d0546b GUI: Got rid of another 'using' directive for consistency sake 2021-11-12 14:46:34 +01:00
Eugene Sandulenko
e7374cf9b7 GUI: Move launcher grid specific implementation class declarations to .cpp 2021-11-12 14:46:34 +01:00
Eugene Sandulenko
01f445cbae GUI: Move locally-used enum to the relevant file from the header 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
e5d1701220 GUI: Fix warnings 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
Eugene Sandulenko
5d857068a1 GUI: Fix error() when description is missing in a game entry 2021-11-12 14:46:34 +01:00
av-dx
c054c15d1c GUI: Fix when setting group method to None 2021-11-12 14:46:34 +01:00
av-dx
e4e47dd28a GUI: Set a default grouping method in popup widget 2021-11-12 14:46:34 +01:00
av-dx
009280aa53 GUI: Add filtering to grid view 2021-11-12 14:46:34 +01:00
av-dx
2cfc31ee52 GUI: Refactor the common build() code b/w launchers 2021-11-12 14:46:34 +01:00
av-dx
fdd9cb2165 JANITORIAL: Less confusing names for functions 2021-11-12 14:46:34 +01:00
av-dx
5ede55c6a0 JANITORIAL: Move common code for all cases out of switch 2021-11-12 14:46:34 +01:00
av-dx
1ec32681ab GUI: Add "Publisher" grouping method 2021-11-12 14:46:34 +01:00
av-dx
528f5d7c41 GUI: Substitute auto with resolved type 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
d93664ceda GUI: Pass names to grouping by Language and Platform 2021-11-12 14:46:34 +01:00
av-dx
dc291ee56e GUI: Add metadata XMLs and MetadataParser 2021-11-12 14:46:34 +01:00
av-dx
b583cfaf4d GUI: Set default grouping method to None 2021-11-12 14:46:34 +01:00
av-dx
46c804986d GUI: Add group header formatting to grid view 2021-11-12 14:46:34 +01:00
av-dx
26e16916fe GUI: Add popup to select grouping method in grid view 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
8796b88251 JANITORIAL: Minor whitespace formatting fix 2021-11-12 14:46:34 +01:00
av-dx
8805365b59 GUI: Removed unnecessary variable assignments 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
cdeb79c13e GUI: Don't carry over selection if it's a header 2021-11-12 14:46:34 +01:00
av-dx
499dab438f GUI: Test PopupWidget for grouping method selection 2021-11-12 14:46:34 +01:00
av-dx
7d3d4a76e5 GUI: Add multiple grouping methods 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
4eb5043ed5 GUI: Add a grouped list widget with collapsible groups 2021-11-12 14:46:34 +01:00
av-dx
b554a1a6bc GUI: Made few get functions const 2021-11-12 14:46:34 +01:00
av-dx
e8bee56f9a JANITORIAL: Formatting fixes 2021-11-12 14:46:34 +01:00