Commit Graph
54 Commits
Author SHA1 Message Date
Eugene Sandulenko 8f02aec2ac GUI: Sync default font height with the actual
This variable was underused, and as such, its wrong value was not noticed.

Bringing it back with the default_text dimensions.

This fixes HelpDialog font size.
2023-09-26 18:35:02 +02:00
Thierry Crozat e43f0b865c GUI: THEMES: Fix error with HelpButton location undefined
The HelpButton was not added to the LauncherGrid layout nor
the vertical high-res Launcher layout (used on phones in
portrait mode). This result in an error (e.g. Unable to
load widget position for 'LauncherGrid.HelpButton'.) when
trying to start ScummVM in one of those modes.

Also bump the theme version so that it does not try to load
old themes that do not have this button either.
2023-09-18 22:18:22 +01:00
Eugene Sandulenko 3857f716e6 GUI: THEMES: Moved help button to the left side 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 7ca349c392 GUI: Initial code for backend help dialog 2023-09-17 00:56:28 +02:00
Ankush Dutt c1d1e4e411 DLC: Add dlcpath in Global Options 2023-09-14 08:22:56 +02:00
Ankush Dutt 24392d4838 DLC: Add lowres_layout.stx and generated theme files 2023-09-14 08:22:56 +02:00
Ankush Dutt 3bba45bd5c GUI: Add error label in downloaddlcsdialog 2023-09-14 08:22:56 +02:00
Ankush Dutt f976ecded4 GUI: Initial code to show DLC download progress 2023-09-14 08:22:56 +02:00
Ankush Dutt 4a73a002ca GUI: Add ListWidget for download games dialog 2023-09-14 08:22:56 +02:00
Ankush Dutt 4af698b7cd GUI: Setup new dialog for Download Games 2023-09-14 08:22:56 +02:00
Ankush Dutt ec3fe97b14 GUI: Add Download Games button in Launcher 2023-09-14 08:22:56 +02:00
Torbjörn Andersson 193efbb939 GUI: Revert volume sliders to their old width
I received a report on Discord from fracturehill that the width I had
specified for the volume sliders in the high resolution themes (where
they have to share space with the "Mute all" checkbox) was too wide. I
don't know how to fix this properly, so I'm reverting to the old width.

The rest of the recent slider changes should be safe, so they remain
unchanged. I hope someone else will be able to fix this properly,
because I don't know how.
2023-08-13 10:32:31 +02:00
elasota 7bacf7b430 GUI: Add image album dialog for viewing images exported by an engine, mainly for supporting printing features 2023-08-07 10:22:09 +02:00
Torbjörn Andersson 1b0e110df3 GUI: Eliminate "WideSlider"
We currently have two widget types for sliders: "Slider" and
"WideSlider". This eliminates the latter, making all sliders use the
available space. This arguably makes them look better, and should make
them easier to manipulate on touch devices like phones.

Did I say "all"? Not quite. In the high resolution layout, the volume
sliders share space with the "Mute all" checkbox. The layout engine does
not cope well with two side-by-side layouts of indeterminate width,
apparently, so there we set a width, cross our fingers and hope that the
checkbox will still have enough space in all translations.
2023-07-29 08:10:13 +02:00
Le Philousophe 5d0c894636 CLOUD: Add a load button to fetch JSON from a file
This can be used on handhelds where there is no browser.

