summaryrefslogtreecommitdiff
path: root/src/textbuf_type.h
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2013-08-05 20:35:23 +0000
committermichi_cc <michi_cc@openttd.org>2013-08-05 20:35:23 +0000
commit33f3cf3a5daeaf9e6e5b5414696f93676249bc41 (patch)
tree9de7c6fec9a311f66a3e598cdb3286cfdd1cadff /src/textbuf_type.h
parent9d7ec75fc0a396b47f91a5f7ec4bea59024fea5f (diff)
downloadopenttd-33f3cf3a5daeaf9e6e5b5414696f93676249bc41.tar.xz
(svn r25651) -Fix: Textbuf caret rendering for complex scripts (e.g. Tamil).
Diffstat (limited to 'src/textbuf_type.h')
-rw-r--r--src/textbuf_type.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/textbuf_type.h b/src/textbuf_type.h
index d0b75f818..b9d3d1a34 100644
--- a/src/textbuf_type.h
+++ b/src/textbuf_type.h
@@ -69,6 +69,8 @@ private:
bool CanMoveCaretRight();
WChar MoveCaretRight();
+ void UpdateWidth();
+ void UpdateCaretPosition();
};
#endif /* TEXTBUF_TYPE_H */