Commit Graph
32 Commits
Author SHA1 Message Date
Cameron Cawley 96f9569790 GUI: Make use of simple blitting routines where possible 2024-06-19 02:36:17 +02:00
Eugene Sandulenko 6fc5c46539 GUI: Disable the super-slow TTF font rendering in RichText
It requires proper font caching
2024-05-12 15:26:33 +02:00
Eugene Sandulenko 5bd7b57282 GRAPHICS: MACGUI: Switch TTFMap to saner data structure not requiring global constructor 2024-05-12 15:23:30 +02:00
InariInDream e70ea93149 GRAPHICS: MACGUI: Add support for TTF font maps 2024-05-04 00:14:31 +02: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 5d118c4849 GUI: Add inner margin in RichTextWidget 2023-12-14 16:56:48 +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
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 afd6866a3c GUI: Speed up RichTextWidget scrolling 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 fd98104c9e GUI: Open URL when clicking on the links in RichTextWidget 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 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 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
Eugene Sandulenko 49d9261fd5 GUI: Simulatoe better colors in RichText 2023-09-17 00:56:28 +02:00
Eugene Sandulenko c8cc2c46f7 GUI: Use theme colors for RichText 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 2b498a0ff1 GUI: Do not override GUI cursor for RichText 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 5e895c6af5 GUI: Added extrapath to SearchMan before initializing WM in RichText
This lets us find macgui.dat and classicmacfonts.dat
2023-09-17 00:56:28 +02:00
Eugene Sandulenko 345706521c GUI: Fixed font setting in RichText 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 5719847354 GRAPHICS: MACGUI: Pass setMarkdownText through MacTextWindow 2023-09-17 00:56:28 +02:00
Eugene Sandulenko db62679c74 GUI: Use proper font in RichTextWidget 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 76dbb66489 GUI: Added RichText to HelpDialog 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 57568e8fdf GUI: Further work on RichText widget 2023-09-17 00:56:28 +02:00
Eugene Sandulenko f048d170e7 GUI: Added stubs for RichTextWidget 2023-09-17 00:56:28 +02:00