Commit Graph

3550 Commits

Author SHA1 Message Date
Lothar Serra Mari
0f02c16283 I18N: Rebuild translations data file 2020-03-24 22:55:13 +01:00
Lothar Serra Mari
99c2e23b13 I18N: Rebuild translations.dat 2020-03-21 09:04:29 +01:00
Bastien Bouclet
9cc2fee887 SDL: Enable joystick input by default
Game controller input is now enabled whenever a compatible device is
connected. The keymapper's keymaps are refreshed when a joystick is added
or removed.

Fixes #10366.
2020-03-16 18:41:27 +01:00
Cameron Cawley
f2db412ba5 GUI: Store the shader name in the config file instead of the ID 2020-03-09 18:01:14 -05:00
Cameron Cawley
7488e17c0a GUI: Allow shaders to be selected for individual targets 2020-03-09 18:01:14 -05:00
Eugene Sandulenko
3ccf5439df DOCS: Update credits 2020-03-08 23:49:26 +01:00
Lothar Serra Mari
ccd043a096 I18N: Rebuild translations data file 2020-02-26 22:12:10 +01:00
Paul Gilbert
289c5947ce ULTIMA8: Redirect keybindings to now use Debugger 2020-02-23 09:52:20 -08:00
Bastien Bouclet
aaa71d53b2 GUI: Don't try drawing widgets with an empty bounding rectangle
Fixes the dropdown buttons being incorrectly drawn in the keymaps
dialog with the classic theme when scrolled down.
2020-02-22 13:14:04 +02: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
94344ccf8e GUI: Allow providing an explicit size for screen_center dialogs
Without an explicit size the layout system does not have enough
constraints to produce nice looking dialogs. Up until now the workaround
was to set explicit an size for some of the widget. This worked well
enough except when resizing down the window up until the widget size
constraints could no longer be enforced. At that point, produced layouts
looked too squished.
2020-02-22 13:14:04 +02:00
Lothar Serra Mari
41585cf8fd I18N: Rebuild translations.dat 2020-02-22 10:47:25 +01:00
Paul Gilbert
1687427e8e ENGINES: Mark autosave slots as write protected
If the autosave slot doesn't yet have any file in it, when the
GMM save dialog is open, the autosave slot will show a default
'Autosave' entry which is write-only, to prevent users
accidentally making a savegame in that slot
2020-02-16 15:44:28 -08:00
Thanasis Antoniou
6e7bfc5b78 GUI: Don't store an invalid browser_lastpath in updateListing() 2020-02-11 00:54:56 +02:00
Thanasis Antoniou
d6bbc67457 GUI: Fix invalid message when browser path was chosen empty 2020-02-11 00:54:12 +02:00
Thanasis Antoniou
34f9015e66 GUI: OPTIONS: Use translated string for None entry in Accessibility tab 2020-02-09 22:23:03 +02:00
Thanasis Antoniou
f971e1e4a8 GUI: OPTIONS: Cloud storage list populated with translated string on addCloudControls()
Resolves a bug with displaying the wrong (previous) translation when switch theme language

