593 Commits

Author SHA1 Message Date
lb_ii
7d0a96818d GUI: Mark var as const 2021-06-10 01:56:23 +03:00
lb_ii
a59108911d GUI: Use AchMan to get achievements descriptions 2021-06-10 01:56:23 +03:00
lb_ii
080b8dad89 GUI: Remove mistakenly used _("string") 2021-06-02 01:21:37 +03:00
lb_ii
d7afb6408a GUI: Fix minor issues for code review 2021-06-01 02:20:53 +03:00
lb_ii
4bea32377e GUI: Remove unused code at achievements controls 2021-06-01 02:20:53 +03:00
lb_ii
3ea4faeab7 GUI: Add Statistics dialog to game options 2021-06-01 02:20:53 +03:00
lb_ii
4d582218a9 GUI: Use simple achievements API 2021-05-28 21:07:08 +03:00
Torbjörn Andersson
73f43cdcb3 GUI: Fix build when USE_TTS is undefined 2021-05-03 16:47:30 +02:00
Martin Gerhardy
9d82fa51df COMMON: removed USE_TTS check from engines
OSystem now just returns a nullptr if there is no text to speech manager instance
(because none is compiled into the binary, or the system doesn't provide support
for it). This removed the need for the engine authors to add scummvm osystem compile
time options checks into their engine code
2021-05-03 14:13:41 +03:00
Eugene Sandulenko
edef02acda
GUI: Add tooltips to Cancel/Apply/OK buttons in Options. Bugreport #10313 2021-04-20 01:46:05 +02:00
D G Turner
578555ab1a GUI: Fix GCC Compiler Warning 2021-04-18 01:29:18 +01:00
Eugene Sandulenko
36d19d68c1
GUI: Fix formatting for I18N comments 2021-04-17 22:19:47 +02:00
Eugene Sandulenko
bcecf62f17
GUI: Added comments for translators for GUI scale options 2021-04-17 21:25:29 +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
91832bf9d8
SYMBIAN: Remove old Keys Dialog, now the global KeyMapper is used. PR#2712 2021-04-17 19:41:09 +02:00
Lothar Serra Mari
f91435ca8d GUI: Enable missing translations for audio device selection 2021-04-10 19:09:11 +02:00
Thierry Crozat
5757a406d9 GUI: Display correct ini path when using custom config file
This should avoid confusion for users when a custom config
file is used (for example for GOG games bundled with ScummVM).
2021-04-01 20:17:43 +01: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
a/
851b0c5edc GUI: Add lowres support for the renderer dropdown 2021-03-26 15:34:22 +01:00
sluicebox
93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
Alexander Tkachov
8c16575035 CLOUD: Update Dropbox to use refresh_token
Dropbox is switching to short-lived access_token OAuth. This commit adapts Cloud::DropboxStorage to use refresh_token similarly to how other Storages do: by introducing a DropboxTokenRefresher.

