summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-05-01 19:14:12 +0000
committerrubidium <rubidium@openttd.org>2011-05-01 19:14:12 +0000
commit1a515e6344028854c855671c19f49d8f869eb18f (patch)
treee1bba97c1a8fd80f564729cc2d5fc2049110cb2a /src/misc_gui.cpp
parentb27dd1dcd7375dae63724879eb0f56dd703e5312 (diff)
downloadopenttd-1a515e6344028854c855671c19f49d8f869eb18f.tar.xz
(svn r22405) -Document: some more "random-ish" tidbits
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r--src/misc_gui.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index e0e29c050..e7b27ed0e 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -1211,6 +1211,11 @@ void UpdateTextBufferSize(Textbuf *tb)
tb->caretxoffs = tb->pixels;
}
+/**
+ * Handle the flashing of the caret.
+ * @param tb The text buffer to handle the caret of.
+ * @return True if the caret state changes.
+ */
bool HandleCaret(Textbuf *tb)
{
/* caret changed? */