772 Commits

Author SHA1 Message Date
Eugene Sandulenko 4548d3a2ba GUI: I18N: Normalize GUI option capitalization 2026-05-04 12:15:35 +02:00
Cameron Cawley b93419019d ENGINES: Change SaveStateDescriptor description to use Common::String 2026-04-08 15:16:28 +03:00
Christian Kündig 906164eaa0 GUI: Disable shader update button on Emscripten 2025-11-15 14:23:52 +02:00
Le Philousophe b9f8c358d5 COMMON: Migrate MIDI, game options and render modes to 2 bytes GUIO 2025-09-23 20:38:18 +02:00
Le Philousophe 57df0a6049 BACKENDS: Untangle networking USE flags
A new USE_HTTP define is created to indicate that an HTTP backend is
available (using either libcurl or emscripten platform).
USE_CLOUD now only builds cloud providers storage support, while
USE_SDL_NET determines if a local web server is built.
USE_LIBCURL is now only used when the feature really depends on libcurl
(that is lobby support for Scumm HE).
2025-08-13 18:38:54 +02:00
Christian Kündig a7b33fbd9b CLOUD: Remove unneeded checks for USE_LIBCURL
USE_CLOUD is only set if libcurl (or another potential future http client) is enabled.
2025-08-13 18:38:54 +02:00
Walter Agazzi cdcca72538 GUI: Fix char counting in achievements containing non-ASCII chars 2025-07-22 23:19:19 +02:00
Le Philousophe 3f7d37b03f COMMON: Make rotation mode fit other settings semantics
This also avoids configuration lookups at every frame update.
2025-06-15 13:22:31 +02:00
Christian Kündig 9fb0538cb3 CLOUD: Avoid overloading runModal 2025-05-18 10:02:41 +03:00
Christian Kündig f44a548d3f CLOUD: Remember selected storage and pass it on to kCloudConnectionWizardOpenUrlStorageCmd in setup wizard 2025-05-18 10:02:41 +03:00
Christian Kündig a14d7dbd88 CLOUD: Cleanup unused kOpenUrlStorageCmd 2025-05-18 10:02:41 +03:00
Filippos Karapetis e157b7044e GUI: Use C++ 11 range-based for loops 2025-03-27 13:47:57 +08:00
sluicebox c67e41688c GUI: Fix Rotation mode option
- Changing rotation back to "<default>" had no effect
- Unchecking "Override" checkbox did not change rotation
- "Override" checkbox initialization was not affected by rotation
2024-12-05 15:01:22 -08:00
Eugene Sandulenko d77634d7fd JANITORIAL: Whitespace fix to kick Weblate 2024-11-08 02:08:25 +01:00
Vladimir Serbinenko 488353480f SDL, COMMON: Support screen rotation 2024-09-29 02:10:39 +03:00
Tarek Soliman abd00eeefe GUI: Fix saving Global Options when cloud is disabled 2024-08-29 18:55:39 -05:00
Tarek Soliman 9428447537 GUI: Fix opening Global Options when cloud is disabled
Regression caused by 0beb356156
2024-08-09 02:34:04 -05:00
scummvmuser 43f88c7d01 GUI: rebuild if _aspectCheckbox is expected
Fixes or works around https://bugs.scummvm.org/ticket/15243 . This may
not be appropriate, but it avoids a segfault (nil _aspectCheckbox) for
me when I've specified `--disable-aspect` and switch from SDL to
OpenGL, anyway.
2024-07-04 19:12:41 +03:00
Le Philousophe d01827b509 GUI: Make auto saves update check work with PluginManagerUncached
This also unloads detection before loading the engines.
2024-06-30 18:39:06 +02:00
Le Philousophe c93f53b491 PLUGINS: Rename getEngineFromMetaEngine to getEngineFromDetectionPlugin
Update comments and variable names accordingly.
This now matches what this function really do.
2024-06-30 18:39:06 +02:00
Le Philousophe 2645b1431c PLUGINS: Rename findPlugin to findDetectionPlugin
This function does return a MetaEngineDetection plugin
2024-06-30 18:39:06 +02:00
Eugene Sandulenko 0beb356156 GUI: Solve accumulated mess with the cloud defines
We were disabling way too much things when the cloud was disabled,
e.g. icon packs are now available when cloud is disabled.

Also, now we enable local server when SDL_Net is present, even if the
cloud is disabled.
2024-06-14 15:21:34 +02:00
Cameron Cawley afb383f3b1 GUI: Remove automatic scrollbars from TabWidget 2024-06-14 01:15:12 +02:00
Cameron Cawley 35077b3e95 GUI: Use a separate scroll container for the paths tab 2024-06-14 01:15:12 +02:00
Cameron Cawley 65e843c5da GUI: Separate the scroll container from the remap widget 2024-06-14 01:15:12 +02:00
athrxx d7e8a54756 AUDIO/GUI: add Mac sound option 2024-05-30 20:10:51 +02:00
Matthew Jimenez 5219c99400 GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
Lars Sundström 3c36c1fbc3 GUI: Put backend options tab elements into a ScrollContainer
The backend options tab is for backend specific options. The backends
supporting it implements the function buildBackendOptionsWidget which
defines the options elements and layout.

