Commit Graph
4945 Commits
Author SHA1 Message Date
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
Eugene Sandulenko c0db1957c8 GUI: Pick up theme font size in RIchTextWidget 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 4b86df2f62 GUI: Regenerated themes 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 3857f716e6 GUI: THEMES: Moved help button to the left side 2023-09-17 00:56:28 +02:00
Eugene Sandulenko fd98104c9e GUI: Open URL when clicking on the links in RichTextWidget 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 02cffed5e2 GUI: Specify image archive in HelpDialog 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 3a84773936 GUI: Pass image archive from RichText to MacText 2023-09-17 00:56:28 +02:00
Eugene Sandulenko b614756ae6 GUI: Fix SAF page formatting in HelpDialog 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 9e488b4ee7 GUI: Added paragraph space for SAF text in HelpDialog 2023-09-17 00:56:28 +02:00
Eugene Sandulenko ae41e3aa24 GUI: Added SAF instuctions to help dialog. This contains pictures 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 461d3218af GUI: Fix assert when dynamic tooltip is empty 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 8eb91297c1 GUI: Fixed coordinate calculation for dynamic tooltips 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 2b35c7997f GUI: Implemented link tooltips for RichTextWidget 2023-09-17 00:56:28 +02:00
Eugene Sandulenko a00ae54785 GUI: Fixed default text color in RechText 2023-09-17 00:56:28 +02:00
Eugene Sandulenko df0fa2c709 GUI: Simplified text width calcultions in RichTextWidget 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 20a0888c8d GUI: Fix scrollbar behavior in RichTextWidget 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 255a205896 GUI: Improved visuals in HelpDialog 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 75fa02a879 GUI: Implement scrolling in RichTextWidget 2023-09-17 00:56:28 +02:00
Eugene Sandulenko bb4792e413 GUI: MOre work on adding scrollbar to RichTextWidget 2023-09-17 00:56:28 +02:00
Eugene Sandulenko daf829aeb4 GUI: Replace MacTextWindow with plain MacText in RichTextWidget 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 28b14d83fc GUI: Initial code for vertical scroll bar in RichTextWidget 2023-09-17 00:56:28 +02:00