Commit Graph
4703 Commits
Author SHA1 Message Date
aryanrawlani28 e4352391c2 GUI: RTL: Fix popup open location 2020-06-22 00:03:02 +02:00
aryanrawlani28 bf26fbcd25 GUI: RTL: Make tooltip messages rtl friendly 2020-06-22 00:03:02 +02:00
aryanrawlani28 f8ee449227 GUI: RTL: Right align main list text 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 abd24fb1cb GUI: RTL: Base support for Sliders 2020-06-22 00:03:02 +02:00
aryanrawlani28 8966d9dfd9 GUI: RTL: Correctly draw dialogs 2020-06-22 00:03:02 +02:00
aryanrawlani28 9593b3b3fe GUI: RTL: Fix tooltip rendering 2020-06-22 00:03:02 +02:00
aryanrawlani28 1bd2701597 GUI: RTL: Fix caret position 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
aryanrawlani28 08f5efd23e GUI: RTL: Add rtl flag and helper function to widget 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
Cameron Cawley 6f1b1c8525 GUI: Fix compilation when the event recorder is enabled 2020-06-15 16:59:56 +01:00
Cameron Cawley 00e3c03755 ALL: Remove unnecessary graphics/colormasks.h includes 2020-06-15 16:59:34 +01:00
djsrv 26d50d67f3 GUI: Ignore file extension case
The file browser was appending an extra extension if the case didn't
match.
2020-06-12 13:39:47 -04:00
Cameron Cawley cc5abf5ebb TTS: Fix crash when TextToSpeechManager is unavailable, clean up formatting 2020-05-27 12:43:49 +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
Lothar Serra Mari 89d74b4784 GUI: Improve error message regarding errors while loading widget positions
Thank you for the suggestion, @trembyle!
2020-05-17 21:53:28 +02:00
mataniko 1b9fc31e2d JANITORIAL: Last remaining RTL references 2020-05-12 10:36:38 +02:00
mataniko cc7b06d47a JANITORIAL: Update RTL references in themes and menus 2020-05-12 10:36:38 +02:00
mataniko 06242a712b JANITORIAL: Rename EVENT_RTL
Now that ScummVM is adding RTL support, the EVENT_RTL should be disambigious that it is for returning to launcher
2020-05-12 10:36:38 +02:00
Pawel Kolodziejski 88cefe47c0 ALL: Small sync with ScummVM 2020-05-11 21:56:33 +02:00
Eugene Sandulenko 7a152e9af4 JANITORIAL: #include "engine.h" -> "engines/engine.h" 2020-05-10 23:45:43 +02:00
Henrik "Henke37" Andersson c5bdd7a1f2 GUI: Use PauseToken in Debugger 2020-05-10 23:39:31 +02:00
Pawel Kolodziejski d8607341d4 GUI: Reduce code delta between ResidualVM and ScummVM 2020-05-10 22:45:55 +02:00
Eugene Sandulenko 7759af515d GUI: Fixed warning 2020-05-10 14:03:17 +02:00
Lothar Serra Mari 42a6782851 I18N: Rebuild translations.dat 2020-05-10 11:06:20 +02:00
Eugene Sandulenko 6aacdb1938 GUI: Normalize width/height parameters
The fact that ThemeLayout had them int, and GuiObject as uint, was
leading to number of unexpected overflows.
2020-05-09 21:59:07 +02:00
Pawel Kolodziejski b586571900 ALL: synced with ScummVM commit 09bf38c120 2020-05-09 20:05:54 +02:00
Zvika Haramaty 1b8f471c69 GUI: Added (partial) BiDI support
Added GNU FriBidi, thus allowing Hebrew (or other future RTL languages)
to be displayed correctly.
It's been implemented for all ScummVM GUI (as far as I have noticed),
and can be further used by the engines as needed.

