3621 Commits

Author SHA1 Message Date
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
7e27af8148 GUI: Code cleanup 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
5d8f6a2281 GUI: RTL: Rebuild theme packages for supporting RTL 2020-06-22 00:03:02 +02:00
aryanrawlani28
f3e4e3e009 GUI: Code & comment cleanup, fix review issues 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
d968665110 GUI: Code cleanup and small issue fixes 2020-06-22 00:03:02 +02:00
aryanrawlani28
c7469a1145 GUI: RTL: Base support for tab widgets 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
37c5013ef4 GUI: RTL: Alignment fixes for all StaticTextWidgets 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
d6c2d4b809 GUI: RTL: Align fixes for text in Load game dialog 2020-06-22 00:03:02 +02:00
aryanrawlani28
5e39545653 GUI: RTL: Fix tooltips and scrollbars for overlay dialogs 2020-06-22 00:03:02 +02:00
aryanrawlani28
f09d15d610 GUI: RTL: Perfect drawing of popups and right align text 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
aryanrawlani28
a7fe8ad7d8 GUI: Rename some variable and fix review issues 2020-06-22 00:03:02 +02:00
aryanrawlani28
28c70dd196 GUI: RTL: Correctly draw for stacked dialogs 2020-06-22 00:03:02 +02:00
aryanrawlani28
732e79b1cf GUI: RTL: Add disabled code for tab drawing 2020-06-22 00:03:02 +02:00
aryanrawlani28
0420dc4f6d GUI: Fix review issues, code cleanup 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
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
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
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
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