5015 Commits

Author SHA1 Message Date
Matthew Duggan
9840d81bf7 GUI: Fix compile guards to work when flags not defined 2023-11-13 13:39:11 +11:00
Matthew Duggan
80ddd9498c GUI: Avoid dumping dialogs not compiled in to build 2023-11-13 13:23:57 +11:00
Rana prathap
3f7f27a7a3 GUI: Add more dialogs to dialog dumper 2023-11-12 21:31:49 +01:00
Cameron Cawley
327e0c4f1e GRAPHICS: Add palette start and size parameters to Surface::convertToInPlace() 2023-11-12 18:36:08 +01:00
Eugene Sandulenko
ab2b2b2396
GUI: CLarified captions for downloading shaders and icons
THe users get confused as they think it is some kind of a refresh.

Use "Download Icons" instead of "Update Icons". Same for the shaders.
2023-11-11 00:00:18 +01:00
Eugene Sandulenko
390d01500f
GUI: Added grouping by year 2023-11-10 23:45:15 +01:00
macca8
0feaeb1ab0 GUI: Relocate variable declaration & initialize 2023-11-05 22:10:17 +01:00
macca8
030c889bcf GUI:Properly initialise isWriteProtected variable 2023-11-05 22:10:17 +01:00
macca8
3d5ee80403 GUI: Fix usage of dummy autosave in empty autosave slot
Changes include:
- the empty autosave slot's Delete button is now disabled (since no save file exists).
- adds the dummy autosave's name to the empty autosave button's label & tooltip.
- the empty autosave button is now disabled.
2023-11-05 22:10:17 +01:00
Eugene Sandulenko
2db0c24ce6
GUI: Implement finger scrolling in RichTextWidget 2023-11-02 22:52:55 +01:00
Eugene Sandulenko
7ff167190b
GUI: Switched URL clicking in the Richtext widget to mouse up 2023-11-02 22:21:55 +01:00
Kaloyan Chehlarski
f77eca7c80 AD: Implement archive caching during detection
Renamed MD5CacheManager to AdvancedDetectorCacheManager,
and added facilities for storing open archives inside it. This
way an archive that was opened by an AdvancedDetector
will be kept in memory until the end of the detection, so
other entries/engines that will look inside it won't have
to reopen it and reread its data every time.
2023-11-02 18:20:44 +01:00
sluicebox
d76c06e648 GUI: Fix memory leak in DownloadPacksDialog. PVS-Studio V773 2023-10-30 11:28:13 -07:00
Cameron Cawley
bcc9259382 BACKENDS: Report if the backend supports cursors with alpha channels 2023-10-29 02:02:11 +02:00
Le Philousophe
0043d344a9 BACKENDS: Avoid passing arguments by value in cloud and networking
Use references everywhere it's possible.
Use override keyword to raise errors when there are discrepancies.
2023-10-29 01:51:38 +02:00
Matthew Jimenez
54e21678a4 GUI: Remove use of TransparentSurface in animation code 2023-10-29 00:59:42 +02:00
Eugene Sandulenko
2b22b9c581
GUI: Further fixes to keymapper code 2023-10-28 21:01:18 +02:00
polyesterswing
611fd6cd5f GUI: FIX conflicting mappings between EditableWidget and GUI elements
EditableWidget took over keyboard events targeted towards Debugger and
List. This commit fixes it by reverting some part of the code to its
original state.

