summaryrefslogtreecommitdiff
path: root/src/ui/text.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-07 10:24:58 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-07 10:25:42 +0200
commit892094fa91f064e24d9017d84228f6c781add428 (patch)
tree45c21fa52f4742578947339f810e56036b306216 /src/ui/text.c
parent237ea3e1a66b792c2258eebd39e7771002c5584b (diff)
Processing per-pixel scroll events
Do platform-specific processing of scroll events up front so widgets can support both types of scrolls everywhere. IssueID #166
Diffstat (limited to 'src/ui/text.c')
-rw-r--r--src/ui/text.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/ui/text.c b/src/ui/text.c
index f380b67b..d9ddf2b2 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -708,12 +708,13 @@ void rasterizeSomePendingGlyphs_Text(void) {
708} 708}
709 709
710enum iRunMode { 710enum iRunMode {
711 measure_RunMode = 0, 711 measure_RunMode = 0,
712 draw_RunMode = 1, 712 draw_RunMode = 1,
713 modeMask_RunMode = 0x00ff, 713 modeMask_RunMode = 0x00ff,
714 flagsMask_RunMode = 0xff00, 714 flagsMask_RunMode = 0xff00,
715 noWrapFlag_RunMode = iBit(9), 715 noWrapFlag_RunMode = iBit(9),
716 visualFlag_RunMode = iBit(10), /* actual visible bounding box of the glyph, e.g., for icons */ 716 visualFlag_RunMode = iBit(10), /* actual visible bounding box of the glyph,
717 e.g., for icons */
717 permanentColorFlag_RunMode = iBit(11), 718 permanentColorFlag_RunMode = iBit(11),
718 alwaysVariableWidthFlag_RunMode = iBit(12), 719 alwaysVariableWidthFlag_RunMode = iBit(12),
719}; 720};