Commit graph

722 commits

Author SHA1 Message Date
antoniou79
68c293a004 GUI: Ommit aspect ratio checkbox if this feature is missing
Also fix compilation when building for --disable-aspect (buggy end bracket in backends/graphics/surfacesdl/surfacesdl-graphics.cpp)
2023-06-17 20:21:29 +02:00
Miro Kropacek
6e4d7798f9 GUI: Remove redundant redraw calls
When calling any of:

- Widget::setEnabled
- EditTextWidget::setEditString
- EditableWidget::setEditString
- StaticTextWidget::setLabel

there is no need to call neither GuiManager::scheduleTopDialogRedraw nor
Widget::markAsDirty afterwards -- they set up the call by themselves.

Also, refactor a couple of code blocks into calling just
GuiManager::redrawFull as it does the same thing.
2023-05-10 22:52:48 +02:00
elasota
eab1a92a6d GUI: Fix signed/unsigned mismatches 2023-04-09 12:50:01 +02:00
Alexander Tkachov
f3149a9b5d CLOUD: Add new connection wizard
- remove Options widgets of the old wizard;
- add CloudConnectionWizard dialog;
- remove old widgets and add new ones in the layouts;
- update local webserver to allow passing a callback that needs to be called if storage was connected via /connect_cloud.
2023-04-08 16:20:11 +02:00
D G Turner
0cfc163515 GUI: Fix Signed vs. Unsigned Comparison GCC Compiler Warning 2023-03-28 23:27:10 +01:00
Eugene Sandulenko
8952ceaa2f
GUI: Process empty log path and gracefully process unreadable paths 2023-03-27 00:24:46 +02:00
Eugene Sandulenko
1737d9bd9d
I18N: Fix I18N comment placement 2023-03-25 20:54:17 +01:00
Eugene Sandulenko
07a52898ed
GUI: Reflect command line override for the log path 2023-03-25 19:44:15 +01:00
Eugene Sandulenko
cf578e832b
GUI: Expose Debug Level int the GUI (Misc tab), bump theme version 2023-03-25 17:11:21 +01:00
Eugene Sandulenko
42c68234bb
GUI: Display scummvm.log path and add viewer 2023-03-25 17:11:21 +01:00
Cameron Cawley
079713e7a8 GUI: Simplify palette code 2023-02-08 00:09:39 +01:00
Cameron Cawley
c165cfb6e9 GUI: Don't create a popup for anti-aliasing levels if they're not supported 2023-02-05 23:16:06 +01:00
Cameron Cawley
5f7f242239 GUI: Don't create a popup for 3D renderers if they're not supported 2023-02-05 23:16:06 +01:00
Cameron Cawley
ce4bbb2233 GUI: Don't create popups for scalers if they're not supported 2023-02-05 23:16:06 +01:00
Cameron Cawley
5f06b599c8 GUI: Don't create a popup for the stretch mode if it's not supported 2023-02-05 23:16:06 +01:00
Cameron Cawley
6903fb4be1 COMMON: Simplify API for getHumanReadableBytes() 2023-02-05 23:08:21 +01:00
Walter Agazzi
dcf27268f4 GUI: Also fix achievements strings for lowres 2023-01-22 15:46:30 +01:00
Walter Agazzi
e457a45027 GUI: Show complete strings in Achievements tab 2023-01-22 15:46:30 +01:00
Cameron Cawley
138a983d80 COMMON: Refactor VSync handling to match the other options 2023-01-16 18:09:53 +01:00
Eugene Sandulenko
fcb2182266
GUI: Move the icon-related code from the DownloadPacksDialog to the options 2023-01-08 14:10:27 +01:00
Eugene Sandulenko
965f0f370f
GUI: Implemented shader packs downloading 2023-01-08 01:15:53 +01:00
Eugene Sandulenko
31afcec77c
GUI: Generalize DownloadPacksDialog 2023-01-08 01:15:53 +01:00
Eugene Sandulenko
4d0f0fda52
GUI: Renamed DownloadIconsDialog -> DownloadPacksDialog 2023-01-08 01:15:53 +01:00
Eugene Sandulenko
ee33e99357
GUI: Rename downloadiconsdialog.* -> downloadpacksdialog.* 2023-01-08 01:15:53 +01:00
Eugene Sandulenko
5de84d8724
GUI: Added button for updating shaders 2023-01-08 01:15:53 +01:00
Eugene Sandulenko
8f469af5dc
GUI: Added alternate file picker to ShaderBrowser 2023-01-08 01:15:52 +01:00
Eugene Sandulenko
ad8ffd0035
GUI: Initial code for Shader Browser. Zip selection works 2023-01-08 01:15:52 +01:00
D G Turner
8e7ef23177 GUI: Fix Signed vs. Unsigned Comparison GCC Compiler Warning 2023-01-02 18:47:53 +00:00
Eugene Sandulenko
e4686897d4
GUI: Added setting for global RNG seed in the Misc tab 2023-01-02 16:12:44 +01:00
Eugene Sandulenko
3a577c3856
GUI: Split out GUI-related settings into a separate tab
Also, bump the theme version and add widgets for the random seed.
2023-01-02 15:09:37 +01:00
Walter Agazzi
ab248d8d91 GUI: Change wording of "return to launcher" checkbox 2022-12-20 11:29:11 +01:00
elasota
cebe367bab JANITORIAL: Change 0xffffffffu to uint32(-1) instead. 2022-12-04 00:08:48 +01:00
elasota
cc11b531e3 JANITORIAL: Clean up all non-engine Visual Studio warnings. 2022-12-04 00:08:48 +01:00
Eugene Sandulenko
8f8d522913
COMMON: Move achievements.* to engines/ 2022-12-02 00:12:22 +01:00
Torbjörn Andersson
eb51135a6f GUI: Only show render mode options explicitly supported by the game
The render mode options are confusing, since they're just silently
ignored by games that don't support them. This way, games have to
explicitly declare which render options they support.
2022-11-07 00:27:34 +02:00
athrxx
a84336c583 COMMON: more flexible gui options handling
This allows the meta engines to post process the gui options,
before they get to be used in the GUI. This allows adding or
removing options on a larger scale without having to modify
each detection entry individually. In this case, it is meant to be
used in the SCUMM engine, to allow adding render mode
gui options wothout modifying the tables.
2022-11-07 00:27:34 +02:00
Eugene Sandulenko
9522773ca8
GUI: Do not run shader test when shader is cleared 2022-10-30 23:07:35 +01:00
macca8
572b3a5f4a
ENGINES: Properly identify the autosave file
Restructure isAutosave() function:
- Prioritize name test
- Access saveType test only if name test fails
Performs both tests when required, resolving false positives unique to each test, and ensures that only saves which fail both tests appear in autosave warning dialogs.

