4703 Commits

Author SHA1 Message Date
Lothar Serra Mari
17857d7597 GUI: Disable obsolete GUI entries for now 2022-10-08 23:39:18 +02:00
Lothar Serra Mari
ceef8da1f3 GUI: Mark entry point where we call the shaderscaler dialog later 2022-10-08 23:39:18 +02:00
Lothar Serra Mari
93b46ec40d BACKENDS: OPENGL: Resolve merge conflicts 2022-10-08 23:39:18 +02: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
SupSuper
ac771ac2de GUI: Fix engine icons only showing up in grid once 2022-10-04 01:37:28 +01:00
Le Philousophe
1d715c7bbb GUI: Fix memory leak when loading DEMO icon 2022-10-01 15:38:44 +02:00
Lothar Serra Mari
94e0c7d0e8 GUI: I18N: Update GUI translations datafile 2022-09-20 19:02:57 +02:00
Le Philousophe
aa5da2e140 GUI: Don't pass U32String by value 2022-09-18 16:15:56 +02:00
Eugene Sandulenko
6e4860343c GUI: Avoid dupicate icon loading 2022-09-02 14:59:29 +02:00
Eugene Sandulenko
80c750a0a4 GUI: Fix mass add crash with older ScummVM configs 2022-09-02 14:30:44 +02:00
Niv Baehr
75dfe12286 GUI: TTS: strip GUI formatting before reading list item 2022-08-29 08:34:48 +03:00
Le Philousophe
763517fdfe GUI: Make GridWidget accept focus
This avoids the filter text to take the focus.
In Android this prevents the launcher to start with the virtual keyboard
displayed.
In the future, the widget could also take keyboards event into account
like the ListWidget one.
2022-08-27 09:19:53 +02:00
Le Philousophe
8e9ba83d89 GUI: Move the icons per row slider value to the right
Else it's stuck to the slider widget
2022-08-27 09:19:53 +02:00
Le Philousophe
368363ae74 GUI: Move buttons bar below launcher lower
Else widgets are erased when the launcher widget is redrawn
2022-08-27 09:19:53 +02:00
Le Philousophe
b5704d6ef0 GUI: Remove useless widget 2022-08-27 09:19:53 +02:00
Walter Agazzi
f428b2a12f
GUI: Add overlay to show demo status on thumbnails 2022-08-27 01:15:19 +03:00
Le Philousophe
ea560b5dab GUI: Redraw editable widget and move its caret when text is set by code 2022-08-25 17:57:38 +02:00
Le Philousophe
d21b42950a GUI: Avoid useless surface copy before scaling
By using the const rawSurface function instead of the surfacePtr one,
there is no need to create a copy of the const argument.
2022-08-25 17:57:38 +02:00
Le Philousophe
def0624ee9 GUI: Fix memory leak when resizing grid widget 2022-08-25 17:57:38 +02:00
Le Philousophe
9af7ecdd15 GUI: Do hide GridItemWidgets when nothing is to be shown 2022-08-24 22:46:55 +02:00
Misty De Meo
c3af8f0a7f GUI: workaround for "unsupported game" dialogue
This sendCommand() call interrupts the "this game is unsupported" call,
causing it to automatically cancel.

Fixes a bug introduced by 8cda1fe870e76efd7b13514ab304af64a8187377.
2022-08-16 22:17:59 +01:00
D G Turner
2537d29332 GUI: Fix GCC Compiler Warnings in Save Load Dialog 2022-08-03 01:47:09 +01:00
Alexander Tkachev
09639e7f23 GUI: Add files amount to SaveLoadCloudSyncProgressDialog
Also adds Cloud::Storage::SyncDownloadingInfo struct to pass around a bunch of numbers instead of having 3 methods for each number (in CloudManager, Storage and SavesSyncRequest).
2022-08-02 22:08:19 +02:00
Alexander Tkachev
85739018fe GUI: Show bytes sizes in saves sync dialog
And also makes percentage calculated based on bytes sizes, not files count.
2022-08-02 22:08:19 +02:00
Alexander Tkachev
dbbdf28482 COMMON: Redraw Save/Load dialog while syncing
A bit hacky (uses `friend`), but now while SaveLoadCloudSyncProgressDialog is modal, SaveLoadChooserDialog is still redrawing in the background, so the not-yet-ready saves buttons are being replaced with ready ones while the sync is in progress.
2022-08-02 22:08:19 +02:00
Alexander Tkachev
6901e941aa CLOUD: Fix #11244: Crash when loading a save from the launcher
Removing GUI::CommandSender from SavesSyncRequest, so it doesn't update SaveLoadCloudSyncProgressDialog or SaveLoadChooserDialog from another thread.

