4777 Commits

Author SHA1 Message Date
Orgad Shaneh
e4ec99fc62 GUI: Fix GCC/MinGW warning
textviewer.cpp:84:64: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int64' {aka 'long long int'} [-Wformat=]
   84 |         warning("TextViewerDialog::loadFile(): File size is: %ld", stream->size());
      |                                                              ~~^   ~~~~~~~~~~~~~~
      |                                                                |               |
      |                                                                long int        int64 {aka long long int}
      |                                                              %lld
2023-04-09 23:55:16 +03:00
Cameron Cawley
fb2503d02e GUI: Only use a transparent colour for BMP images 2023-04-09 12:54:38 +02:00
elasota
eab1a92a6d GUI: Fix signed/unsigned mismatches 2023-04-09 12:50:01 +02:00
Alexander Tkachov
77d4b45b15 GUI: Fix CloudConnectionWizard on 3ds 2023-04-08 18:04:26 +02:00
Alexander Tkachov
7798c2af9f CLOUD: Prepare #4860 to merge
- regenerate themes .zips;
- minor cleanup.
2023-04-08 16:20:11 +02:00
Alexander Tkachov
14b85a41dc GUI: CloudConnectionWizard I18N 2023-04-08 16:20:11 +02:00
Alexander Tkachov
cc38b31ae7 CLOUD: Janitorial
- rename JSON::getPreparedContents() to JSON::untaintContents();
- minor changes to ConnectCloudClientHandler and CloudConnectionWizard.
2023-04-08 16:20:11 +02:00
Alexander Tkachov
67580ee293 GUI: Regenerate themes .zips 2023-04-08 16:20:11 +02:00
Alexander Tkachov
538303e408 GUI: Fix CloudConnectionWizard warnings 2023-04-08 16:20:11 +02:00
Alexander Tkachov
f3149a9b5d CLOUD: Add new connection wizard
- remove Options widgets of the old wizard;
- add CloudConnectionWizard dialog;
- remove old widgets and add new ones in the layouts;
- update local webserver to allow passing a callback that needs to be called if storage was connected via /connect_cloud.
2023-04-08 16:20:11 +02:00
Little Cat
f66f3b4a08 GUI: Bump and regenerate themes for new dialog. 2023-04-08 00:39:38 +02:00
D G Turner
0cfc163515 GUI: Fix Signed vs. Unsigned Comparison GCC Compiler Warning 2023-03-28 23:27:10 +01:00
Eugene Sandulenko
8952ceaa2f
GUI: Process empty log path and gracefully process unreadable paths 2023-03-27 00:24:46 +02:00
Eugene Sandulenko
071ce9ef29
GUI: Add I18N comments to the launcher buttons 2023-03-26 18:02:27 +02:00
Eugene Sandulenko
a768d12707
GUI: Remove leftover debug message 2023-03-26 14:22:01 +02:00
Eugene Sandulenko
4869bf0780
GUI: Added close button to the TextViewer dialog 2023-03-26 14:20:52 +02:00
Eugene Sandulenko
31b74b394b
I18N: Regenerate translations.dat 2023-03-26 13:24:12 +02:00
Eugene Sandulenko
14d6362167
GUI: THEMES: Specify fonts for Arabic translation 2023-03-26 01:51:08 +01:00
Eugene Sandulenko
92186deb09
GUI: Mark Arabic as RTL 2023-03-26 01:48:48 +01:00
Eugene Sandulenko
5571e78331
DISTS: Add Arabic fonts to fonts.dat 2023-03-26 01:48:20 +01:00
Eugene Sandulenko
1737d9bd9d
I18N: Fix I18N comment placement 2023-03-25 20:54:17 +01:00
Eugene Sandulenko
07a52898ed
GUI: Reflect command line override for the log path 2023-03-25 19:44:15 +01:00
Eugene Sandulenko
10c3eb8ebc
GUI: Fix crash in TextViewer 2023-03-25 17:31:27 +01:00
Eugene Sandulenko
48aeba9002
GUI: Regenerated theme files 2023-03-25 17:11:30 +01:00
Eugene Sandulenko
cf578e832b
GUI: Expose Debug Level int the GUI (Misc tab), bump theme version 2023-03-25 17:11:21 +01:00
Eugene Sandulenko
42c68234bb
GUI: Display scummvm.log path and add viewer 2023-03-25 17:11:21 +01:00
Thierry Crozat
b1fcd15cad GUI: Allow scaling dialog and widget sizes in constructors
The resize() function has the option to do the scaling, but
adding it to the construtor avoids having to then call resize().
Also this makes more explicit that by default the sizes are not
scaled. The reason for not scaling by default is because values
with get from the ThemeEngine are already scaled.
2023-03-25 11:27:02 +01:00
Walter Agazzi
4b53b4f1aa GUI: Darken thumbnails of invalid entries
Applies a dark transparent overlay to the
games that are non-startable
2023-03-20 19:26:44 +01:00
Walter Agazzi
83b2ce00d7 GUI: Display titles in alternate color if unreachable 2023-03-20 19:26:44 +01:00
Eugene Sandulenko
c9ec3d8b77
GUI: THEMES: Regenerate themes 2023-03-20 00:22:07 +01:00
Cameron Cawley
866b54f688 GUI: Add a portrait version of the launcher 2023-03-20 00:18:25 +01:00
Cameron Cawley
48ed15011c GUI: Allow comparing the width with the height in resolution checks 2023-03-20 00:18:25 +01:00
Cameron Cawley
6c5c6f8140 GUI: Add a resolution property for layouts 2023-03-20 00:18:25 +01:00
Miro Kropacek
e00c5581ff GUI: Cache bitmaps again
This reverts commit 04f040af which forced a bitmap reloading to prevent
reusing already up/downscaled images in case that _scaleFactor has
changed.

