Commit graph

4099 commits

Author SHA1 Message Date
Lothar Serra Mari
61c9192b7e GUI: Update translations datafile 2021-10-01 12:40:15 +02:00
Cameron Cawley
6f38f9d9d3 GUI: Update the builtin theme 2021-09-30 16:59:27 +01:00
djsrv
d014bdd92c CREDITS: Update name 2021-09-23 11:49:59 -04:00
Lothar Serra Mari
7c28e2d170 GUI: Update translations datafile 2021-09-20 14:22:05 +02:00
Lothar Serra Mari
d58796e346 I18N: Update translations data file 2021-09-12 09:46:11 +02:00
Lothar Serra Mari
3df4ae9eda GUI: Add GUI option for Discord RPC 2021-09-11 18:50:29 +02:00
Eugene Sandulenko
768dd91ddc
GUI: Added optional file mask for FileBrowserDialog 2021-09-01 15:39:02 +02:00
Cameron Cawley
3f582c04e6 CREDITS: Add myself to the DS port credits 2021-08-30 19:09:49 +01:00
Orgad Shaneh
b7a46e97f5 GUI: Re-enable warning when saving over an older savegame
The assignment back to _saveList is required, because the initial read does
not assign playtime.

In case the slot is empty, querySaveMetaInfos returns an empty description
with saveSlot -1 on most engines, so _saveList[selItem] loses its slot.
Cover this by adding a check.

Reverts 0425dff824.
2021-08-28 21:36:35 +03:00
Lothar Serra Mari
46886b787e I18N: Update translations data file 2021-08-28 16:54:15 +02:00
D G Turner
8b239a2577 GUI: Fix GCC Signed vs. Unsigned Comparison Warning 2021-08-28 13:56:09 +01:00
Thierry Crozat
18ee050adf GUI: Only display autosave warning if there are normal saves in autosave slots
This fixes bug #12845.
2021-08-28 13:48:53 +01:00
Thierry Crozat
0425dff824 GUI: Fix saving in a new slot with the list save dialog
This revert part of a17816f1 (GUI: Warn when saving a "young" game
over an "older" one).

The issue was that when trying to save in a new slot with the list
save dialog, this was not creating the save.

This finishes to fix bug #12850
2021-08-27 23:30:44 +01:00
Thierry Crozat
626d0ed4b6 GUI: Fix assert when double clicking on item in list save dialog
This was a regression from 44e5d3f9 (GUI: Factor out save/load
activation to a function).

This fixes part of bug #12850
2021-08-27 23:30:44 +01:00
Thierry Crozat
5867d5420f GUI: Fix clicking in an empty space in the Grid Load dialog
This was unexpectedly closing the dialog.
This was a regression from 44e5d3f9 (GUI: Factor out save/load
activation to a function)
2021-08-27 23:30:44 +01:00
D G Turner
50548c738d GUI: Fix Incorrect Logic due to Stray Semicolon 2021-08-26 22:56:25 +01:00
Thierry Crozat
8d4ef7234d GUI: Avoid crash when starting ScummVM with partially corrupted config file
In my case I had a section where only the gameid was defined and no path.
Obviously this is not valid and I cannot start that game. But this is not
a reason to crash with an unknown "path" key error when starting ScummVM.
2021-08-26 17:12:55 +01:00
Orgad Shaneh
a17816f14d GUI: Warn when saving a "young" game over an "older" one 2021-08-25 05:56:22 +03:00
Orgad Shaneh
44e5d3f9bd GUI: Factor out save/load activation to a function 2021-08-25 05:56:22 +03:00
Orgad Shaneh
873ba580fb GUI: Warn when enabling autosave on options
...if non-autosave games are stored in autosave slot
2021-08-24 01:37:06 +02:00
SupSuper
c9d67e48a9 BACKENDS: Use FSNode::getName in string operations 2021-08-23 21:22:27 +01:00
Cameron Cawley
6edcd3c21c GUI: Fix displaying dynamic engine options widgets in the Edit Game dialog 2021-08-23 00:07:11 +03:00
Cameron Cawley
644e7354f5 CREDITS: Update credits 2021-08-22 22:25:33 +03:00
Cameron Cawley
e8c54ed7aa DS: Work around issues with GUI scaling at low resolutions 2021-08-20 17:43:19 +01:00
Eugene Sandulenko
5af243be2c
I18N: Reduced width of some language names so they fit better on low res. Bug #11745 2021-08-19 17:05:25 +02:00
Thierry Crozat
e012014c29 GUI: Fix computation of MessageDialog width
This was a regression introduced in fea19c69a. The code forgot to
add the margin on either side of the text when computing the width
of the dialog.