The user does the login process on its desktop, saves the JSON in a file
and uploads it to its handheld through an unspecified mean and loads it
on ScummVM using this new button.
2023-07-27 09:12:59 +02:00
Eugene Sandulenko 73ea1caedf GUI: Added checkbox to disable BDF scaling. Bump theme version 2023-07-19 15:30:22 +02:00
Thierry Crozat 431e805e72 GUI: Move buttons for the Grid Launcher below the grid area
This is more consistent with the layout of the List Launcher in
portrait mode and with the lowres layout which both have the
buttons at the bottom.
2023-07-08 22:03:09 +03:00
Le Philousophe a9bf813e86 GUI: Make thumbnail smaller than its background
This avoids the thumbnail to be drawn over the rounded borders
2023-07-04 21:23:43 +02:00
Cameron Cawley 7ef8da53d7 GUI: Account for the scroll bar size in ScrollContainerWidget objects 2023-05-14 22:43:57 +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
Little Cat f66f3b4a08 GUI: Bump and regenerate themes for new dialog. 2023-04-08 00:39:38 +02: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 866b54f688 GUI: Add a portrait version of the launcher 2023-03-20 00:18:25 +01:00
Eugene Sandulenko 3f73ed941d GUI: THEMES: Switch hardcoded resolution checks for layout switching to constants
No theme version bump is required since the previous versions are compatible.
2023-03-16 14:12:25 +01:00
Eugene Sandulenko 5cc87cf81d GUI: THEMES: Remove TestbedOptions dialog from the themes
It is now being generated on the fly
2023-03-06 14:38:15 +01:00
Little Cat 91c6ddacba GUI: Online session selector for Football 2002. 2023-03-06 00:07:13 +01:00
Eugene Sandulenko 4d0f0fda52 GUI: Renamed 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 0a9d3ca616 GUI: Added text filter to the 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
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
Cameron Cawley 67a57e945d GUI: Improve support for group selection in the launcher on small screens 2022-12-25 16:26:26 +01: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 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
Lothar Serra Mari 93b46ec40d BACKENDS: OPENGL: Resolve merge conflicts 2022-10-08 23:39:18 +02:00
Le Philousophe 8e9ba83d89 GUI: Move the icons per row slider value to the right
Else it's stuck to the slider widget
2022-08-27 09:19:53 +02:00
Le Philousophe 368363ae74 GUI: Move buttons bar below launcher lower
Else widgets are erased when the launcher widget is redrawn
2022-08-27 09:19:53 +02:00
Le Philousophe b5704d6ef0 GUI: Remove useless widget 2022-08-27 09:19:53 +02:00
Lothar Serra Mari 81f4c56e36 GUI: Add option to reset icons cache for grid view 2022-07-10 14:14:59 +02:00
Thierry Crozat 5ea034391b GUI: Add slider for Grid Launcher icon size 2022-06-12 22:08:53 +01:00
Filippos Karapetis 68ee726d2b GUI: Introduce a maximum dialog width/height for the options dialogs
PR #3976 changed the game and global options dialogs so that they are
inside the ScummVM main window, instead of the game list chooser.

We now limit the option dialog width and size, so that there isn't too
much spacing in large resolutions.
2022-06-12 12:55:53 +03:00
SupSuper 7acc1cd3bc GUI: Enlarge the Options dialog 2022-06-11 13:29:00 +03:00
SupSuper 9df444abec GUI: Add ScrollContainer to in-game options Game tab
Fixes mousewheel crash and allows scrolling when there's more than 10 options
2022-06-04 08:44:45 +01:00
Eugene Sandulenko 598e1d4a6a GUI: Make grid icons smaller for 640xY resolution. Bump theme version 2022-05-29 16:39:35 +02:00
Torbjörn Andersson 5a66eb2f91 GUI: Add ShortOptionsLabel widget to the remaining themes
It was already in the Classic theme. I could have removed it, but it
looks like it's going to be useful to me.
2022-02-12 10:24:26 +01:00
Torbjörn Andersson c80adc3e8b SCUMM: Add setting for the Loom Overture tempo on the Engine tab
It's hard to make this appear only on EGA Loom, so the tooltip has to
document the fact that it's only useful there. The setting is made
relative to the default tempo, which I feel is a much more sensible way
of presenting it to the user than the raw ticks value.
2022-02-08 13:31:39 +01:00
Cameron Cawley a8579176d4 GUI: Remove kFeatureOnScreenControl and kFeatureSwapMenuAndBackButtons 2022-02-07 00:53:34 +02:00