Previously, a translated string was stored in cloudmanager _storages config items, which would become stale if the theme language was changed.
2020-02-09 22:06:19 +02:00
Zvika Haramaty
f3082a5588 GUI: add optional 'alignment' parameter to 'MessageDialog' 2020-02-09 13:18:37 +02:00
Bastien Bouclet
0f1e1894c1 GUI: Add the arrow keys to the GUI keymap 2020-02-09 07:29:43 +01: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
Bastien Bouclet
f7a934b687 GUI: Use a default size for dialogs when the overlayed dialog has not been sized
Some dialogs overlay the launcher's game list. However, the launcher is
not always shown and as such is not always layed out. Laying out the
dependent dialogs would fail. This problem was indroduced with the
dynamic layout system. Previously the dialogs were layed out eagerly on
theme initialization. Which is no longer possible as dialogs now need to
be initialized to be layed out.
2020-01-30 07:34:27 +01:00
Bastien Bouclet
cc15496e9e KEYMAPPER: Use a dropdown button to save horizontal space 2020-01-29 08:51:30 +01:00
Bastien Bouclet
519b4a57e2 KEYMAPPER: Allow engines to return multiple keymaps
The idea is that keymaps may be situational. A keymap may be always
enabled, while another one may be enabled only during combat..
2020-01-29 08:51:29 +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
7617723ab5 KEYMAPPER: Allow backends to register multiple keymaps 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
511d138bbc KEYMAPPER: Move the remap dialog to an option dialog tab
The aim is to make it easy to discover, and possible to use without a
keyboard.
2020-01-26 23:09:08 +02: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
52be1c8c63 EVENTRECORDER: Register as an event observer rather than a mapper 2020-01-26 19:07:53 +01:00
Bastien Bouclet
17791e2f7d KEYMAPPER: Actions can now have default mappings 2020-01-26 19:07:53 +01:00
Bastien Bouclet
3b5016a62d KEYMAPPER: Change the remap dialog to use a scrollable container 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
ada44ca760 GUI: Remove unneeded includes 2020-01-26 19:07:53 +01:00
Bastien Bouclet
7edff01e69 KEYMAPPER: Move the remap event capture logic out of the keymapper 2020-01-26 19:07:53 +01:00
Bastien Bouclet
63142d8090 COMMON: Event observers can't eat poll notifications anymore
It did not make much sense, and was unused.
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
Eugene Sandulenko
86e4752da4 CREDITS: Add Scott Percival in a proper way 2020-01-24 22:03:04 +01:00
Cameron Cawley
c229b9235a GUI: Regenerate the theme archives
Fixes a regression from commit 8c1d277.
2020-01-23 19:44:30 +00:00
Filippos Karapetis
daed2a3a40 GUI: Fix build when dynamic plugins are enabled 2020-01-22 09:19:38 +02:00
Cameron Cawley
8c1d277a77 GUI: Use a ScrollContainer for the Misc tab
Fixes Trac #10961
2020-01-22 07:55:42 +02:00
Cameron Cawley
c0aa5b9332 GUI: Split GlobalOptionsDialog::build() into multiple functions 2020-01-22 07:55:42 +02:00
Bastien Bouclet
6e1abf064a GUI: Use nullptr instead of 0 or NULL where appropriate 2020-01-19 15:08:37 +01:00
Bastien Bouclet
c566d02992 GUI: Add override markers where appropriate 2020-01-19 15:08:37 +01:00
Bastien Bouclet
cf1c092617 GUI: Prevent layouts from giving negative dimensions to widgets
When there is not enough room to layout the widgets, dimensions are now
clipped to zero intead of going negative.
2020-01-12 12:29:37 +01:00
Bastien Bouclet
f7770f821d GUI: Don't draw the checkbox widget text when there is not enough room
Fixes a crash in the edit game dialog volume tab with the Greek
translation.
2020-01-12 12:29:37 +01:00
Bastien Bouclet
0aa3d6deb0 GUI: Ignore the padding of imported layouts
Fixes the widgets in the volume tab in the edit game dialog having
inconsistent spacing with the other tabs.
2020-01-12 12:29:37 +01:00
Paul Gilbert
a18eae1067 GUI: Fix crash opening edit game dialog for games with no music 2020-01-09 18:37:19 -08:00
D G Turner
1dc24d06fd GUI: Fix Missing Default Switch Cases in Theme Layout Class 2020-01-08 19:16:21 +00:00
Bastien Bouclet
4182c50a92 GUI: Fix the SaveLoadDialog with the lowres layouts
The thumbnail layout element is not available in the lowres layouts.
Issue introduced by c0d8b6d9fc.

Fixes #11304.
2020-01-05 08:34:24 +01:00
Bastien Bouclet
cb2bb8fac7 GUI: Add clear button for the plugins path
The other paths have one.
2020-01-04 17:48:13 +01:00
Bastien Bouclet
2de01a3553 GUI: Bump the theme format version 2020-01-04 10:59:15 +01:00
Bastien Bouclet
eb28c5a092 GUI: Use a dialog theme layout for the unknown game dialog 2020-01-04 10:56:25 +01:00
Bastien Bouclet
346d53b034 GUI: Add finer control over cross-direction alignment for layout items
Previously it was only possible to specify whether items where aligned
to the start or centered in the cross direction of the layouts. It is
now additionally possible to align the items to the far end of the cross
direction or to resize them to match the size of the layout.