Fixes issues caused by PR #5366
2023-10-28 18:39:55 +02:00
Aditya
a5b3353022 ALL: Decrease header dependency for gui_options.h
Now the number of times the header file gui_options.h
is added is much smaller.
2023-10-27 01:16:32 +02:00
Kurian Jojo
595a3d7724 GUI: Use Keymapper for EditableWidget 2023-10-24 19:01:12 +02:00
AndywinXp
4379d9352e CREDITS: Sync SCUMM, SWORD1 and CRAB 2023-10-13 00:43:36 +02:00
Eugene Sandulenko
ee5e556ac9
GUI: Fix dumping dialogs with SurfaceSDL 2023-10-11 23:02:04 +02:00
Thierry Crozat
cbf3daf4ab GUI: Fix missing Download buttons in classic theme layout
This made it impossible to switch to the Classic theme when DLC
are enabled.
2023-10-09 21:04:08 +01:00
Thierry Crozat
8f9cdff4a7 GUI: Add function in GuiManager to query if low-res GUI should be used
The same condition was scattered around in the code to switch between
normal labels and images and their lowres counterparts. Factorizing
that condition in a function will allow changing it easily.
2023-10-09 21:04:08 +01:00
Thierry Crozat
aa7572ef1e GUI: Fix testing width for lowres labels on HiDPI screens 2023-10-09 21:04:08 +01:00
Ralph Caraveo
f720fba1aa GUI: Adds clear and cls alias for gui console debugger 2023-10-08 08:36:31 +02:00
CadiH
64f40b8959 GUI: updates content of help dialog 2023-10-06 22:24:55 +02:00
AndywinXp
74769d00ff GUI: Fix crash when no shader was set 2023-10-04 23:39:35 +02:00
Eugene Sandulenko
cd09742f40
GUI: Make MacWindowManager global to GUI
The current hack with the local variable led to unstable behaviour
on Android when the app is suspended. Also, it was leaking memory.
2023-09-27 11:56:06 +02:00
Eugene Sandulenko
a06af86770
GUI: Fix memory leaks in RichTextWidget 2023-09-26 23:53:43 +02:00
Eugene Sandulenko
8f02aec2ac
GUI: Sync default font height with the actual
This variable was underused, and as such, its wrong value was not noticed.

Bringing it back with the default_text dimensions.

This fixes HelpDialog font size.
2023-09-26 18:35:02 +02:00
Eugene Sandulenko
c0511db8da
GUI: Fix warning and remove leftover code 2023-09-25 23:32:05 +02:00
Eugene Sandulenko
272f884419
GUI: Fix crash in shader controls 2023-09-20 09:49:09 +02:00
Eugene Sandulenko
18953d5907
GUI: Remove unused variable. CID 1519082, 1519090, 1519092 2023-09-19 15:49:07 +02:00
Eugene Sandulenko
1ff6a5538b
GUI: Fix out of bounds access. CID 1519091 2023-09-19 15:46:56 +02:00
Thierry Crozat
e43f0b865c GUI: THEMES: Fix error with HelpButton location undefined
The HelpButton was not added to the LauncherGrid layout nor
the vertical high-res Launcher layout (used on phones in
portrait mode). This result in an error (e.g. Unable to
load widget position for 'LauncherGrid.HelpButton'.) when
trying to start ScummVM in one of those modes.

Also bump the theme version so that it does not try to load
old themes that do not have this button either.
2023-09-18 22:18:22 +01:00
Torbjörn Andersson
ac8d18a258 GUI: Fix typo 2023-09-18 07:05:14 +02:00
Eugene Sandulenko
4875573f66
GUI: Disable shader controls instead of hiding them. Prvides better UX 2023-09-17 20:38:37 +02:00
Eugene Sandulenko
2bea791278 OSYSTEM: Improed const'ness of the buildHelpDialogData() call 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
b45e812a13 GUI: Reworded help tabe "where to get games" 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
005609b560 GUI: Add link to compatibility page in the gnereal help tab 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
9cd36c7032 GUI: Fixed warning when constructing HelpDialog 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
bf7c041b36 GUI: Switch to the first tab upon opening HelpDialog 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
7527757d6f BACKENDS: ANDROID: Move Android-specific HelpDialog tabs to backend 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
6ae8089c61 GUI: Move Keyboards shortcut help to SDL backend 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
b307976808 GUI: Add supoport for backend-provided tabs in HelpDialog 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
afd6866a3c GUI: Speed up RichTextWidget scrolling 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
878870b0ef GUI: Added keyboard shortcuts tab to HelpDialog 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
c57b199eb4 GUI: Adjusted header sizes in HelpDialog 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
367b059040 GUI: Fix type in ScrollCOntainerWidget height calculation 2023-09-17 00:56:28 +02:00