Instead, these two are now polling CloudMan once per second themselves.
2022-08-02 22:08:19 +02:00
BLooperZ
b67b88e6d9 GUI: Support unicode and BiDi in editable widget 2022-08-02 22:04:54 +02:00
Eugene Sandulenko
778beab05f
GUI: Regenerated default icons set, as we have new platform icons 2022-08-02 19:57:18 +02:00
Lothar Serra Mari
1690f882ba GUI: Fix constructing icons path for dummy data when clearing icons cache
This fixes the cache clearing issues mentioned in #13744 for Win32 and macOS.
2022-08-02 00:21:49 +02: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
Cameron Cawley
89c634be2d GUI: Display the full engine name in the About dialog 2022-07-23 22:08:53 +01:00
Lothar Serra Mari
30ca34d1c0 GUI: Update translations datafile 2022-07-22 20:33:30 +02:00
Misty De Meo
eb7f38ba27 CREDITS: add Misty De Méo 2022-07-19 09:22:55 +03:00
Lothar Serra Mari
ed17bed4a5 GUI: Fix calculating size of previously downloaded icons files 2022-07-10 16:11:11 +02:00
Lothar Serra Mari
81f4c56e36 GUI: Add option to reset icons cache for grid view 2022-07-10 14:14:59 +02:00
Eugene Sandulenko
1160eb8491
CREDITS: Added icons pack credits and regenrated files 2022-07-09 21:40:44 +02:00
Eugene Sandulenko
af038e3317
GUI: Check downloaded icon file sizes. Fixes bug #13566 2022-07-09 13:54:49 +02:00
Thunderforge
fe001b35b5 COMMON: Adding default iconspath functionality
It's for macOS only right now.
2022-07-02 22:34:36 +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
42a2aef1c5 GUI: Add mutex for the GuiManager icon set
GuiManager::initIconsSet is called from a callback of the iconset
download dialog, which runs in a separate thread. That means the
iconset can be accessed from two separate thread (the GUI thread,
and the download thread).

This was not an issue until the previous commit as closing the
download dialog while a download was ongoing would crash ScummVM.
But now that the crash is fixed, a race condition was possible.
2022-07-02 21:46:14 +02:00
Thierry Crozat
9936aed687 GUI: Move icon download callbacks to the DialogState
This fixes a crash when hiding the DownloadIconsDialog while
downloading an icons pack.
2022-07-02 21:46:14 +02:00
antoniou79
d7dcce6901 GUI: Fix mouse wheel on grid item tray
When using the mouse wheel (scroll up/down) in the Grid view, item tray for a selected game, ScummVM would exit

I didn't notice any side-effects from the fix, but someone more familiar with the code should confirm.
2022-07-02 12:03:05 +02:00
Cameron Cawley
2c2922d4b3 GUI: Preserve the enabled state of _soundFontClearButton when reflowing the window 2022-07-01 09:06:10 +03:00
Cameron Cawley
831a3a33db GUI: Update the builtin theme 2022-06-30 23:13:37 +01:00
Filippos Karapetis
25401cdf92 GUI: Add missing domain when checking for subtitle config - bug #13629
This disallowed selecting "both" for speech and subtitles, as the
subtitles setting was never saved. A regression from d6dbf721b62e773f.
2022-06-30 17:14:58 +03:00
antoniou79
dc69bd4d67 GUI: Fix infinite loop with mouse wheel over tab
Reported as regression in #13106

Comment link:  https://bugs.scummvm.org/ticket/13106#comment:4
2022-06-29 15:54:06 +03:00