Terminology and behavior are loosely based on CSS's flexbox containers.
2020-01-04 10:56:25 +01:00
Bastien Bouclet
c0d8b6d9fc GUI: Introduce dynamic layouts
Prior to this change, a GUI layout was only affected by the screen size.
Now, a layout can additionally be influenced by the GUI dialog and widgets
that uses it. This capability is leveraged to implement the following
features:

* Layout elements that are not bound to a GUI widget do not take space.
   This means that dialogs where the widgets shown depend on for example
   a feature being enabled at configure time no longer have blank spaces.
* Widgets can define a minimal required size for their contents not to be
   cut. For now this is only used for buttons so their width is always
   sufficient for their caption not to be cut. This mechanism could be
   applied to other widget types in the future.
2020-01-04 10:56:25 +01:00
Bastien Bouclet
452d22e650 GUI: Fix label drawing on top of PopUpWidget in updates dialog
Fixes #11271.
2020-01-03 19:01:14 +01:00
Bastien Bouclet
9454346782 ENGINES: Copy the data referenced by QualifiedGameDescriptor
The engineId, gameId and description come from static data in the game
engines. When the game engines are compiled as dynamic plugins, the QGD
structure may outlive the engine plugin. Making a copy ensures the data
remains available.

Fixes #11292.
2020-01-01 08:19:48 +01:00
Eugene Sandulenko
c05b911563 ALL: Bump copyright year to 2020 2020-01-01 00:01:00 +01:00
Thierry Crozat
f0bb13e598 I18N: Regenerate translations data file 2019-12-09 09:52:31 +00:00
Henrik "Henke37" Andersson
b469747f7a GUI: Don't show midi setting tabs if the game has no music at all. 2019-12-07 21:14:44 +02:00
Bastien Bouclet
d62f463935 GUI: Fix translations for the mass add button 2019-12-04 08:37:18 +01:00
Thierry Crozat
a0c15492b4 I18N: Regenerate translations data file 2019-12-02 05:05:07 +00:00
Thierry Crozat
2757722e6c I18N: Regenerate translations data file 2019-11-25 05:05:05 +00:00
Bastien Bouclet
b9da793ef3 GUI: Bump the theme format version number
The DropdownButtonWidget changes broke compatibility with older themes.
2019-11-24 16:06:17 +01:00
Bastien Bouclet
41f2ef9745 GUI: Use the item at the click position in PopUpDialog
Fixes the having the drag in the dialog to change the selection on
platforms with a touch screen.
2019-11-24 14:06:25 +01:00
Bastien Bouclet
2c812a6b7a GUI: Add DropdownButtonWidget and use it in the launcher for mass add
DropdownButtonWidget is a button split in two parts vertically. Clicking
the left part triggers a default action. Clicking the right part shows a
list of other actions the user can choose from.

