summaryrefslogtreecommitdiff
path: root/src/textbuf_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/textbuf_type.h')
-rw-r--r--src/textbuf_type.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/textbuf_type.h b/src/textbuf_type.h
index 0c4208f53..194c241ad 100644
--- a/src/textbuf_type.h
+++ b/src/textbuf_type.h
@@ -12,6 +12,8 @@
#ifndef TEXTBUF_TYPE_H
#define TEXTBUF_TYPE_H
+#include "string_type.h"
+
/** Helper/buffer for input fields. */
struct Textbuf {
char *buf; ///< buffer in which text is saved
@@ -38,6 +40,11 @@ struct Textbuf {
private:
void DelChar(bool backspace);
+ bool CanMoveCaretLeft();
+ WChar MoveCaretLeft();
+ bool CanMoveCaretRight();
+ WChar MoveCaretRight();
+
};
#endif /* TEXTBUF_TYPE_H */