Commit graph

93 commits

Author SHA1 Message Date
sluicebox
e3013d87ff 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:03:21 -08:00
Lothar Serra Mari
afb35d4812
GUI: Update API endpoint for validation in the Integrity Dialog 2024-08-15 09:14:38 +02:00
Cameron Cawley
0ec113629a GUI: Fix crash in edit game dialog when plugins are unloaded 2024-06-30 20:44:38 +02:00
Le Philousophe
a835803695 GUI: Make engine options not depend on detection plugin
Load back detection plugin when closing and make sure nothing needs
engine plugin anymore before.
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
Eugene Sandulenko
28cf4aae6b
GUI: Disable calls to IntegrityDialog without libcurl 2024-06-14 14:37:02 +02:00
Eugene Sandulenko
da28e46929
GUI: Do not attempt to compile IntegrityDialog when libcurl is not available 2024-06-14 14:30:51 +02:00
Eugene Sandulenko
228b19dafd
GUI: Hid integrity checker behind config option 2024-06-14 01:15:44 +02:00
Abhinav Chennubhotla
d98e371ad6
GUI: Update integrityDialog to not use pop-ups 2024-06-14 01:15:43 +02:00
Abhinav Chennubhotla
f7919980d5
GUI: Update file validation endpoint 2024-06-14 01:15:42 +02:00
Abhinav Chennubhotla
70eb3d654f
GUI: Update integrity dialog message text 2024-06-14 01:15:42 +02:00
Abhinav Chennubhotla
c8a2fc28ea
GUI: Update Checkintegrity button, endpoint
- Endpoint is a localhost url
2024-06-14 01:15:42 +02:00
Abhinav Chennubhotla
31ffefa93d
GUI: Check Integrity button now sends JSON request 2024-06-14 01:15:42 +02:00
Abhinav Chennubhotla
5e173beaad
GUI: Create 'Check Integrity' button 2024-06-14 01:15:41 +02:00
Cameron Cawley
afb383f3b1 GUI: Remove automatic scrollbars from TabWidget 2024-06-14 01:15:12 +02:00
Cameron Cawley
fd7ebd7925 GUI: Fix scrolling the game tab in the options 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
Hubert Maier
bcfacb98e8 JANITORIAL: Fix avaliable typo in editgamedialog.cpp 2024-05-18 13:52:31 +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
Le Philousophe
4591a74b82 GUI: Don't display save and extra path when it's the default one 2024-03-02 12:59:03 +01:00
Le Philousophe
ed9ded9e83 GUI: Migrate GUI to Path class 2023-12-24 13:19:25 +01: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
Cameron Cawley
2c8a7d3900 ENGINES: Remove support for GUI options in MetaEngineDetection subclasses 2022-11-16 23:58:54 +01:00
Orgad Shaneh
aba347ed9e GUI: Make character validation less ugly 2022-11-02 22:15:16 +00:00
Eugene Sandulenko
3aef14fa99 GUI: Initial code for making game options work with shader controls 2022-10-08 23:39:18 +02:00
Eugene Sandulenko
ff00d3feea GUI: Move shader controls to Graphics tab and hide behind radiobutton 2022-10-08 23:39:18 +02:00
Cameron Cawley
64c359b5cb GUI: Replace the options for selecting shaders 2022-10-08 23:39:18 +02:00
BLooperZ
b67b88e6d9 GUI: Support unicode and BiDi in editable widget 2022-08-02 22:04:54 +02:00
Die4Ever
42a27fda40 GUI: tabs with scrollbars for more pages 2022-01-23 20:28:55 +02:00
Die4Ever
4ef38a9255 GUI: tabs with scrollbars 2022-01-23 20:28:55 +02:00
Die4Ever
30a8d927a1 GUI: tabs with scrollbars 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
Eugene Sandulenko
109beb4f86 GUI: Explicitely use Common:: namespace 2021-11-12 14:46:34 +01:00
Cameron Cawley
2f99746d8d ENGINES: Allow implementing registerDefaultSettings in the MetaEngine class 2021-09-18 11:57:29 +02:00
Cameron Cawley
6edcd3c21c GUI: Fix displaying dynamic engine options widgets in the Edit Game dialog 2021-08-23 00:07:11 +03: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
Cameron Cawley
b2d41daabc GUI: Add improved scaler selection to the Options dialog 2021-06-23 21:29:53 +02:00
antoniou79
ae5277f942 GUI: Update domain name for backendOptions upon renaming Game id
Without this, the ports using backendOptions Widget could error trying to access the domain with the old name

For example, the Android port, upon editing and renaming the Game Id, would error with a message like "E/ScummVM: ConfigManager::removeKey(onscreen_control, bladerunner-final-win) called on non-existent domain". This is because in its AndroidOptionsWidget::save() method (called within OptionsDialog::apply()), there were calls to removeKey() which internally was using the stale/old _domain (domain name before the renaming)
2021-06-20 22:50:12 +03:00
lb_ii
a59108911d GUI: Use AchMan to get achievements descriptions 2021-06-10 01:56:23 +03:00
lb_ii
3ea4faeab7 GUI: Add Statistics dialog to game options 2021-06-01 02:20:53 +03:00
Thierry Crozat
982ccb12eb COMMON: Add GUIO_NOLANG GUI option to hide the lang selector 2021-04-19 23:10:12 +01:00
Cameron Cawley
76b25ec1c3 GUI: Add a checkbox to allow overriding the global backend settings 2021-03-15 16:52:52 +02:00
Thierry Crozat
67720ef658 JANITORIAL: Remove obselete references to MetaEngineConnect
At some point when splitting the MetaEngine to a detection
plugin and a static meta engine, the former was called
MetaEngine while the latter was called MetaEngineConnect.
Thus was then later change to MetaEngineDetection and
MetaEngine. But some references were left to the former
names in comments and documentation.
2021-02-14 14:32:36 +00:00
Cameron Cawley
11724f9df1 GUI: Add a tab for backend-specific options 2020-11-22 16:35:03 +00:00
Cameron Cawley
c877097b49 ALL: Remove use of "" in Common::U32String constructors 2020-11-16 16:56:58 +00:00
Torbjörn Andersson
9acdbe42af
GUI: Update "edit game" for new graphics options (#2512)
Make the new graphics options in "edit game" disabled until the user
asks to override the global settings. (Most of these were added during
the ScummVM/ResidualVM merger, I guess.)
2020-10-12 18:44:15 +02:00
Eugene Sandulenko
7ff34bc9ec PLUGINS: MetaEngineStatic -> MetaEngineDetection 2020-10-11 23:14:39 +02:00
aryanrawlani28
71a820caff ENGINES: Begin class renaming of ME & AME
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28
c48719404a BASE: PLUGINS: Rename plugin matching helpers
- give*From* -> get*From*
2020-10-03 14:56:36 +02:00