Using this widget on the launcher lets 'Mass add' be a secondary action
of the 'Add' button, removing the necessity of pressing the shift key to
access the feature.
2019-11-24 14:06:25 +01:00
Thierry Crozat
3c05af358b I18N: Regenerate translations data file 2019-11-18 05:05:04 +01:00
Cameron Cawley
8b7f1a0bcb CREDITS: Mark CeRiAl as retired 2019-11-17 22:33:56 +01:00
Cameron Cawley
f2b9f7bb76 BACKENDS: Remove the Windows CE port 2019-11-17 22:33:56 +01:00
Thierry Crozat
6b51f2e4f2 I18N: Regenerate translations data file 2019-11-11 05:05:07 +01:00
Bastien Bouclet
bd3f157464 GUI: Fix memory leak in the about dialog
Also don't eagerly allocate EE as it consumes quite a bit of memory.
2019-11-10 20:05:04 +01:00
Eugene Sandulenko
4952d1c760 GUI: Fix colors in About. Now it works on Amiga 2019-11-10 00:27:25 +01:00
Thanasis Antoniou
6fde4e89f8 GUI: Fix crash on low resolutions
Related to about cls() and easter egg. Crashed on Android port on small screen devices
2019-11-08 16:58:16 +02:00
Thanasis Antoniou
30afd1feed GUI: THEMES: FONTS: helvB12 greek should be 75 dip not 100 2019-11-06 22:35:53 +02:00
Thanasis Antoniou
8b0dd72436 I18N: Regenerate translations data file (Nov 06 2019) 2019-11-06 22:13:00 +02:00
Thanasis Antoniou
2b6730e217 GUI: THEMES: Build zip themes using scummtheme.py makeall 2019-11-06 03:21:06 +02:00
Thanasis Antoniou
3061f6cf71 GUI: FONTS: Proper Greek BDF (and FCC) fonts added 2019-11-06 03:08:49 +02:00
Thierry Crozat
362373b68a I18N: Regenerate translations data file 2019-11-04 05:05:07 +01:00
Eugene Sandulenko
1370873a8a CREDITS: whoozle is not retired anymore 2019-11-03 23:57:42 +01:00
Bastien Bouclet
c142838122 BASE: Change the command line interface to use engine-qualified game names
Qualified game names have the following form: engineId:gameId.
Unqualified game names are still supported as long as they are not
ambiguous. However they are considered deprecated and are no longer
displayed by the --list-games command.
2019-11-03 11:43:00 +01:00
Bastien Bouclet
ae9f764c7a ENGINES: Automatically upgrade the targets on launch to add an engine ID 2019-11-03 11:43:00 +01:00
Bastien Bouclet
bb813719b5 ENGINES: Change targets to have an 'engine ID'
The engine ID identifies which engine should be used to launch the target.
Also remove the 'single ID' system. Different games from engines that used
that system now have different game IDs.

Also-By: Matthew Hoops <clone2727@gmail.com>
2019-11-03 11:43:00 +01:00
Bastien Bouclet
358d95e909 GUI: Fix pressing escape erroneously saving the changes in the options dialog
Pressing escape sets the dialog result to -1.
2019-10-23 20:57:47 +02:00
Bastien Bouclet
39815f50b7 GUI: Increase height of tab widget by 2px in lowres layout
The height of the tab widget was reduced by 2px in
eabb81829f. However, that change caused
the tab nav buttons to be drawn slightly outside of the tabs with the
low resolution layout.
2019-10-22 19:40:45 +02:00
Thierry Crozat
a50f35458e I18N: Regenerate translations data file 2019-10-21 05:05:01 +02:00
Bastien Bouclet
287a4a12e2 GUI: Fix crash when opening the save name dialog
The changes in 1dce33dd9f introduced a
case where the width of widgets would not be set. This commit reverts
the offending changes and introduces a different fix for the original
issue.

Only recompute the width/height of a stack if it is not explicitly set.

Fixes #11214.
2019-10-19 10:50:56 +02:00
Bastien Bouclet
1dce33dd9f GUI: Fix launcher layout for small widths
* Testing if a widget can be centered was ignoring the padding.
* Only resize a layout based on its content if it was not explicitely
   sized by its parent. Fixes the logo causing incorrect layout
   computations when the window width is lower than the image width.
2019-10-17 19:33:50 +02:00
Jaromir Wysoglad
b9d3c84db4 TTS: Fix language setting. 2019-10-16 19:30:56 +02:00
Cameron Cawley
06b038a1c1 GUI: Fix crash when clicking and dragging a tab widget 2019-10-15 20:37:28 +01:00
Eugene Sandulenko
e5caf79c6a GUI: Fix crash with attempt to switch to Greek or Hebrew
These languages have 2 charater codes, and setting third character
in the Common::String led to assert. The proper consturctor is used
instead now.
2019-10-14 21:11:52 +02:00
Eugene Sandulenko
be95a7a2dd JANITORIAL: Whitespace fixes 2019-10-14 21:11:40 +02:00
Eugene Sandulenko
0e9d3d0bc8 GUI: Fix warnings 2019-10-14 20:57:15 +02:00
Thierry Crozat
9ec7df1c14 I18N: Regenerate translations data file 2019-10-14 05:05:01 +02:00
D G Turner
f1e564c92c GUI: Add Missing Switch Default Cases in About Dialog Easter Egg
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-14 04:00:45 +01:00
D G Turner
8500883831 GUI: Fix Compiler Warnings in About Dialog Easter Egg 2019-10-14 00:14:38 +02:00
Eugene Sandulenko
aad6c6346b GUI: Added easter egg 2019-10-14 00:14:38 +02:00
Bastien Bouclet
1d764bd787 GRAPHICS: Vector renderer clipping rect related cleanups
Selecting whether a clipping variant of a draw call needs to be used is
no longer the responsibility to the caller. The clipping rect is now
part of the state of the renderer.

