Cameron Cawley
da960cd939
GUI: Add EE to the GUI keymap
2021-04-18 15:28:51 +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
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs
2021-04-15 21:20:36 +02:00
Orgad Shaneh
fd225f2250
GUI: Fix GCC warning
...
Signed/unsigned comparison.
2021-04-11 23:15:34 +03:00
Eugene Sandulenko
fad56e39d1
GUI: Scale theme images
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
013ce7760a
GUI: Query backend on HiDPI and use finer theme rendering
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
08f927b7ab
GUI: Lock ThemeLayout to the computed base dimensions
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
0f925f3d87
GUI: Dropped g_gui.getWidth() and getHeight()
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
sluicebox
93eeffc84d
JANITORIAL: Update old bug tracker numbers
2021-03-03 02:15:05 +02:00
Le Philousophe
577322f3fe
GUI: Don't leak theme and TextDrawData when loading fails
2021-02-17 12:57:23 +00:00
Cameron Cawley
f50b472840
DS: Load the selected theme on startup
2021-02-04 01:59:14 +01:00
Thierry Crozat
6eb68493aa
GUI: Do not block return to the launcher when a dialog is shown
...
When accessing a GUI dialog from a game, such as to save or load
a game, we are still able to quit if the force RTL option is not
enabled. But when that option is enabled, it only returned to
the launcher after closing the dialog, which is strange and a
discrepency with the quit behaviour. This commit implements the
same behaviour for RTL as we have for Quit.
2021-01-21 00:12:33 +00:00
Thierry Crozat
32bbf489e9
GUI: Add exitLoop() method to GuiManager
...
The idea is to allow backends to start a game even after the
LauncherDialog has been created, and for that they need a way
to close the existing GUI dialogs.
2020-09-13 00:21:34 +01:00
aryanrawlani28
12a4af77bd
GUI: Code cleanup
2020-06-22 00:03:02 +02:00
aryanrawlani28
54279790b7
GUI: RTL: Enable RTL by default for Hebrew
2020-06-22 00:03:02 +02:00
aryanrawlani28
0f40989633
GUI: Code cleanup, add comments about RTL
2020-06-22 00:03:02 +02:00
aryanrawlani28
5e0d5b8322
GUI: RTL: Disable RTL by default
2020-06-22 00:03:02 +02:00
aryanrawlani28
a832e7f423
GUI: RTL: Allow switching from one layout to other after selecting languages
...
GUI: RTL: Add option for forced RTL from ConfMan
2020-06-22 00:03:02 +02:00
aryanrawlani28
ab4ac760fb
GUI: RTL: Disable usage of RTL layout by default
2020-06-22 00:03:02 +02:00
aryanrawlani28
d968665110
GUI: Code cleanup and small issue fixes
2020-06-22 00:03:02 +02:00
aryanrawlani28
a7fe8ad7d8
GUI: Rename some variable and fix review issues
2020-06-22 00:03:02 +02:00
aryanrawlani28
e5fc39bb98
GUI: RTL: Support stacked dialogs and fix mouse events for them
...
GUI: RTL: Add helpers for overlay dialogs
2020-06-22 00:03:02 +02:00
aryanrawlani28
5be57e5394
JANITORIAL: Replace my todos with "GUI TODO:"
2020-06-22 00:03:02 +02:00
aryanrawlani28
5db49a6d1e
GUI: RTL: Test for strict RTL GUI
2020-06-22 00:03:02 +02:00
Thierry Crozat
a362d58821
GUI: Allow selecting the default TTS voice in the Options
2020-06-21 16:31:15 +01:00
Bastien Bouclet
0f1e1894c1
GUI: Add the arrow keys to the GUI keymap
2020-02-09 07:29:43 +01:00
Bastien Bouclet
426867f4bc
KEYMAPPER: Give human readable descriptions to the keymaps
2020-01-29 08:51:29 +01:00
Bastien Bouclet
32174c9067
KEYMAPPER: Actions can now be bound to joystick buttons
2020-01-29 08:51:29 +01:00
Bastien Bouclet
14663c4790
KEYMAPPER: Make the keymapper mandatory
2020-01-29 08:51:29 +01:00
Bastien Bouclet
54f57568bc
GUI: Expose the keymap builder function
2020-01-26 23:09:08 +02:00
Bastien Bouclet
19de568e24
KEYMAPPER: Untangle the dependencies between Action and Keymap
2020-01-26 23:09:08 +02:00
Bastien Bouclet
17791e2f7d
KEYMAPPER: Actions can now have default mappings
2020-01-26 19:07:53 +01:00
Bastien Bouclet
9c0bc2b633
KEYMAPPER: Simplify the way keymaps are enabled and disabled
2020-01-26 19:07:53 +01:00
Bastien Bouclet
ac44469558
KEYMAPPER: Remove the domain class
2020-01-26 19:07:53 +01:00
Bastien Bouclet
e197a75829
KEYMAPPER: Action can generate only a single event
2020-01-26 19:07:53 +01:00
Bastien Bouclet
b7a816f1eb
KEYMAPPER: Clean up the classes dependencies
2020-01-26 19:07:53 +01:00
Bastien Bouclet
6e1abf064a
GUI: Use nullptr instead of 0 or NULL where appropriate
2020-01-19 15:08:37 +01:00
Jaromir Wysoglad
b9d3c84db4
TTS: Fix language setting.
2019-10-16 19:30:56 +02:00
Eugene Sandulenko
aad6c6346b
GUI: Added easter egg
2019-10-14 00:14:38 +02:00
Jaromir Wysoglad
58065ceacd
TTS: Refactoring
...
* Delete multiple empty rows
* Make getVolume non-virtual and leave just the implementation
in base class
* Resolve warning about signed / unsigned comparison in
gui-manager
* Clear availableVoices when updating voices on linux
* By default set language to transMan language on windows
(if the transMan is available)
* Remove freeVoices method from Windows ttsMan, it isn't needed
anymore
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
3027acc12e
TTS: Minor refactorisations
...
- Add comment to tts initialization on Windows
- Correctly free the voicesInfo in linux ttsMan
- Remove popState method from linux-text-to-speech.h and
windows-text-to-speech.h
- Add tts to help in configure
- Refactor language setting in gui-manager.cpp
It counted with english being the default language in
ttsMan constructors, which isn't true anymore.
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
4d95720731
TTS: Fix voice setting on startup
...
The ScummVM was crashing because of an assert, when there was less
voices availaible, than what was set in the ConfMan.
Now the voice just falls back to 0th voice, if there are not
enough voices.
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
ce64528129
TTS: Make sure that TTS lang matches transMan lang
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
8357e8e6bf
TTS: Prepare for windows TTS
...
Add windows configuration in configure
Add basic skeleton to backends
Check if ttsMan is initialized in GUI
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
53e0f21adc
TTS: Reformat tts volume setting for GUI
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
5e44796d6b
TTS: Add correct language switching
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
7d72fc0d60
TTS: Restrict TTS on linux to only english
...
Unfortunatedly the encoding used by ScummVM breaks the
speech-dispatcher, so after trying to say non-ascii character
the connection has to be restarted. So for now I am restricting
the GUI TTS to english only.
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
8bd7e39265
TTS: Add voice selection to options
2019-09-01 22:47:55 +03:00