Commit Graph
649 Commits
Author SHA1 Message Date
Thunderforge fe001b35b5 COMMON: Adding default iconspath functionality
It's for macOS only right now.
2022-07-02 22:34:36 +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
Cameron Cawley 2c2922d4b3 GUI: Preserve the enabled state of _soundFontClearButton when reflowing the window 2022-07-01 09:06:10 +03: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 d6dbf721b6.
2022-06-30 17:14:58 +03:00
Athanasios Antoniou 1146f3d72d GUI: Fix iconpath iconspath Confman key discrepancy
Fixes issue with unable to download icons update (from Misc Tab) even though an icons path is set in Paths tab.
2022-06-10 23:10:51 +03:00
Thierry Crozat 7ff1533799 GUI: Fix setting the soundfont in ConfMan
This fixes bug #13531.
The issue was a regression introduced in commit 7dd0c1ddf8.
2022-06-02 20:07:49 +01:00
grisenti 7b53202a9e ALL: add support for --config and refactor code 2022-05-29 13:56:21 +02:00
grisenti d6dbf721b6 ALL: add support for --subtitles 2022-05-29 13:56:21 +02:00
grisenti 7f1eafcb2f ALL: add support for --opl-driver and --talkspeed 2022-05-29 13:56:21 +02:00
grisenti 358bec9967 ALL: add support for --scaler and --scale-factor 2022-05-29 13:56:21 +02:00
grisenti e934e7d279 ALL: add support for native-mt32 and fix enable-gs 2022-05-29 13:56:21 +02:00
grisenti 7dd0c1ddf8 ALL: add support for --midi-gain and --soundfont 2022-05-29 13:56:21 +02:00
grisenti f71e98ddf5 ALL: add support for --filtering and --multi-midi 2022-05-29 13:56:21 +02:00
grisenti 8fccaf89ff ALL: add support for enable-gs and fix bugs 2022-05-29 13:56:21 +02:00
grisenti 819f52a14d ALL: add support for --fullscreen command 2022-05-29 13:56:21 +02:00
grisenti 5fc5353ecc ALL: add support for -m -s -r commands 2022-05-29 13:56:21 +02:00
grisenti b7f6964fb4 ALL: add support for gfx, stretch and render mode 2022-05-29 13:56:21 +02:00
grisenti a7ed28e8a7 ALL: add support for --gui-theme and update themes 2022-05-29 13:56:21 +02:00
grisenti fa031ca1a3 ALL: add support for --themepath and --extrapath 2022-05-29 13:56:21 +02:00
grisenti c0acb85605 ALL: add support for --savepath command 2022-05-29 13:56:21 +02:00
athrxx eb29aea4b4 TTS: (Windows) - implement better way to disable the option
Currently, the text-to-speech manager will try to update the voices whenever TextToSpeechManager::pushState()/popState() is called. This causes lags of 4 - 5 seconds on Windows. Also, a warning is triggered each time. This commit prevents that from happening if the tts option is not enabled.

This commit currently affects only Windows. Other backends don't make use of the new _enabled setting. I don't know if it would make sense for any of these and I also wouldn't be able to test it.
2022-04-26 21:08:41 +03:00
Le Philousophe 8ec10f5892 GRAPHICS: Create a dynamic list of available renderers
This allows us to not offer a renderer which is not available on the
platform.
2022-04-10 18:11:46 +02:00
Le Philousophe 1e4696f6d0 OPENGL: Rework renderer selection code
Add a class to group all renderer related (static) functions.
This allows to have getBestMatchingAvailableType inline in all engines.

The matching code is now shared between all engines but allows
customization for engines needing it (Grim, WME3D).

The new code takes runtime availability of features to select the
best renderer.
It avoid crashes when user choosed OpenGL but GLES2 is used.
2022-04-03 22:17:19 +02:00
Cameron Cawley a8579176d4 GUI: Remove kFeatureOnScreenControl and kFeatureSwapMenuAndBackButtons 2022-02-07 00:53:34 +02:00
Le Philousophe 9f84198643 ANDROIDSDL: Remove deprecated port 2022-02-06 21:34:08 +01:00
Die4Ever 42a27fda40 GUI: tabs with scrollbars for more pages 2022-01-23 20:28:55 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Cameron Cawley a21961516a GRAPHICS: Split ScalerPluginObject into two classes 2021-11-23 23:32:58 +01:00
Eugene Sandulenko d00f894aa6 GUI: Refresh Grid View after icon packs were downloaded 2021-11-20 00:55:44 +01:00
Eugene Sandulenko ae62f3ff8f GUI: Fix compilation without LIBCURL 2021-11-18 23:33:13 +01:00
Eugene Sandulenko d8829fa4fd GUI: Initial code for Update Icons dialog
- LIST downloading and parsing is done
2021-11-18 22:38:42 +01:00
sluicebox e82f6c6dcd GUI: Hide update controls when UpdateManager not set 2021-11-13 21:22:28 +01:00
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