Also fix some of the draw calls to better apply the clipping rect.
2019-10-07 21:47:42 +02:00
Thierry Crozat
750b19dce9 I18N: Regenerate translations data file 2019-10-07 05:05:06 +02:00
D G Turner
30c366ee5d GUI: Add Missing Switch Default Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-03 06:03:46 +01:00
Thierry Crozat
4092d73f23 I18N: Regenerate translations data file 2019-09-30 05:05:02 +02:00
Thierry Crozat
857ec791c9 I18N: Regenerate translations data file 2019-09-23 05:05:04 +02:00
Cameron Cawley
014bef9eab BACKENDS: Add a default clipboard implementation 2019-09-21 22:16:01 +03:00
Thierry Crozat
4db2f8139f I18N: Regenerate translations data file 2019-09-16 05:05:05 +02:00
D G Turner
cbb5a31715 DEBUGGER: Fix MSVC Warning
This was reported by Henke37 on IRC.
2019-09-16 00:39:41 +01:00
Ben Castricum
eee786d71f GUI: Change "saves" to "saved games" in labels 2019-09-14 01:36:37 +01:00
D G Turner
019de0cc23 EVENTRECORDER: Fix GCC Compiler Warnings
These were memcpy usage to copy a non-trivial structure.
2019-09-14 00:54:10 +01:00
Eugene Sandulenko
ac3586eb9a CREDITS: Add credits for all of the engines 2019-09-13 17:04:11 +02:00
Thierry Crozat
a8fc073c7d CREDITS: Add special thanks for HDB and Supernova 2019-09-13 01:08:30 +01:00
Thierry Crozat
eeb685533d I18N: Regenerate translations data file 2019-09-09 19:40:52 +02:00
Thierry Crozat
9f5f5ad992 I18N: Regenerate translations data file 2019-09-03 20:29:02 +02:00
D G Turner
e376abf650 GUI: Fix Missing Field Initializer in List Widget
This field was introduced by the TTS code changes, but only one of
the constructors was modified to set the default value.
2019-09-02 11:42:17 +01:00
Jaromir Wysoglad
c402666635 TTS: Refactoring
Refactoring as suggested by bluegr on github.
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
c2c4458253 JANITORIAL: Remove some trailing whitespaces 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
7613bcaa5f TTS: Use QUEUE_NO_REPEAT action for tooltips 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
a81b59a3c4 TTS: Don't read tooltips when TTS is speaking 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
f89ca9ad5c TTS: Add tooltip reading when they appear. 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
59631627c8 TTS: Fix reading of list widgets
The TTS read items from list widgets even when the mouse was
outside the widget
2019-09-01 22:47:55 +03: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
4ec10ffec7 TTS: Remove "static" from initTextToSpeech() 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
324a90f4f6 TTS: Implement tts state switching when needed.
The state has to be pushed and poped when there is a transition
between game and gui code.
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
33f8aadfeb TTS: Add age to TTSVoice 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
318c6d7ec6 TTS: Finish implementing the Windows TTS manager 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
5ee30a1b73 TTS: Convert strings to UTF-8
Conversion happens only for languages, that might needed (not
for english)
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
c899f5fbc3 TTS: Add Accessibility tab to all themes 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
Jaromir Wysoglad
b5cebcbeae TTS: Add text to speech to the GUI. 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
fa6faca76a TTS: Add TTS checkbox to Options
Probably works only in the builtin theme right now.
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
39e74b027e TTS: Add part of linux TTS 2019-09-01 22:47:55 +03:00
Thierry Crozat
844fe80ee6 I18N: Regenerate translations data file 2019-08-29 20:52:56 +02:00
Thierry Crozat
62f38070a4 I18N: Regenerate translations data file 2019-08-20 21:15:10 +02:00
Cameron Cawley
ea9e33bd10 GUI: Check if fullscreen is available at runtime 2019-08-18 06:21:28 +03:00
D G Turner
d78459f8bc GUI: Fix GCC Compiler Warnings in GUI Theme Parser Code
This removes the usage of memset to clear complex structures and replaces
them with constructor methods for the structures which will be executed
when these are instantiated.
2019-08-17 05:03:04 +01:00
Thierry Crozat
bf65647589 CREDITS: Add credits for Supernova and update iOS and macOS credits 2019-08-15 22:27:57 +01:00
sluicebox
e33c80eaba CREDITS: Add myself
The big reveal
2019-08-13 18:45:08 -07:00
Thierry Crozat
4453f3c7c6 I18N: Regenerate translations data file 2019-08-13 23:16:36 +02:00
Lothar Serra Mari
87d29e034f GUI: Enable missing translation in Cloud options dialog 2019-08-09 23:18:39 +02:00
Thierry Crozat
f45014814c I18N: Regenerate translations data file 2019-08-05 11:30:45 +02:00
Alexander Tkachev
2c31e6cbe5 GUI: Fix Options' Cloud tab scrollbar issue
Calling reflowLayout() not only updates the layout (as setupCloudTab()
was already doing), but also recalculates scrollbar. The issue was that
old layout didn't need a scrollbar, but updated layout did. But,
ScrollContainer was not notified, and thus scrollbar didn't appear
(until user tried to reselect the Storage via popup).
2019-08-04 04:43:53 +07:00
D G Turner
d638c1d384 GUI: Fix GCC Compiler Warning in Cloud Tab
This comment for fall through to prevent the compiler warning about
this has to be at the point of fallthrough i.e. outside the grouping
brackets to be effective.
2019-08-03 14:27:57 +01:00
Alexander Tkachev
0a3d6d8054 GUI: Fix TabWidget's < and > buttons
These were incorrectly positioned (typos in code, missing value in one
expression).
2019-08-03 04:35:48 -04:00
Alexander Tkachev
c47b204ac3 GUI: Minor offsets fixes in Tooltip and EditTextWidget 2019-08-03 04:35:48 -04:00
Alexander Tkachev
9ba3cd594d GUI: Tune ScrollContainerWidget offsets
Well, it ain't a fix, because it's not exactly correct for any of the
themes. Yet it's the best for all of them. If I put what seems to be
correct, "modern" theme gets ruined, because it has this mystical 2px
offset in tabs/scrollcontainers.
2019-08-03 04:35:48 -04:00
Alexander Tkachev
c91bcbfb94 GUI: Fix scrollbars
- removed +1px in ListWidget, added in lordhoto's 2007 commit 68eb28a
(aka r29971 in svn) `Fix for bug #1670082 "GUI: Modern theme gfx glitch
in launcher".`, because it made clip this last line of scrollbar in all
themes, which doesn't look good. In 2007 theme was written in .ini,
which is not the case now. I don't see any glitches after removing this
"fix";