However after commit ad31dfc this no longer applies as changing the
scale factor in GUI forces a ThemeEngine destroy and recreate. So
_bitmaps[filename] is safe to keep its cached image which is reused e.g.
during initial theme loading.
2023-03-16 19:20:50 +01:00
Miro Kropacek
faeb24f037 GRAPHICS: SVGBitmap now inherits from ManagedSurface
Since the only use case for SVGBitmap is blitting it to a
ManagedSurface, combine both into one to avoid unnecessary allocation
and blitting.
2023-03-16 19:20:50 +01:00
Eugene Sandulenko
7dbdb70735
GUI: Remove unndeeded include 2023-03-16 16:14:41 +01:00
Donovan Watteau
18ab6803d6 JANITORIAL: Fix various "an" typos in comments 2023-03-16 14:47:28 +01:00
Eugene Sandulenko
db1fbfee21
GUI: Fix compilation 2023-03-16 14:24:19 +01:00
Eugene Sandulenko
6ee47a9ba6
GUI: Report threshold height different for IPHONE
It is hacky at the moment, being hardcoded, but I had a dilemma between
hardcoding it for a special case, or introducing yet-another OSystem
API call that will be used only by single platform.

Also, I am struggling with coming up for a proper name for this API.
2023-03-16 14:13:02 +01:00
Eugene Sandulenko
3f73ed941d
GUI: THEMES: Switch hardcoded resolution checks for layout switching to constants
No theme version bump is required since the previous versions are compatible.
2023-03-16 14:12:25 +01:00
Eugene Sandulenko
359753112d
GUI: Add ability to check layout resolution against constants 2023-03-16 14:05:29 +01:00
Eugene Sandulenko
866990153c
GUI: Support >= and <= in resolution filter 2023-03-16 13:43:32 +01:00
Eugene Sandulenko
030ff7ca96
JANITORIAL: Remove trailing whitespaces 2023-03-16 13:43:11 +01:00
Eugene Sandulenko
13dbe49b44
GUI: Move SessionSelector dialog to SCUMM engine where it belongs 2023-03-06 16:49:27 +01:00
Eugene Sandulenko
ab596d5467
GUI: THEMES: Bump theme version and regenerate all themes
Now we have SessionSelector dialog which requires the new theme
2023-03-06 14:40:34 +01:00
Eugene Sandulenko
5cc87cf81d
GUI: THEMES: Remove TestbedOptions dialog from the themes
It is now being generated on the fly
2023-03-06 14:38:15 +01:00
Little Cat
5d79f212d2 SCUMM HE: Fix network not running on missing config. 2023-03-06 00:07:13 +01:00
Little Cat
91c6ddacba GUI: Online session selector for Football 2002. 2023-03-06 00:07:13 +01:00
Cameron Cawley
c569e4d5c6 GLK: Embed the Infocom fonts in the executable 2023-03-05 21:18:36 +01:00
hax0kartik
e101f5397c GUI: Limit text selection feature for RTL languages 2023-03-01 18:42:34 +01:00