Commit Graph
536 Commits
Author SHA1 Message Date
Thierry Crozat 4881b8fdec GUI: Add slider for Grid Launcher icon size 2022-06-12 22:15:18 +01:00
Le Philousophe 77700ab06d GUI: Implement setSelected in Grid and use it in launcher 2022-06-10 11:13:57 +02:00
Eugene Sandulenko 0ee20d377d GUI: Use heuristic for displaying demo names in grid launcher 2022-06-08 23:09:06 +02:00
Eugene Sandulenko 1732d0a5f8 GUI: Extract vanilla game title for using in the grid. Bug #13551 2022-06-08 01:38:10 +02:00
Thierry Crozat cc29c8efc7 GUI: When dropping file, use parent directory for detection
The detection was done on the dropped path, so it worked when
dropping a directory, but not a file. Now we can drop a file
and it will run the detection on the parent directory.
2022-06-05 18:57:20 +01:00
Eugene Sandulenko 829c600a02 GUI: Remove remains of the old color lists in *ListWidget 2022-05-29 00:39:35 +02:00
Eugene Sandulenko 3727b3e16e GUI: Initial code for embedding formatting info into *ListWidget strings 2022-05-26 10:31:45 +02:00
Die4Ever e36d66f0e5 GUI: button widget auto size with screen width 2022-05-23 23:44:59 +02:00
Die4Ever 2296af6b1e GUI: Move the lowres string handling logic inside the button widgets 2022-05-15 13:16:29 +03:00
SupSuper 22711c9d0d GUI: Show full game description in grid view tooltip 2022-04-02 05:52:06 +01:00
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