I also introduced a variable with the mergin value to clarify the
code (and also make it easy to change that margin in the future if
we want to).
2021-08-18 22:38:55 +01:00
Orgad Shaneh
fea19c69af GUI: Support multiple alt buttons in MessageDialog 2021-08-18 22:34:02 +02:00
Orgad Shaneh
0d17d142e4 GUI: Wrap very long lines in MessageDialog 2021-08-18 22:34:02 +02:00
Orgad Shaneh
1c5c366649 GUI: Swap OK/Alt values in MessageDialog
A follow-up commit adds support for multiple alternatives, so OK has to
come first.
2021-08-18 22:34:02 +02:00
Orgad Shaneh
18fb0498b5 GUI: Support keypad Enter key in dialogs 2021-08-18 00:39:42 +03:00
Lothar Serra Mari
41a10cd9ad I18N: Update translations data file 2021-08-15 17:51:39 +02:00
Thierry Crozat
9fcd67b2a7 GUI: Never scale the GUI below 320x200 2021-08-15 09:52:03 +01:00
Thierry Crozat
ad31dfc8d5 GUI: Handle the GUI Scale option as a scaling rather than base resolution
Now that we can get an accurate HiDPI screen scaling from OSystem,
defaulting to using that seems to make sense. But we may still want
to use a slightly different scaling. The GUI scale option allows
that by providing a scaling (in percentage) with which to multiply
the HiDPI scaling.

I think it works better than a base resolution as it avoids having
the GUI getting bigger or smaller when we resize the window.

This commit keeps a popup widget, but this could be changed with
 a slider if we want more fine grain control.
2021-08-13 21:41:33 +01:00
Thierry Crozat
abf782c670 COMMON: Remove kFeatureHiDPI from OSystem and use getHiDPIScreenFactor instead 2021-08-13 21:41:33 +01:00
antoniou
f900cbecdd ANDROID: Fix reset browser_lastpath via button
Also replace literal "scummvm" with Common::ConfigManager::kApplicationDomain in android options
2021-08-12 15:17:32 +03:00
Martin Gerhardy
15dd09a527 EVENTRECORDER: fixed compilation 2021-08-10 09:34:48 +02:00
Coen Rampen
67605e1076 COMMON: Add my name to the credits 2021-08-08 23:21:12 +02:00
sluicebox
f3278c7062 GUI: Fix debug console scrollbar scaling
Fixes bug #12783
2021-08-07 17:15:05 -05:00
djsrv
909595176a COMMON: Use Path type in MacResManager functions 2021-08-07 10:44:37 +02:00
Max Horn
e74c173479 CREDITS: regenerate 2021-08-05 00:01:46 +02:00
Thierry Crozat
cbb627a40b COMMON: Change TransMan builtin language to "en" instead of "C" 2021-08-04 19:28:47 +01:00
Le Philousophe
ef73bdac50 EVENTRECORDER: Update screen resolution in GUI before showing anything
This properly fix bug encountered in 5af1192580
Now the UI is notified size has changed and properly reiszes overlay
surface.
2021-08-04 13:27:07 +02:00
antoniou
84323fc78e ANDROID: Remove checkbox for Android SAF from global options
Themes rebuilt, and version bumped to SCUMMVM_STX0.8.50
2021-08-02 22:57:37 +03:00
Eugene Sandulenko
8d8e6765a2
GUI: Display last browse path and add button for resetting it
This bumps the theme version.

The primary target is Android where a user may navigate to a location
where there is no read permission which leads to them being stuck.

This option has no effect on those native browse dialogs that do not
use the "browser_lastpath" config setting. Particularly, macOS is
not affected.
2021-08-02 17:09:03 +02:00
antoniou
250206bd00 ANDROID: Add a checkbox for a revoke SAF permissions button
Themes were updated to version SCUMMVM_THEME_VERSION_STR "SCUMMVM_STX0.8.48"
2021-08-01 16:10:54 +03:00
SupSuper
782cd55c31 GUI: Fix RTL Add Game dialog leaving UI in a broken state (#12765)
Make sure we clear all RTL dialog paddings once we go back to the launcher.
2021-07-28 09:37:25 +01:00
sluicebox
85f789a8ad GUI: Fix shading being applied more than once 2021-07-28 07:29:40 +02:00
Thierry Crozat
fe41c9bd7d GUI: Fix loading fonts when translations are disabled
This fixes bug #12737.
The issue is that ThemeEngine::addFont was skipping every font
when translations are disabled, including those for the English
language. Indeed for those the function is called with language
of "*" (since this is what is specified in the theme) and not
an empty string as the implementation assumed.
2021-07-16 21:23:29 +01:00
Martin Gerhardy
115f2fcf13 EVENTRECORDER: handle new recorder event for TimeDate 2021-07-14 20:05:08 +02:00
antoniou
d62202801a GUI: Check for writable for save game path
This is done in Global Options, but it was skipped here in Game domain scope

This resulted in allowing bad paths (without write access) in this field
2021-07-13 16:51:56 +03:00