- fixed how scrollbar top and bottom scroll buttons are drawn in
ThemeEngine::drawScrollbar: there were these weird magic numbers, but in
reality extra space that buttons should occupy is hardcoded in
scrollbar.cpp (ScrollBarWidget) and is just +1px.
2019-08-03 04:35:48 -04:00
Thierry Crozat
3e13bba28f GUI: Fix translation context for Cloud and LAN tabs 2019-07-30 21:43:08 +01:00
Alexander Tkachev
cffd6d79ab GUI: Fix a label in Cloud tab 2019-07-30 14:51:41 -04:00
Alexander Tkachev
f6a17e679f CLOUD: Ask user to manually enable Storage
For more security, newly connected Storage only gets username/used space
information and is disabled until user manually presses the button.
2019-07-30 14:51:41 -04:00
Alexander Tkachev
16d97b6948 CLOUD: Minor fixes for the PR#1754
- added missing 'd' in "%d" in SavesSyncRequest;
- removed trailing ',' in enum in gui/options.h;
- fixed #endif to have // before USE_LIBCURL in gui/options.h.
2019-07-30 14:51:41 -04:00
Alexander Tkachev
f7902583bc GUI: Change 'Wi-Fi Sharing' tab name to 'LAN' 2019-07-30 14:51:41 -04:00
Alexander Tkachev
e4da63823a GUI: Add feature description into Wi-Fi Sharing tab 2019-07-30 14:51:41 -04:00
Alexander Tkachev
a9d47a163e GUI: Fix Cloud tab scrolling problem
GlobalOptionsDialog is now also a CommandSender, so it could send
command "scroll to the top" when storage is disconnected in Cloud tab
(layout updates, that's why scrolling is needed).
2019-07-30 14:51:41 -04:00
Alexander Tkachev
a1b847a1ef GUI: Make Cloud tab wizard input box cleanup value
Now input box does not remember old code you've put in it if you changed
selected storage or disconnected one.
2019-07-30 14:51:41 -04:00
Alexander Tkachev
28c93ed027 GUI: Fix Cloud tab wizard elements displaying after connecting storage
Elements were displayed until scrollbar was used, now they are hidden
right after storage is connected.
2019-07-30 14:51:41 -04:00
Alexander Tkachev
3df126853a GUI: Separate Cloud tab in two
All local webserver-related settings are now shown in a separate, "Wi-Fi
Sharing" tab (shown if built with USE_SDL_NET). Cloud tab is only shown
if actual cloud storages are built (USE_LIBCURL).
2019-07-30 14:51:41 -04:00
Alexander Tkachev
99c2418d1a GUI: Rewrite Cloud tab
- StorageWizardDialog is removed, along with bmps it was using;
- EditTextWidget now accepts custom font in constructor;
- ScrollContainer scrollbar now jumps to top when content height changes
so it's "overscrolled";
- IndexPageHandler now does not awaits for `code` GET-parameter, as
local webserver is no longer used to connect Storages;
- CloudManager and all corresponding Storages are updated to support
disconnecting and to notify about successful connection.
2019-07-30 14:51:41 -04:00
Alexander Tkachev
0ee0e2d537 CLOUD: Update GoogleDriveStorage and BoxStorage to auth via cloud.scummvm.org 2019-07-30 14:51:41 -04:00
Alexander Tkachev
8333cce498 CLOUD: Update OneDriveStorage to work via cloud.scummvm.org 2019-07-30 14:51:41 -04:00
Alexander Tkachev
d04c1dfad4 COMMON: Add getHumanReadableBytes() in util.h
This function was used in cloud-related DownloadDialog before,
and now it is also used in Options > Cloud tab.
2019-07-30 14:51:41 -04:00
Alexander Tkachev
16b6588146 CLOUD: Update Dropbox and Google Drive icons in themes 2019-07-30 14:51:41 -04:00
Alexander Tkachev
ddcfcc18b2 CLOUD: Update DropboxStorage to work via scummvm.org & StorageWizardDialog correspondingly 2019-07-30 14:51:41 -04:00
Thierry Crozat
70b507b3de I18N: Regenerate translations data file 2019-07-29 12:00:23 +02:00
Le Philousophe
662cc47372 CREDITS: Add myself and Cryomni3D engine 2019-07-27 11:34:56 +02:00
Thierry Crozat
5b3a087e97 I18N: Regenerate translations data file 2019-07-22 21:53:08 +02:00
Thierry Crozat
8ba4ace234 I18N: Regenerate translations data file 2019-07-08 19:28:00 +02:00
Thierry Crozat
7b65d4ee4f I18N: Regenerate translations data file 2019-06-24 19:41:17 +02:00
Cameron Cawley
b9e29cedfc ANDROID: Move isConnectionLimited into OSystem 2019-06-21 08:19:37 +03:00
Thierry Crozat
8df770842d I18N: Regenerate translations data file 2019-06-19 16:46:39 +02:00
Thierry Crozat
3672a80455 I18N: Regenerate translations data file 2019-06-11 11:40:03 +02:00
rsn8887
c6621773ef CREDITS: Add cpasjuste and myself to Nintendo Switch 2019-06-07 08:33:58 +02:00
Thierry Crozat
03afa7b486 I18N: Regenerate translations data file 2019-06-04 00:06:52 +02:00
Thierry Crozat
6449060d15 I18N: Regenerate translations data file 2019-05-30 11:58:46 +02:00
Thierry Crozat
549289b84a I18N: Regenerate translations data file 2019-05-22 19:49:08 +02:00
Filippos Karapetis
5c8c1ca95c Revert "CREDITS: mark Vicent Marti as retired"
This reverts commit 62cf04f502.
2019-05-12 14:20:28 +03:00
Max Horn
62cf04f502 CREDITS: mark Vicent Marti as retired
He was last active in 2009 and has long moved on to work on other things.
2019-05-12 13:57:11 +03:00
Bastien Bouclet
c5b92bcb2e GUI: Better integration for the unknown game dialog when adding games
* The list of candidates now includes unknown variants. When an unknown
variant is selected, the unknown game dialog is shown.
* On the unknown game dialog, users are given the choice to add the game
when that is possible, or to cancel.

The goal of those changes is to make the unknown game dialog less
confusing for users, especially when both known and unknown games
variants are found.
2019-05-12 11:44:51 +03:00
Max Horn
7476277c06 CREDITS: Added Max Horn to GUI credits
The GUI system was originally written completely by me, as is easily
verifiable by inspecting the commit logs of the gui subdirectory, or e.g.
specific files like gui/widget.cpp.
2019-05-09 14:36:06 -04:00
Thierry Crozat
d30c5e2419 I18N: Regenerate translations data file 2019-05-06 18:44:28 +02:00
Bastien Bouclet
a5d93d933a GUI: Use a truetype font for the debug console 2019-05-05 08:52:12 +02:00
D G Turner
ae7acf1099 GUI: Fix Compiler Warning in Unknown Game Dialog
This is a signed vs. unsigned comparison warning from GCC.
2019-05-03 00:43:03 +01:00
Cameron Cawley
0e7a8a548d GUI: Remove TTF fonts from the theme archives 2019-05-01 02:40:10 +03:00
Cameron Cawley
d7b2b1b8f9 GUI: Support adding games via Drag and Drop 2019-04-30 22:17:04 +01:00
Thierry Crozat
e4218e2e1d GUI: Do not abuse the engine name query item to provide a summary
The redirect rule on the web site expected only two query items, one
with the engine name and another one with the description. However it
was a bit lax in its regex and we could pass additional query items
as part of either the engine name or description. The unknown game
dialog was abusing it to pass a summary.

The rewrite rule for the URL on the web site has now been fixed to
avoid such abuse. And instead it also adds a summary. So the
unknown name dialog should no longer provide one.
2019-04-29 22:50:53 +01:00
Lothar Serra Mari
08a5feb1ee GUI: Add "Summary" to bug reports generated by the unknown game dialog 2019-04-29 21:10:12 +02:00
Thierry Crozat
bbf5697c9a I18N: Regenerate translations data file 2019-04-29 21:03:12 +02:00
Thierry Crozat
623bef19a5 GUI: Enable report button in unknown game dialog 2019-04-28 23:30:17 +01:00
Thierry Crozat
9dd2682eb1 I18N: Regenerate translations data file 2019-04-27 22:21:35 +02:00
Thierry Crozat
74577f9892 GUI: Update code to access the bug tracker in the unknown game dialog
The code is still disabled, but it is now in a working state and
can be tested by removing the #if 0 and changing the URL to a test
server with a redirect rule.
2019-04-27 02:42:16 +01:00
Peter Kohaut
c6a7ec814b CREDITS: Added sev to Blade Runner credits
Changed order of credits for Blade Runner to alphabetical
2019-04-18 09:24:19 +02:00
Thierry Crozat
d3af44241f I18N: Regenerate translations data file 2019-04-13 20:16:49 +02:00
Thierry Crozat
bcb5501c06 I18N: Regenerate translations data file 2019-04-13 20:16:49 +02:00
Matan Bareket
fd2ae5854e GUI: Remove transparency from Remastered theme logo
This fixes ticket #10932
2019-04-12 09:26:49 -04:00