The backend options tab layout may differ depending on the current
domain. The options in the "Global options" tab applies to all games
while the options in the "Game options" tab only applies to a specific
game. The options in the "Global config" options tab can be set during
game play. Some options, e.g. graphics cannot be changed while running
the game while backend options can.

The first version of the backend options tab was a non-scrollable
container. The "Game options" tab includes an "Override Global options
checkbox" which, when checked, enables the options defined by the
backend.

The number of iOS7 backend options increased rapidly which caused some
options to fall outside the tab container on screens with limited
space in height. An attempt to fix that was made by the same creator
of this commit in the commit: 8db736f155

The attempt was not perfect in any way, else this commit wouldn't
exist... The "Override Global options checkbox" on the "Game options"
tab became misplaced. It also required the backend to add padding
to GUI elements it shouldn't know of.

To fix this properly put the backend options tab in a single Scroll-
Container. This way the "Override Global options checkbox" can be
properly placed related to the backend options widgets. All backend
options can also be accessed in every backend options tab layout,
Global options, Game options and Global config thanks to the scrollbar
automatically provided by the ScrollContainer.

Update all themes with the new layout.
2024-03-11 01:03:37 +01:00
Eugene Sandulenko 6db11ef605 GUI: Allow manual setting of custom GUI scale values
We keep this value and do not override it
2024-01-20 20:56:53 +01:00
Eugene Sandulenko c1aca01197 GUI: Add percentage values to the gui scale values 2024-01-20 20:34:45 +01:00
Eugene Sandulenko 10a7b42587 GUI: Added more GUI scale values
Should we add a slider perhaps?
2024-01-20 20:15:59 +01:00
elasota 6a1909a162 GUI: Fix garbled browser last path on Windows 2024-01-08 17:18:40 +02:00
Cameron Cawley 5b1b14ad80 COMMON: Mark more symbols as const 2023-12-26 20:23:59 +01:00
Le Philousophe ed9ded9e83 GUI: Migrate GUI to Path class 2023-12-24 13:19:25 +01:00
Le Philousophe 2f34975164 COMMON: Make shaders API use the Path class 2023-12-24 13:19:25 +01:00
Le Philousophe 01ebece807 COMMON: Make getDefaultConfigFileName return a Path instead of a String 2023-12-24 13:19:25 +01:00
Le Philousophe d9a8131ba2 COMMON: Make getDefaultLogFileName return a Path instead of a String 2023-12-24 13:19:25 +01:00
Thierry Crozat 0577893055 GUI: Indicate when a default soundfont is used in options 2023-12-03 16:17:32 +00:00
Eugene Sandulenko ab2b2b2396 GUI: CLarified captions for downloading shaders and icons
THe users get confused as they think it is some kind of a refresh.

Use "Download Icons" instead of "Update Icons". Same for the shaders.
2023-11-11 00:00:18 +01:00
Le Philousophe 0043d344a9 BACKENDS: Avoid passing arguments by value in cloud and networking
Use references everywhere it's possible.
Use override keyword to raise errors when there are discrepancies.
2023-10-29 01:51:38 +02:00
Thierry Crozat 8f9cdff4a7 GUI: Add function in GuiManager to query if low-res GUI should be used
The same condition was scattered around in the code to switch between
normal labels and images and their lowres counterparts. Factorizing
that condition in a function will allow changing it easily.
2023-10-09 21:04:08 +01:00
Thierry Crozat aa7572ef1e GUI: Fix testing width for lowres labels on HiDPI screens 2023-10-09 21:04:08 +01:00
AndywinXp 74769d00ff GUI: Fix crash when no shader was set 2023-10-04 23:39:35 +02:00
Eugene Sandulenko 272f884419 GUI: Fix crash in shader controls 2023-09-20 09:49:09 +02:00
Eugene Sandulenko 4875573f66 GUI: Disable shader controls instead of hiding them. Prvides better UX 2023-09-17 20:38:37 +02:00
Ankush Dutt c1d1e4e411 DLC: Add dlcpath in Global Options 2023-09-14 08:22:56 +02:00
Cameron Cawley 9c86add634 ENGINES: Remove MetaEngineDetection::parseAndCustomizeGuiOptions() 2023-08-28 22:59:50 +02:00
elasota 8bb2afd217 AUDIO: Change default GM device to "auto" 2023-08-28 22:06:19 +02:00
Eugene Sandulenko d9dbed2d3c GUI: Better wording for the fixed size font checkbox tooltip 2023-07-19 21:34:33 +02:00
Eugene Sandulenko 73ea1caedf GUI: Added checkbox to disable BDF scaling. Bump theme version 2023-07-19 15:30:22 +02:00