It is used instead of plain CurlJsonRequest. It just checks if received JSON has access_token-related error and tries to refresh it, then repeats the original request transparently for the caller. If no such errors found, it just passes the info to the caller.
2021-02-04 01:57:48 +01:00
Cameron Cawley
a82b200ae7 GUI: Allow specifying a command for PopUp widgets 2021-01-10 09:53:43 +02:00
Thierry Crozat
f88381f0d1 GUI: Apply default shader when selected 2020-12-29 23:22:42 +00:00
av-dx
44045c20f1 GUI: Refresh Gfx/Stretch Mode when <default> is applied 2020-12-29 22:29:43 +00:00
Thierry Crozat
1c788f8a29 GUI: Add missing member initialization in GlobalOptionsDialog constructor 2020-12-04 22:07:14 +00: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
Cameron Cawley
c877097b49 ALL: Remove use of "" in Common::U32String constructors 2020-11-16 16:56:58 +00:00
Thierry Crozat
2d641f8ab3 GUI: One more minor change to test weblate updates 2020-11-14 14:42:24 +00:00
Thierry Crozat
0ea148c94b GUI: Minor code alignment change to test weblate pot file update 2020-11-14 14:30:07 +00:00
Thierry Crozat
8327daa81f GUI: Minor space change to test weblate pot file update 2020-11-14 13:59:50 +00:00
Torbjörn Andersson
9acdbe42af
GUI: Update "edit game" for new graphics options (#2512)
Make the new graphics options in "edit game" disabled until the user
asks to override the global settings. (Most of these were added during
the ScummVM/ResidualVM merger, I guess.)
2020-10-12 18:44:15 +02:00
Paweł Kołodziejski
35b9cccbde ALL: Merge ResidualVM 2020-10-09 19:44:13 +02:00
Pawel Kolodziejski
3768520c2a GUI: Cleanup in GUI options code 2020-10-04 16:02:50 +02:00
Pawel Kolodziejski
9c97c2cc77 GUI: Cleanup gui options code 2020-10-04 15:48:07 +02:00
Pawel Kolodziejski
c12503a869 Synced with ScummVM rev: f6c5fed1739ddadc59b919407859bec7ee403c35 2020-10-03 18:14:12 +02:00
aryanrawlani28
4e3c43ce16 GUI: RTL: Fix gltichiness when switch to rtl-gui when theme doesn't support. 2020-10-01 11:41:16 +02:00
Pawel Kolodziejski
bfe58d3c77 ALL: Synced with ScummVM - rev: d4db631f9b72f9f39b0e76de19e56e445e5c4f64 2020-09-23 21:52:10 +02:00
Thierry Crozat
c5ede297ea JANITORIAL: Simplify some code that use U32String::format 2020-09-08 21:24:27 +01:00
Cameron Cawley
2bb04ea58d GUI: Fix changing the current text to speech voice 2020-09-06 16:23:57 +01:00
Pawel Kolodziejski
d5304e2568 ALL: Synced with ScummVM - rev: 33a47d23b85694015fe2aa340219d2b60db873f3 2020-09-03 02:21:14 +02:00
aryanrawlani28
e29e5f1156 GUI: TTS: Fix compilation
- While building options, TTS used some translations-dependant variables.
2020-08-30 14:43:41 +02:00
aryanrawlani28
8c5611c3ca GUI: U32: Fix unused u32format where translations are used.
- Misc: Remove incorrect space.
2020-08-30 14:43:41 +02:00
aryanrawlani28
68d01321d6 GUI: U32: Downscale changes of U32, fix review issues
This commit addresses a range of changes, within scummvm subproject.

- Audio files, like mididrv, remove U32String based name and identifier, because ASCII only.
- mididrv.cpp had some wrong format for warning messages, fix those
- Message dialogs were modified to use default arguments more often, but reverting back to the orignal to minimize changes.
- SetTooltip has a fake constructor that takes in a string, and use it.
- U32Format had some break statements missing, add those.
- RemapWidget: Use fake constructor for setLabel and setTooltip, to make minimal changes
- SDL: setting text in clipboard no longer uses SDL_iconv_string
- TTS: Override base class "say" with strings, so tts->say can be used with normal strings too.
- About dialog: fix incorrect code for u32string variables
- Fix some extra brackets
- Some buttons were incorrectly removed from using translated labels, revert those
- Message Dialog: Pass default and alt buttons as const references
- Saveload Dialog: Use translations in missing places, use const-references. Also, use translations in a correct manner.
- Use const references for tooltip in GraphicsWidget, EditTextWidget, error.cpp
- DomainEditTextWidget: Use U32String for text
2020-08-30 14:43:41 +02:00
aryanrawlani28
d12c6c4338 GUI: U32: Code cleanup
- Remove extra parantheses leftover from temp code
- SaveLoadDialog - do not encode when setting labels
- Remove mapping variable from ThemeEngine::loadScalableFont (and use default 0)
- Remove incorrect u32 constructor wrapper from confman.set in eventrecorder.cpp
2020-08-30 14:43:41 +02:00
aryanrawlani28
185fb72783 GUI: U32: Improve U32 code
- Revert accidentally put translations in mt32.cpp
- Use U32::format in some places earlier missed
- Add %u and %i for u32::format
- Add support for GUIErrorMsgFormat to use u32::format internally
- Use the above whereever needed
- Improve linux tts by removing redundant code
- Some places I had changed nullptr -> "". Revert this
2020-08-30 14:43:41 +02:00
aryanrawlani28
a9bfe35216 GUI: U32: More issue fixes and general improvements
- Use the fake constructor for message dialog less often
- solve errors regarding comparision between string and u32string in midi
- solve errors in testbed/speech related to ttsMan->say
- fix unsigned comparision warning in tab.cpp
- fix issue with static strings and translations in sdl-graphics
2020-08-30 14:43:41 +02:00
aryanrawlani28
e22b32abfe GUI: U32: Use Common::U32String::format where necessary and GUIError to u32
- Where necessary as in, where translated messages are used.
- GUIErrorMessage now takes in U32String
- error messages across some engines use U32Strings. they are changed because they show a message dialog.
2020-08-30 14:43:41 +02:00
aryanrawlani28
49c36c2b45 GUI: U32: Begin converting texts in clipboards to u32strings
With this commit the base class variables and the parts where getClipboard and setClipboard are used is changed accordingly.
2020-08-30 14:43:41 +02:00
aryanrawlani28
b9a449480b GUI: U32: Remove u32::format references
- Removed because implicit conversion can simply handle this usecase
2020-08-30 14:43:41 +02:00