Properly fixes [https://bugs.scummvm.org/ticket/12363 #12363], refer [https://bugs.scummvm.org/ticket/13842 #13842]
2022-10-25 02:37:01 +03:00
Eugene Sandulenko
dedeb489f2
GUI: And even more properly fix the shader override 2022-10-23 15:43:22 +02:00
Eugene Sandulenko
7b3c68480a
GUI: Properly remove shader settings when GUI override is unchecked 2022-10-23 15:31:56 +02:00
Eugene Sandulenko
026479d30a
GUI: Allow game gfx override to specify no shader. 2022-10-22 18:16:30 +02:00
Eugene Sandulenko
118d310b51
GUI: Fix Shader controls for Game Options 2022-10-22 18:16:30 +02:00
Eugene Sandulenko
3d115750b3
GUI: Fix type 2022-10-10 13:29:23 +02:00
Eugene Sandulenko
8a75067db5
GUI: Fix behaviour when switching OpenGL -> SDL Surface 2022-10-10 00:15:00 +02:00
Eugene Sandulenko
17841ca8a2
GUI: Fix crash on switch SDL Surface -> OpenGL 2022-10-10 00:15:00 +02:00
Eugene Sandulenko
8c8b06e908 GRAPHICS: Move PM5544 test pattern drawing to a separate file 2022-10-08 23:39:18 +02:00
Eugene Sandulenko
3e7ec681d1 GUI: Do not show empty hole in Graphics tab when Filtering is not supported by the backend 2022-10-08 23:39:18 +02:00
Eugene Sandulenko
4237575f65 GUI: Fix crash when shaders are not supported 2022-10-08 23:39:18 +02:00
Eugene Sandulenko
57cd169a17 GUI: Allow both scalers and shaders to be enabled at the same time 2022-10-08 23:39:18 +02:00
Eugene Sandulenko
80f79f253d GUI: Make shaders/scalers work mutually exclusive 2022-10-08 23:39:18 +02:00