Commit Graph
5031 Commits
Author SHA1 Message Date
Le Philousophe 4591a74b82 GUI: Don't display save and extra path when it's the default one 2024-03-02 12:59:03 +01:00
Christian Kündig 82d0a4b06c EMSCRIPTEN: Load icons directly (not from an archive) 2024-02-27 17:07:13 +01:00
Darkhood148 1acc434bf5 GUI: Improve algorithm of drag-selection process in gui/console.cpp
Redrawing only the affected lines instead of the whole dialog box
2024-02-11 16:35:52 +01:00
Darkhood148 cc214d0f4d GUI: Implement auto scrolling when drag-selecting text 2024-02-11 16:35:52 +01:00
Darkhood148 2f552e423c GUI: Add feature to copy text from console 2024-02-11 16:35:52 +01:00
Torbjörn Andersson e14e571ec1 GUI: Hopefully fix download dialog regression
I don't know how to test this, but appendComponent() returns a new path,
so use that instead of assuming it added things to the existing path. I
discussed this with lephilousophe before committing.
2024-02-10 10:43:04 +01:00
Torbjörn Andersson a1c8db3201 JANITORIAL: Clean up some whitespace and double semicolons 2024-01-29 19:32:00 +01:00
Eugene Sandulenko 6db11ef605 GUI: Allow manual setting of custom GUI scale values
We keep this value and do not override it
2024-01-20 20:56:53 +01:00
Eugene Sandulenko c1aca01197 GUI: Add percentage values to the gui scale values 2024-01-20 20:34:45 +01:00
Eugene Sandulenko 10a7b42587 GUI: Added more GUI scale values
Should we add a slider perhaps?
2024-01-20 20:15:59 +01:00
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