Mohit Bankar
c041092694
GUI: Centralize scroll step size logic in FluidScroller
2026-04-20 23:33:23 +02:00
Mohit Bankar
5ef242d112
GUI: Implenet Fluid Scroll in Richtext widget
...
- Implement Fluid Scroll in HelpDialog
2026-04-20 23:33:23 +02:00
Eugene Sandulenko
0284f3ce21
GUI: Do not show hand cursor over pictures in the Help dialog
2026-04-03 16:06:59 +02:00
Marwane ElBaraka
6298f49ab3
GUI: Modify RichTextWidget::handleMouseMoved() to have conformant code formatting
...
Multi-line function call is now one-line with conformant spacing and formatting
2026-04-03 15:52:43 +02:00
Marwane ElBaraka
835863756b
GUI: Switch to index cursor when hovering links in RichTextWidget
...
Use setActiveCursor() to switch between normal and index cursors based on whether the mouse is over a clickable link.
2026-04-03 15:52:43 +02:00
Taz
20b13516e3
GUI: Fix mouse dragging issue with scrollbar in help menu
2026-03-27 01:48:01 +01:00
Eugene Sandulenko
139a20a4da
GUI: Implement reliable way of detecting GUI language in Help Dialog
2026-03-24 20:46:12 +01:00
Eugene Sandulenko
3c1eaa1104
JANTIORIAL: Remove trailing spacex
2026-03-18 16:48:29 +01:00
tunnelsociety
d304fd25d7
GUI: Fix leak of cached RichText surface
2026-03-06 08:47:03 +02:00
Mohit Bankar
52220346a9
GUI: Use Graphics::ALPHA_OPAQUE for faster drawing in RichText
2026-03-05 00:43:03 +01:00
Mohit Bankar
448e8b3b62
GUI: Fix anti-aliased font rendering for RichTextWidget
...
Add configurable TTFRenderMode to MacFontManager
(default monochrome).
RichTextWidget temporarily uses
kTTFRenderModeLight when creating MacText,
then restores the previous mode.
2026-03-05 00:43:03 +01:00
Mohit Bankar
7351104a24
GUI: Use theme background in RichTextWidget
...
Replace hardcoded background color with value
extracted from the active theme.
Add ThemeEngine::getDrawDataColor() and use it
in createWidget() and drawWidget(), with
fallback to opaque white.
2026-03-05 00:43:03 +01:00
Mohit Bankar
9128ed80a7
GUI: Defer RichTextWidget creation to minimise intial loading time
...
- Defer markdown parsing and MacText initialization.
- Add ensureWidget() to split
size detection from actual creation.
- Render only the active tab on dialog open to reduce
initial loading time.
2026-03-05 00:43:03 +01:00
Mohit Bankar
4967fa52bc
GUI: Add caching in Rich Text to speed up scrolling
...
Now the text is first rendered on Cached surface, and blitted from there on to the Surface.
Fixes scrolling lag in About Dialog
2026-03-05 00:43:03 +01:00
D G Turner
44ed21a632
GUI: Fix Rich Text Widget To Compile When Translation Is Disabled
...
The build was broken when --disable-translation is passed to configure
2025-10-05 22:02:02 +01:00
D G Turner
5122be339f
GUI: Change Rich Text Widget Used For Help To Use TTF For Non-English Only
2025-10-04 16:15:29 +01:00
Łukasz Lenkiewicz
3c61ac1dc9
GUI: Enable help menu translations
2025-04-25 19:53:22 +08:00
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