Commit Graph
1116 Commits
Author SHA1 Message Date
Eugene Sandulenko 6a753db237 FONTS: Replaced Material Icons with a bigger font
The file was renamed from "MaterialSymbolsSharp[FILL,GRAD,opsz,wght].ttf"

The upstream version taken is ace1af08508a6562ef05055a606cf44ea583ce3b
from May 17, 2024
2024-05-21 22:38:44 +02:00
Eugene Sandulenko aa3d6f3771 FONTS: Replaced OpenFontIcons.ttf with MaterialIcons-Regular.ttf
OpenFontIcons.ttf appeared to be badly broken, all SVG contain
strokes which does not render well on non-SVG rasters.
2024-05-21 21:59:46 +02:00
Little Cat 2e2e2c41be SCUMM HE: GUI: Add map generator dialog and bump theme version. 2024-05-12 15:08:27 +02:00
scemino a08689672f DISTS: Add OpenFontIcons.ttf + fonts.dat, fonts-cjk.dat regenerated 2024-05-02 22:06:25 +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
Eugene Sandulenko 5a26faa859 GUI: Regenerate default icons set 2023-12-16 21:31:44 +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
Eugene Sandulenko dd5c527ef9 GUI: Exclude fonts-cjk from theme building 2023-12-15 12:51:56 +01:00
Thierry Crozat bdd0f36fe6 GUI: Bump theme version and regenerate themes 2023-12-14 16:56:48 +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 93ee688544 GUI: Split out CJK fonts into fonts-cjk directory 2023-11-20 20:59:17 +01:00
Thierry Crozat cbf3daf4ab GUI: Fix missing Download buttons in classic theme layout
This made it impossible to switch to the Classic theme when DLC
are enabled.
2023-10-09 21:04:08 +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 4b86df2f62 GUI: Regenerated themes 2023-09-17 00:56:28 +02: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 0806d04dfd DLC: Add generated theme files 2023-09-14 08:22:56 +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 eea428cbc3 GUI: Update theme binaries 2023-08-07 10:22:09 +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
elasota 3777a3bf9a GUI: Force Unix newlines on Windows for default.inc 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 43e0e87cd0 GUI: Regenerate the built-in theme 2023-07-19 21:44:06 +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
Lothar Serra Mari 00ddb2266c I18N: Update GUI translations datafile 2023-07-01 13:58:38 +02:00
Le Philousophe 0492a0e222 GUI: Update themes
Latest changes were not applied to zip and include
2023-06-18 16:18:14 +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 7798c2af9f CLOUD: Prepare #4860 to merge
- regenerate themes .zips;
- minor cleanup.
2023-04-08 16:20:11 +02:00
Alexander Tkachov 67580ee293 GUI: Regenerate themes .zips 2023-04-08 16:20:11 +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 31b74b394b I18N: Regenerate translations.dat 2023-03-26 13:24:12 +02:00
Eugene Sandulenko 14d6362167 GUI: THEMES: Specify fonts for Arabic translation 2023-03-26 01:51:08 +01:00
Eugene Sandulenko 5571e78331 DISTS: Add Arabic fonts to fonts.dat 2023-03-26 01:48:20 +01:00
Eugene Sandulenko 48aeba9002 GUI: Regenerated theme files 2023-03-25 17:11:30 +01:00