Lothar Serra Mari
7b0ce6282f
GUI: Add GUI option for Discord RPC
2021-09-02 14:21:07 +02:00
antoniou
84323fc78e
ANDROID: Remove checkbox for Android SAF from global options
...
Themes rebuilt, and version bumped to SCUMMVM_STX0.8.50
2021-08-02 22:57:37 +03:00
Eugene Sandulenko
8d8e6765a2
GUI: Display last browse path and add button for resetting it
...
This bumps the theme version.
The primary target is Android where a user may navigate to a location
where there is no read permission which leads to them being stuck.
This option has no effect on those native browse dialogs that do not
use the "browser_lastpath" config setting. Particularly, macOS is
not affected.
2021-08-02 17:09:03 +02:00
antoniou
250206bd00
ANDROID: Add a checkbox for a revoke SAF permissions button
...
Themes were updated to version SCUMMVM_THEME_VERSION_STR "SCUMMVM_STX0.8.48"
2021-08-01 16:10:54 +03:00
Cameron Cawley
b2d41daabc
GUI: Add improved scaler selection to the Options dialog
2021-06-23 21:29:53 +02:00
Eugene Sandulenko
bba558770d
GUI: Expose base GUI scaling to GUI. This bumps theme version.
2021-04-17 19:41:09 +02:00
Eugene Sandulenko
3f1ee55268
GUI: Cleanup not needed code
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
f88a622e9a
GUI: Prerender SVG on theme loading
...
We know the resolution and we do reread everything on the resolution
change anyway. This simplifies everything: we just draw transparent
surfaces everywhere, regardless of their source format.
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
2839715a45
GUI: Remove TransparentSurface remnants aka alphabitmaps from themes
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
bd083c7fa7
GUI: Switch GUI to ManagedSurface
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
af17cb30f4
GUI: Remove duplicate methods
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
3021f34060
GUI: Add support for specified dimensions for bitmaps in theme file
...
When we are using SVG, there is no reliable way to get the proper
dimensions. The original code was relying on the dimensions of
the BMP file, and then was using those for understanding the
rendering positions e.g. for PicButtons.
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
7fe0073823
GUI: Render ManagedSurface widget with transparency
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
7937c4599c
GUI: Implemented GraphicsWidget::setGfxFromTheme()
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
4a58f08a37
GUI: Load SVGs from theme
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
bdabb88acd
GUI: Sync all themes with 'scalable' and bump theme version
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
fad56e39d1
GUI: Scale theme images
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
b29f457548
GUI: Scale theme on loading
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
a0d4162a2b
GUI: Compute base scale factor and set it for ThemeParser
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
0634a45abd
GUI: Added scummvm.ini path to the Paths tab. Bump theme version
...
Finally we could direct the users to the precise path where scummvm.ini
lives on their system. No more guessing.
2021-04-01 18:19:50 +02:00
D G Turner
0acdd23a8e
GUI: Fix GCC Shadowing Warnings in Theme Engine Header
2021-03-28 02:54:23 +01:00
Cameron Cawley
76b25ec1c3
GUI: Add a checkbox to allow overriding the global backend settings
2021-03-15 16:52:52 +02:00
Matthew Jimenez
f9f7d0eb10
GUI: Generate ExtraGuiOptions dynamically in a scrollable container ( #2783 )
...
This allows for the removal of hardcoded extra GUI options from the
theme files, and lifts restrictions related to the maximum number
of allowed ExtraGuiOptions
2021-02-20 13:17:11 +02:00
Lothar Serra Mari
4ee02f869c
GUI: Add GUI option to always return to the Launcher instead of quitting
...
ScummVM
2020-12-02 22:39:22 +00:00
Cameron Cawley
11724f9df1
GUI: Add a tab for backend-specific options
2020-11-22 16:35:03 +00:00
athrxx
e7476495ab
GUI: prevent unloading of extra font on refresh
...
When hitting pause in a CJK SCUMM game and then switching to fullscreen the call to ThemeEngine::refresh() would kill the required extra font.
2020-10-31 20:47:02 +01:00
Thierry Crozat
7a1b3983a2
GUI: Remove unused functions in ThemeEngine
...
They were leftovers from the transition to U32String.
2020-10-30 22:54:09 +00:00
athrxx
5b6ffeaa3d
GUI: allow ingame CJK dialogs regardless of the launcher language
...
This allows a text widget to be expressly marked as Japanese, Korean or Chinese, so that the theme engine may use an appropriate font.
2020-10-30 21:36:23 +01:00
Cameron Cawley
81f989be63
GUI: Use RGB cursors on supported platforms
2020-09-17 22:21:23 +02:00
Eugene Sandulenko
65e38680dd
GUI: Added XML theme setting for overriding the fonts depending on the selected language.
...
- Added Japanese, Korean and Traditional Chinese fonts to fonts.dat
- Bumped fonts.dat file version to 1.4
- Bumped theme version to 0.8.39
- Regenerated built-in theme
2020-09-17 02:00:33 +02:00
aryanrawlani28
a1a4e0c2d7
GUI: U32: Overload getStringWidth to accept U32 strings as params
2020-08-30 14:43:41 +02:00
aryanrawlani28
aafade4507
GUI: U32: Shift most widgets to draw with u32
...
- ButtonWidgets (Button, Radio, Checkbox, dropdown)
- StaticTextWidgets
- PopUpWidgets
- Tabs
- Add a temporary overloaded drawDDText function to make other widgets draw normally
2020-08-30 14:43:41 +02:00
aryanrawlani28
51d95f8978
GRAPHICS: move start + end to Graphics::TextAlign
2020-06-22 00:03:02 +02:00
BLooperZ
e6e32aeb75
GUI: use start + end for horizontal align
2020-06-22 00:03:02 +02:00
aryanrawlani28
1ae2de366b
GUI: RTL: Improve tab drawing for rtl
2020-06-22 00:03:02 +02:00
aryanrawlani28
312862b541
GUI: RTL: Correctly draw backgrounds of Tabs
2020-06-22 00:03:02 +02:00
aryanrawlani28
d9fc7c5cba
GUI: Bump theme versions to support RTL features
2020-06-22 00:03:02 +02:00
aryanrawlani28
4699880c99
GUI: RTL: Support internal flipping of Sliders
2020-06-22 00:03:02 +02:00
aryanrawlani28
50aa421bf3
GUI: RTL: Fix display issues with some widgets
...
- Fix missing DD for disabled dropdownbutton
- Fix scrollbar drawing issue
- Fix eating last chars in popup
- Fix tooltip alignment
2020-06-22 00:03:02 +02:00
aryanrawlani28
f55654f1bc
GUI: RTL: Popup RTL Layout and Correctly draw them
...
GUI: RTL: Correctly draw popups
2020-06-22 00:03:02 +02:00
aryanrawlani28
143b9fb13c
GUI: RTL: Radiobuttons and Checkboxes RTL layout
2020-06-22 00:03:02 +02:00
aryanrawlani28
a587624cb3
GUI: RTL: Internal flipping for DropDownButton
2020-06-22 00:03:02 +02:00
aryanrawlani28
d6a340d3b4
GUI: Cleanup hacky function for internal flip and fix review issues
2020-06-22 00:03:02 +02:00
aryanrawlani28
b8f51ce33a
GUI: RTL: Base support for radiobuttons and checkboxes
2020-06-22 00:03:02 +02:00
Thierry Crozat
4a3697a21c
GUI: Bump theme version
...
There have been some changes to the theme (adding achievements tab
and renaming some widgets) without updating the version. This made
it possible for ScummVM to use an older theme file and crash.
2020-05-17 21:10:26 +01:00
lolbot-iichan
73f1da2773
GUI: View checked inactive checkbox as grey, not invisible
2020-04-29 10:31:36 +02:00
Bastien Bouclet
bcfb7145fa
GUI: Allow engines to define a fully custom tab in the edit game dialog
...
By implementing MetaEngine::buildEngineOptionsWidget, engines can
instantiate a container widget that will be shown in the Engine tab of
the edit game dialog. The default implementation retains the existing
behavior and shows the extra GUI options.
2020-03-28 07:38:39 +01:00
Cameron Cawley
7488e17c0a
GUI: Allow shaders to be selected for individual targets
2020-03-09 18:01:14 -05:00
Bastien Bouclet
9475192e81
ENGINES: Add a keymaps tab in the in-game options dialog
2020-02-22 13:14:04 +02:00
Bastien Bouclet
a56383e699
TESTBED: Use a dedicated dialog layout for the configuration dialog
...
The testbed configuration dialog was previously re-using the browser
dialog. That dialog is defined to overlay the game list from the launcher
screen. However, while in the testbed engine the dimensions of
the layout of the launcher dialog may have been lost, causing the
configuration dialog to fail to layout.
2020-01-30 07:34:27 +01:00