This work is only partial, because for complete BiDI support we'll need
to mirror the widgets, and support input text areas (which currently
don't even support Hebrew text input at all).

Some changes are required in order to use this:
- Visual Studio:
  -- add FriBidi lib from https://github.com/ShiftMediaProject/fribidi
     (and place the files in the other libs location)
  -- add fribidi.dll to the current directory
  -- add fribidi.lib to VS library list
     (in GUI it's: Project -> scummvm Properties -> Linker ->
                   input -> Additional Dependencies)
  -- Add USE_FRIBIDI define
     either to:
         dists/msvc/ScummVM_Global.props   <PreprocessorDefinitions>
     or in GUI:
         Project -> scummvm Properties ->
         C/C++ -> Preprocessor -> Preprocessor Definitions
- GCC:
  -- install FriBidi
     e.g.,
        Ubuntu: `apt-get install libfribidi-dev`
        CentOS: `yum install fribidi-devel`
  -- rerun `configure`
2020-04-30 10:32:18 +02:00
lolbot-iichan c09abee01c GUI: Add GUI for per-game achievements tab 2020-04-29 10:31:36 +02:00
lolbot-iichan 8b96a6b719 GUI: Recompile GUI files 2020-04-29 10:31:36 +02:00
lolbot-iichan 11ea016121 GUI: Define achievement tab widget at theme files 2020-04-29 10:31:36 +02:00
lolbot-iichan 73f1da2773 GUI: View checked inactive checkbox as grey, not invisible 2020-04-29 10:31:36 +02:00
Eugene Sandulenko ac82bb8823 GUI: Sync constructors 2020-04-28 10:04:09 +02:00
Eugene Sandulenko 47a0ab346a GRAPHICS: Fix potential sign extension 2020-04-27 14:54:44 +02:00
Eugene Sandulenko 20334118b9 GUI: Added sanity check to ThemeEngine 2020-04-27 14:51:53 +02:00
Eugene Sandulenko 3a0ddbf667 GUI: Added sanity check 2020-04-27 14:50:58 +02:00
Eugene Sandulenko 86712a3680 GUI: Initialize class variables in ListWidget 2020-04-27 14:46:58 +02:00
Eugene Sandulenko 1b01ecc511 GRAPHICS: Const'ness 2020-04-27 14:42:08 +02:00
Eugene Sandulenko bc378c6999 GUI: Initialize variable and remove redundant check 2020-04-27 14:38:58 +02:00
Eugene Sandulenko 6fcc39810e GUI: Added sanity check 2020-04-27 14:04:04 +02:00
Thierry Crozat 8b0b9f11c6 OSYSTEM: Add kFeatureNoQuit to remove Quit buttons and replace Quit with RTL
Some platforms should not allow quitting ScummVM. For example the Apple's
HUG for iOS state that we should "Never quit an iOS applications
programmatically". Adding the kFeatureNoQuit allows those backend
that need it to remove the possibility to quit the application.
2020-04-26 16:19:37 +01:00
Eugene Sandulenko 9bea9fd5cf GUI: Sort games by dictionary, ignoring English articles 2020-04-24 10:54:00 +02:00
Eugene Sandulenko b517525e7d CREDITS: Remove duplicate entry for BS2.5 2020-04-19 00:14:20 +02:00
Thierry Crozat b32c82e18c CREDITS: Rerun make credits 2020-04-17 22:42:48 +01:00
Bastien Bouclet f7efd3cd7f GUI: Fix error when renaming a target in the edit game dialog
The OptionsContainerWidget keeps a copy of the name of the game domain
that needs to be updated when the target is renamed.

Ideally, OptionsContainerWidget would simply keep a pointer to the
ConfigurationManager::Domain object, however that's not currently
possible as the ConfigurationManager defaults are global instead of
being per domain. As a result they are not accessible from the Domain
object.

Fixes #11416.
2020-04-11 08:16:21 +02:00
aryanrawlani28 345520b8cb GUI: improve predictive dialog in agi 2020-03-28 12:34:00 +01: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
Bastien Bouclet c8f2d8a1d3 GUI: Introduce OptionsContainerWidget, a container for settings widgets
OptionsContainerWidget is a GUI widgets container that is meant to be
used for configuration dialogs tabs. It provides an interface subclasses
can implement for loading and saving settings from a configuration domain.
2020-03-28 07:38:39 +01:00
Bastien Bouclet 8ae288c52f GUI: Allow defining layouts programmatically with a chaining syntax 2020-03-28 07:38:39 +01:00