Commit Graph
62 Commits
Author SHA1 Message Date
Little Cat 2e2e2c41be SCUMM HE: GUI: Add map generator dialog and bump theme version. 2024-05-12 15:08:27 +02:00
Eugene Sandulenko 4b51ee1f98 GUI: Remplace [?] with "Help"
It looks like the users do not even pay attention or have no understanding
what does "?" mean, thus, putting it into words.

Next step is to make the button jumping with animation.
2024-04-21 22:31:07 +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
Lars Sundström 8db736f155 GUI: Add scrollbar to backend options widget
Make the backend options widget be of type ScrollContainerWidget.
This will allow backends to decide whether the options dialogue
should be scrollable or not.

Note, this changes the default padding. If not changing the padding
the scrollbar might disappear. Update the padding in each backend
instead.
2023-12-16 19:37:33 +01:00
Thierry Crozat 5d118c4849 GUI: Add inner margin in RichTextWidget 2023-12-14 16:56:48 +01:00
Thierry Crozat 7b7bf3f711 GUI: Fix layout for HelpDialog tab content
No specific layout was defined for the rich text widget. It tried
to use the layout of the tab widget, but that did not work properly.
The rich text widget was at the correct location, but did not have
the correct size. It was bigger than the parent tab widget, which
can be clearly seen when the scrollbar is visible.
2023-12-14 16:56:48 +01:00
Matthew Jimenez 70a7fef8af GUI: Fix scrollbar visibility for keymaps option tab.
This fixes #14701
2023-11-27 15:55:06 +01:00
Eugene Sandulenko dbf34b31e0 GUI: Made HelpDialog resizable, moved it to the STX and bumped the theme version 2023-11-24 02:14:28 +01:00
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