5015 Commits

Author SHA1 Message Date
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
Rana prathap
c8d2c4dad1 GUI: Fix filenames for dumped dialogs 2023-11-17 20:28:39 +01:00
Eugene Sandulenko
2f891d372b
GUI: Wrap console output around console width 2023-11-15 23:46:31 +01:00
Eugene Sandulenko
a9892cad18
GUI: Increase console buffer size to 1024 lines 2023-11-15 23:46:31 +01:00
Kaloyan Chehlarski
db6b2a11cc GUI: Make sure About dialog can scroll to top
Fixed an issue where scrolling up in the About dialog would
stop before the top of the text, sometimes cropping
parts of it.
2023-11-14 12:05:27 +02:00
Kaloyan Chehlarski
226470434f GUI: Add CPU extension info to About dialog 2023-11-14 12:05:27 +02:00
sluicebox
7930e28246 GUI: Handle Copy and Paste events in ConsoleDialog
ConsoleDialog had a hard-coded handler for Copy and Paste
shortcuts. These shortcuts are now handled by the keymapper
and produce Copy and Paste events.

Fixes CTRL+C and CTRL+V in the console on Windows builds.
2023-11-14 09:35:42 +02:00