5021 Commits

Author SHA1 Message Date
Cameron Cawley
f3fbd2477c GRAPHICS: Allow specifying separate xdpi and ydpi values in loadTTFFont 2024-01-08 23:41:50 +01:00
elasota
6a1909a162 GUI: Fix garbled browser last path on Windows 2024-01-08 17:18:40 +02:00
Cameron Cawley
f63ed4b9c3 COMMON: Fix translation of error messages 2024-01-02 01:00:54 +02:00
Eugene Sandulenko
8722701a94
ALL: Set copyright year to 2024 2024-01-01 00:04:27 +01:00
Eugene Sandulenko
be1781ea40
GUI: Disable translations in the HelpDialog
MacFonts have only ASCII, not even accented characters, making
all of the translation renderings broken.
2023-12-31 09:51:36 +01:00
Eugene Sandulenko
bf3117e935
COMMON: Switch debug channels to a hashmap
We used to use a bitfield there, which was restricting the total
number of flags to 32 (unless we switch to uint64, which is suboptimal).
Moreover, with the introduction of the global debug flags, we have
even fewer bits to flip, and this shared nature was restricting
the introduction of more global debug channels.

The goal for the bitfield was to make it possible to put a debug message into
more than one channel. But this feature was practically not used by the engines.
This was removed by the previous commits.

This commit turns the debug channels into a hashmap and puts the global channel
IDs after 100000.

There is no absolute need to renumber the existing debug channels, but
I could follow with an engine or two.
2023-12-28 01:41:10 +01:00
Cameron Cawley
5b1b14ad80 COMMON: Mark more symbols as const 2023-12-26 20:23:59 +01:00
Eugene Sandulenko
00440cfe86 HELP: Added explanation what ScummVM is and where to get help for Android and iOS 2023-12-26 15:21:23 +01:00
Le Philousophe
ed9ded9e83 GUI: Migrate GUI to Path class 2023-12-24 13:19:25 +01:00
Le Philousophe
fc3f03d21d COMMON: Make EVENT_DROP_FILE use a Path 2023-12-24 13:19:25 +01:00
Le Philousophe
db41390587 BACKENDS: Make browser_lastpath a Path object 2023-12-24 13:19:25 +01:00
Le Philousophe
2f34975164 COMMON: Make shaders API use the Path class 2023-12-24 13:19:25 +01:00
Le Philousophe
802c91554f COMMON: Make extrapath a Path object 2023-12-24 13:19:25 +01:00
Le Philousophe
bfc61439fb COMMON: Make themepath a Path object 2023-12-24 13:19:25 +01:00
Le Philousophe
dc7fadef28 COMMON: Make iconspath a Path object 2023-12-24 13:19:25 +01:00
Le Philousophe
87e9a406fa BACKENDS: NETWORKING: Use Path instead of String for local files
Use references when applicable too.
2023-12-24 13:19:25 +01:00
Le Philousophe
460be938f3 CLOUD: Make cloud use Path for local folders and files 2023-12-24 13:19:25 +01:00
Le Philousophe
01ebece807 COMMON: Make getDefaultConfigFileName return a Path instead of a String 2023-12-24 13:19:25 +01:00
Le Philousophe
d9a8131ba2 COMMON: Make getDefaultLogFileName return a Path instead of a String 2023-12-24 13:19:25 +01:00
Le Philousophe
fd0267cfd1 GUI: Make TextViewerDialog use a Path instead of a String 2023-12-24 13:19:25 +01:00
Le Philousophe
74a6158347 GUI: Add a PathWidget
It stores a Path and displays an optional placeholder if the path is
empty.
It is based on StaticTextWidget and doesn't allow edits.
2023-12-24 13:19:25 +01:00
Eugene Sandulenko
5a26faa859
GUI: Regenerate default icons set 2023-12-16 21:31:44 +01:00
Eugene Sandulenko
91c04fa311
DISTS: Rename cloud_connection.zip to helpdialog.zip and add it to the dist lists 2023-12-16 21:09:36 +01:00
CadiH
c4e9f37368 GUI: adds cloud connection to inline help 2023-12-16 20:58:44 +01:00
Lars Sundström
8db736f155 GUI: Add scrollbar to backend options widget
Make the backend options widget be of type ScrollContainerWidget.
This will allow backends to decide whether the options dialogue
should be scrollable or not.

Note, this changes the default padding. If not changing the padding
the scrollbar might disappear. Update the padding in each backend
instead.
2023-12-16 19:37:33 +01:00
Eugene Sandulenko
dd5c527ef9
GUI: Exclude fonts-cjk from theme building 2023-12-15 12:51:56 +01:00
Thierry Crozat
ebf5979cf4 GUI: Fix resizing RichTextWidget
There were two main issues:
1. The intermediate surface on which the rich text is drawn was not
   resized when the widget was resized. This resulted in text being
   cut.
