summaryrefslogtreecommitdiff
path: root/src/ui/text.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-07-15 12:50:15 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-07-15 12:50:21 +0300
commit95a189a3be787687113b14d66b607716dd642c8a (patch)
tree2513301e0b576fe79b53918ab898dc5c0cc27774 /src/ui/text.h
parentb683afe31852914ce1792582fa67e4330ee386e1 (diff)
GmDocument: Right-align RTL decorations
Diffstat (limited to 'src/ui/text.h')
-rw-r--r--src/ui/text.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/text.h b/src/ui/text.h
index d3a9f844..41e7671e 100644
--- a/src/ui/text.h
+++ b/src/ui/text.h
@@ -207,6 +207,7 @@ struct Impl_WrapText {
207 enum iWrapTextMode mode; 207 enum iWrapTextMode mode;
208 iBool (*wrapFunc)(iWrapText *, iRangecc wrappedText, int origin, int advance, iBool isBaseRTL); 208 iBool (*wrapFunc)(iWrapText *, iRangecc wrappedText, int origin, int advance, iBool isBaseRTL);
209 void * context; 209 void * context;
210 int baseDir; /* set to +1 for LTR, -1 for RTL
210 /* internal */ 211 /* internal */
211 iRangecc wrapRange_; 212 iRangecc wrapRange_;
212}; 213};