547 Commits

Author SHA1 Message Date
Eugene Sandulenko
c1478cd1e6
GUI: Fixed search icon tooltip 2023-01-08 01:15:52 +01:00
Cameron Cawley
67a57e945d GUI: Improve support for group selection in the launcher on small screens 2022-12-25 16:26:26 +01:00
Le Philousophe
1af0e814e1 GUI: In grid launcher group by title to match what is displayed 2022-10-08 16:55:56 +02:00
Le Philousophe
1041c69710 GUI: Unify games listing between choosers
And avoid building of useless array
2022-10-08 16:55:56 +02:00
Le Philousophe
476b82ec84 GUI: Use engine ID to match metadata
This avoids classifying Cryo Atlantis as LucasArts game and Indiana Jones
series
2022-10-08 16:55:56 +02:00
Le Philousophe
aa5da2e140 GUI: Don't pass U32String by value 2022-09-18 16:15:56 +02:00
Walter Agazzi
f428b2a12f
GUI: Add overlay to show demo status on thumbnails 2022-08-27 01:15:19 +03:00
Donovan Watteau
27f9a460b5 JANITORIAL: Fix "the the" and similar typos 2022-07-29 19:36:40 +03:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Thierry Crozat
b248add106 GUI: Improve thread-safety for icons set access
The previous commit was not sufficient as getIconsSet() returns a
reference to the SearchSet and it could then be used after the
mutex had been unlocked and while it was being modified in
initIconsSet() called in another thread.
2022-07-02 21:46:14 +02:00
Thierry Crozat
8cda1fe870 GUI: Change the mechanism to update the grid launcher after upding the icons
The icons download dialog was triggering the grid launcher update after
icons had been downloaded. But that means no update was done if the
dialog had been closed during the download.

Now the GUIManager triggers the update. This fixes the missing update
when hiding the download dialog while downloading an icon set.
2022-07-02 21:46:14 +02:00
Thierry Crozat
5ea034391b GUI: Add slider for Grid Launcher icon size 2022-06-12 22:08:53 +01:00
Le Philousophe
b94ad4d8b8 GUI: Implement setSelected in Grid and use it in launcher 2022-06-10 00:52:14 +02:00
Eugene Sandulenko
0e6c0e1167
GUI: Use heuristic for displaying demo names in grid launcher 2022-06-08 23:08:37 +02:00
Eugene Sandulenko
beafbca04d
GUI: Extract vanilla game title for using in the grid. Bug #13551 2022-06-08 01:37:32 +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