2. The Graphics::MacText does not properly handle width changes,
   Resize is not handled at all if there is a table, but even when
   there is no table it can have issues with the font.
   As a workaround it is now recreated instead of being resized.
2023-12-14 16:56:48 +01:00
Thierry Crozat
bdd0f36fe6 GUI: Bump theme version and regenerate themes 2023-12-14 16:56:48 +01:00
Thierry Crozat
5d118c4849 GUI: Add inner margin in RichTextWidget 2023-12-14 16:56:48 +01:00
Thierry Crozat
7b7bf3f711 GUI: Fix layout for HelpDialog tab content
No specific layout was defined for the rich text widget. It tried
to use the layout of the tab widget, but that did not work properly.
The rich text widget was at the correct location, but did not have
the correct size. It was bigger than the parent tab widget, which
can be clearly seen when the scrollbar is visible.
2023-12-14 16:56:48 +01:00
Thierry Crozat
eabc131307 GUI: Improve a bit the "Where to get the games" help text 2023-12-12 22:46:26 +00:00
Eugene Sandulenko
743bd78fb4
GUI: Fix crash when adding a game in some circumstances 2023-12-12 01:16:39 +01:00
Le Philousophe
26b02dcd91 GUI: Clear error when starting an new state when downloading 2023-12-10 11:45:26 +01:00
Le Philousophe
f1ae05d3b0 GUI: Cancel pending requests when clearing cache
And properly restart a file list download
2023-12-10 11:45:20 +01:00
Eugene Sandulenko
93c98b92e9
GUI: Refactored HelpDialog to let easy extension 2023-12-10 08:47:00 +01:00
Thierry Crozat
0577893055 GUI: Indicate when a default soundfont is used in options 2023-12-03 16:17:32 +00:00
Lothar Serra Mari
bbbb9d15c9
GUI: Add missing full-stop on the help dialog 2023-12-03 17:15:11 +01:00
Lothar Serra Mari
f789d1ca21
GUI: Remove defunct gog.com referrer link 2023-12-03 17:09:04 +01:00
Eugene Sandulenko
2b1bc96edb
GUI: ANDROID: Mention SAF when game could not be found in the specified directory 2023-12-02 15:21:11 -08:00
Matthew Jimenez
70a7fef8af GUI: Fix scrollbar visibility for keymaps option tab.
This fixes #14701
2023-11-27 15:55:06 +01:00
Walter Agazzi
0ac7210f28 CREDITS: Add myself to AGS credits 2023-11-26 11:01:17 +02:00
Coen Rampen
f1abbff901 MIDI: Update FluidSynth settings
This updates the FluidSynth settings to the value ranges and defaults used by
the current version 2.3.4.

Reverb
- Room size: 0.00-1.20 / 0.20 to 0.00-1.00 / 0.20
- Width: 0-100 / 1 to 0.0-100.0 / 0.5
Chorus
- Level: 0.00-1.00 / 1.00 to 0.00 - 10.00 / 2.00
- Speed: 0.30-5.00 / 0.30 to 0.10-5.00 / 0.30
- Depth: 0.0-21.0 / 8.0 to 0.0-256.0 / 8.0
2023-11-25 22:26:53 +01:00
Eugene Sandulenko
dbf34b31e0
GUI: Made HelpDialog resizable, moved it to the STX and bumped the theme version 2023-11-24 02:14:28 +01:00
Eugene Sandulenko
ead7a2bba1
GUI: Remove leftover debug message 2023-11-21 14:39:33 +01:00
Miro Kropacek
8983b1c791 CREDITS: Add myself to credits 2023-11-21 12:21:25 +01:00
sluicebox
519902cf06 GUI: Fix Console newlines passed to debug
Fixes Console output in debug (stdout/scummvm.log) when lines
are built with multiple calls to ConsoleDialog::debugPrintf.

See: a7d4d0f232231eb3d22c85d35ddfbcc2be0e587c
2023-11-21 07:12:58 +01:00
Eugene Sandulenko
f127dd364a
CREDITS: Updated Icons contributors and regenerated credits 2023-11-20 21:16:25 +01:00
Eugene Sandulenko
93ee688544
GUI: Split out CJK fonts into fonts-cjk directory 2023-11-20 20:59:17 +01:00
Rana prathap
5ce451f7c4 GUI: Remove unnecesary parameters and increase code readabilty in dialog dumper 2023-11-17 20:28:39 +01:00
Rana prathap
43733cbcf3 GUI: Add system to automatically iterate through all resolutions 2023-11-17 20:28:39 +01:00