Commit Graph
617 Commits
Author SHA1 Message Date
av-dx b5146d814b GUI: Use "iconspath" config instead of "iconpath"
"iconspath" was already being used by the taskbar to display icons.
2021-11-12 14:46:34 +01:00
av-dx ffef874a96 GUI: Move launcher chooser and dialogs to same file 2021-11-12 14:46:34 +01:00
av-dx 498e3bf2fc GUI: Fix a typo in 'iconpath' keyname 2021-11-12 14:46:34 +01:00
av-dx 6ce75d06f4 GUI: Add config option for icons' path 2021-11-12 14:46:34 +01:00
av-dx 6e1ec33fd8 GUI: Move LauncherDialog and LauncherChooser into separate files 2021-11-12 14:46:34 +01:00
sluicebox 2ac5fd5c02 GUI: Fix crash when enabling auto save
"engineid" isn't present on all games. Games that predate the "engineid"
feature and haven't been run since it was introduced don't have it yet.

Fixes bug #13038
2021-11-11 15:30:16 -06:00
athrxx 61c4cbe1f4 GUI: fix broken GMM sound settings (regression from 44245eeb)
I would get an assert(!domName.empty())  whenever I use the ingame GMM sound settings, since that commit tries to remove keys even from the default/empty domain
2021-11-11 22:06:41 +01:00
Vanfanel 3a59c28179 SDL: Generalize VSYNC option so it works for 2D games too, in both SDL surface and opengl graphic modes. 2021-10-23 20:53:22 +01:00
sluicebox 44245eebbc GUI: Don't apply values from disabled subtitle toggle
When the subtitle toggle controls are disabled for a game, don't
read the value and then set config values based on it.
This caused "Override global audio settings" to always set "subtitles"
and "mute_speech" even when the controls were disabled.

Fixes bug #13007 where "Override global audio settings" always
mutes the speech clips in Hoyle4.
2021-10-15 13:25:34 -05:00
Cameron Cawley d460f8f70a GUI: Avoid showing ellipses in smaller labels 2021-10-12 23:29:21 +01:00
antoniou79 56ef67f6d5 GUI: Prevent segfault for Options in GMM in-game 2021-10-12 15:43:10 +03:00
Cameron Cawley c40b2bf125 GUI: Disable widgets in the options dialog relating to unavailable features 2021-10-10 22:40:55 +03:00
Thierry Crozat ebd8915009 GUI: Simplify builtin language check 2021-10-02 23:50:21 +01:00
Thierry Crozat 5e3b44f19d GUI: Cleanup Theme loading language error check
We used to have different charsets depending on the language and
a different set of fonts for each one. So themes could support
some language and not others depending on the fonts it contained.
Now all languages are using UTF-32, except English. So the only
case that can fail is when not using English and the Theme does
not have TTF fonts.
2021-10-02 23:50:21 +01:00
Lothar Serra Mari 7b0ce6282f GUI: Add GUI option for Discord RPC 2021-09-02 14:21:07 +02: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
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
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 cbb627a40b COMMON: Change TransMan builtin language to "en" instead of "C" 2021-08-04 19:28:47 +01: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
Cameron Cawley b2d41daabc GUI: Add improved scaler selection to the Options dialog 2021-06-23 21:29:53 +02:00
lb_ii 7d0a96818d GUI: Mark var as const 2021-06-10 01:56:23 +03:00
lb_ii a59108911d GUI: Use AchMan to get achievements descriptions 2021-06-10 01:56:23 +03:00
lb_ii 080b8dad89 GUI: Remove mistakenly used _("string") 2021-06-02 01:21:37 +03:00
lb_ii d7afb6408a GUI: Fix minor issues for code review 2021-06-01 02:20:53 +03:00
lb_ii 4bea32377e GUI: Remove unused code at achievements controls 2021-06-01 02:20:53 +03:00
lb_ii 3ea4faeab7 GUI: Add Statistics dialog to game options 2021-06-01 02:20:53 +03:00
lb_ii 4d582218a9 GUI: Use simple achievements API 2021-05-28 21:07:08 +03:00
Torbjörn Andersson 73f43cdcb3 GUI: Fix build when USE_TTS is undefined 2021-05-03 16:47:30 +02:00
Martin Gerhardy 9d82fa51df COMMON: removed USE_TTS check from engines
OSystem now just returns a nullptr if there is no text to speech manager instance
(because none is compiled into the binary, or the system doesn't provide support
for it). This removed the need for the engine authors to add scummvm osystem compile
time options checks into their engine code
2021-05-03 14:13:41 +03:00
Eugene Sandulenko edef02acda GUI: Add tooltips to Cancel/Apply/OK buttons in Options. Bugreport #10313 2021-04-20 01:46:05 +02:00
D G Turner 578555ab1a GUI: Fix GCC Compiler Warning 2021-04-18 01:29:18 +01:00
Eugene Sandulenko 36d19d68c1 GUI: Fix formatting for I18N comments 2021-04-17 22:19:47 +02:00
Eugene Sandulenko bcecf62f17 GUI: Added comments for translators for GUI scale options 2021-04-17 21:25:29 +02:00
Eugene Sandulenko bba558770d GUI: Expose base GUI scaling to GUI. This bumps theme version. 2021-04-17 19:41:09 +02:00
Eugene Sandulenko 91832bf9d8 SYMBIAN: Remove old Keys Dialog, now the global KeyMapper is used. PR#2712 2021-04-17 19:41:09 +02:00
Lothar Serra Mari f91435ca8d GUI: Enable missing translations for audio device selection 2021-04-10 19:09:11 +02:00
Thierry Crozat 5757a406d9 GUI: Display correct ini path when using custom config file
This should avoid confusion for users when a custom config
file is used (for example for GOG games bundled with ScummVM).
2021-04-01 20:17:43 +01:00
Eugene Sandulenko 0634a45abd GUI: Added scummvm.ini path to the Paths tab. Bump theme version
Finally we could direct the users to the precise path where scummvm.ini
lives on their system. No more guessing.
2021-04-01 18:19:50 +02:00
a/ 851b0c5edc GUI: Add lowres support for the renderer dropdown 2021-03-26 15:34:22 +01:00
sluicebox 93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
Alexander Tkachov 8c16575035 CLOUD: Update Dropbox to use refresh_token
Dropbox is switching to short-lived access_token OAuth. This commit adapts Cloud::DropboxStorage to use refresh_token similarly to how other Storages do: by introducing a DropboxTokenRefresher.

It is used instead of plain CurlJsonRequest. It just checks if received JSON has access_token-related error and tries to refresh it, then repeats the original request transparently for the caller. If no such errors found, it just passes the info to the caller.
2021-02-04 01:57:48 +01:00
Cameron Cawley a82b200ae7 GUI: Allow specifying a command for PopUp widgets 2021-01-10 09:53:43 +02:00
Thierry Crozat f88381f0d1 GUI: Apply default shader when selected 2020-12-29 23:22:42 +00:00
av-dx 44045c20f1 GUI: Refresh Gfx/Stretch Mode when <default> is applied 2020-12-29 22:29:43 +00:00
Thierry Crozat 1c788f8a29 GUI: Add missing member initialization in GlobalOptionsDialog constructor 2020-12-04 22:07:14 +00:00
Lothar Serra Mari 4ee02f869c GUI: Add GUI option to always return to the Launcher instead of quitting
ScummVM
2020-12-02 22:39:22 +00:00