157 Commits

Author SHA1 Message Date
elasota
648d7e9718 GUI: Add mousewheel scrolling to credits. 2023-01-04 11:26:25 +02:00
Eugene Sandulenko
22c37d2c90
ALL: Update copyright year 2023-01-01 00:00:51 +01:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Cameron Cawley
89c634be2d GUI: Display the full engine name in the About dialog 2022-07-23 22:08:53 +01:00
Cameron Cawley
07498687bd
GRAPHICS: Add Surface::copyRectToSurfaceWithKey() 2022-06-05 17:28:28 +03:00
Cameron Cawley
5f35e2008a GUI: Fix line wrapping in the about dialog with small screens 2022-05-30 17:04:52 +01:00
Le Philousophe
d308600bcb GUI: Add comment for translators 2022-04-16 15:47:47 +02:00
Donovan Watteau
1e33079b25 GUI: Print compiler name/version in About dialog 2022-04-15 22:43:57 +02:00
Eugene Sandulenko
823bc16312
ALL: Update copyright year 2022-01-01 00:00:45 +01:00
Eugene Sandulenko
c532943aef
GUI: Update license text in the about dialog 2021-12-26 18:52:05 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko
109beb4f86 GUI: Explicitely use Common:: namespace 2021-11-12 14:46:34 +01:00
Eugene Sandulenko
eda31b9498
GUI: Initialized more variables 2021-05-01 01:49:47 +02:00
Cameron Cawley
ac15a0017a GUI: Fix screen resizing when EE is active 2021-04-18 15:28:51 +02:00
Cameron Cawley
376defbdbf GUI: Minor simplification to the EE graphics code 2021-04-18 15:28:51 +02:00
Cameron Cawley
cb6c058c7d GUI: Use UTF-8 for the credits 2021-04-18 01:31:01 +01:00
Eugene Sandulenko
1009078024
GUI: Speedup rendering in EE 2021-04-15 23:44:04 +02:00
Eugene Sandulenko
3e84b88400
GUI: Scale EE in About dialog 2021-04-15 23:44:04 +02:00
Eugene Sandulenko
71888ad4db
GUI: Switch to Amiga font in EE rendering 2021-04-15 21:20:35 +02:00
Eugene Sandulenko
40facbe6d3
GUI: Show only truly compiled-in engines in the About dialog 2021-04-14 14:42:10 +02:00
Eugene Sandulenko
c1cca8c869 ALL: Update copyright year 2021-01-01 00:00:18 +01:00
Cameron Cawley
c877097b49 ALL: Remove use of "" in Common::U32String constructors 2020-11-16 16:56:58 +00:00
Eugene Sandulenko
7ff34bc9ec PLUGINS: MetaEngineStatic -> MetaEngineDetection 2020-10-11 23:14:39 +02:00
aryanrawlani28
71a820caff ENGINES: Begin class renaming of ME & AME
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28
5ab12afd2a JANITORIAL: Spacing issues in gui/about. 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
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
cec0985d5a GUI: U32: Update credits.pl script to not write ascii string
- Also generate new credits file to reflect above changes
- Remove ascii checks from about dialog
2020-08-30 14:43:41 +02:00
aryanrawlani28
3d97be2559 GUI: U32: Remove redundant code
Because po files now (should) use UTF-8, a bunch of code in ScummVM is redundant. This commit addresses that.

- Remove charsetMapping and related variables.
- Remove the code that used these functions.
- Remove cp_parser.cpp. This is removed because the use of codepages is no longer needed.
- Remove iso-8859-x codepages (see above message)
- Always set mapping as 0 in ThemeEngine::loadScalableFont
- Check if ascii or not by getting charset in about dialog.
2020-08-30 14:43:41 +02:00
aryanrawlani28
ba0d57f350 GUI: Compare iterator condition properly for about dialog 2020-08-30 14:43:41 +02:00
aryanrawlani28
1ca1712b4d GUI: U32: Fix problems with u32strings formatting
- Improve U32's format helper
- Add insertString helper to u32
2020-08-30 14:43:41 +02:00
aryanrawlani28
bed05ea134 GUI: U32: Fix compilation errors across entire project
After the initial changes just to scummvm/gui for u32, this commit includes the whole project

- Widget creations now always have u32 descriptions, labels, or tooltips
- Message dialogs make use of default arguments instead of providing the same argument explicitly
- encode String::format properly before passing on as argument where necessary
- Modify hugo utils (yesNoBox and notify box) to use u32
- Also provide fake constructors for the above which redirect to the u32 constructor
- Convert all keymap descriptions to u32 across all engines
- showConfirmationDialog in mohawk now uses u32
- showScummVMDialog also uses u32
- Scumm engine has dialogs now which use u32
- General fixes and wrapping convertToU32String for setLabels and related functions
- Add a fake constructor to MesssageDialog which redirects to the u32 constructor
2020-08-30 14:43:41 +02:00
aryanrawlani28
c0458adec2 GUI: U32: Use u32 for about dialog 2020-08-30 14:43:41 +02:00
aryanrawlani28
f800ca4ada GUI: U32: Convert majority of code to use U32
This commit also includes some additional major changes.

- Return U32String from TransMan getTranslation()
- Change tooltips to be U32Strings
- Remove temporary code of convertToU32String
- U32 Support various dialogs (Browser, FileBrowser, Messages, Chooser, etc)
- U32 for music plugins
- U32 for OSD messages
- Add some helper functions to ustr.cpp
- Change default tooltips from nullptr & 0 -> ""
- Some runtime exceptions may occur when changing languages due to incorrect String::Format
2020-08-30 14:43:41 +02:00
aryanrawlani28
aafade4507 GUI: U32: Shift most widgets to draw with u32
- ButtonWidgets (Button, Radio, Checkbox, dropdown)
- StaticTextWidgets
- PopUpWidgets
- Tabs
- Add a temporary overloaded drawDDText function to make other widgets draw normally
2020-08-30 14:43:41 +02:00
Eugene Sandulenko
05634542c3 GUI: Code formatting 2020-07-15 23:30:10 +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
bc378c6999 GUI: Initialize variable and remove redundant check 2020-04-27 14:38:58 +02:00
Bastien Bouclet
6e1abf064a GUI: Use nullptr instead of 0 or NULL where appropriate 2020-01-19 15:08:37 +01:00
Eugene Sandulenko
c05b911563 ALL: Bump copyright year to 2020 2020-01-01 00:01:00 +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
Eugene Sandulenko
0e9d3d0bc8 GUI: Fix warnings 2019-10-14 20:57:15 +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
Cameron Cawley
09dbe7686b JANITORIAL: Update all scummvm.org URLS to use https 2019-03-09 21:52:14 +01:00
Lothar Serra Mari
1aba295dcc ALL: Bump copyright year to 2019 2019-03-03 14:18:35 +01:00
Bastien Bouclet
4d29ce21d0 GUI: Unify clip and non-clip draw calls 2018-04-19 19:18:39 +02:00