summaryrefslogtreecommitdiff
path: root/plugingui/lineedit.h
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2014-09-30 11:49:37 +0200
committerJonas Suhr Christensen <jsc@umbraculum.org>2014-09-30 11:49:37 +0200
commita5873ae2b89d7ac8fc650a0f75778f8dad07a102 (patch)
tree8b46da9d0d3eca412a0f96fa3dbd0b68d5234b7f /plugingui/lineedit.h
parent03174415207996a70cab47f6d2eab6ffc182a24f (diff)
Following marker.
Diffstat (limited to 'plugingui/lineedit.h')
-rw-r--r--plugingui/lineedit.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugingui/lineedit.h b/plugingui/lineedit.h
index 2c37522..f85e9bd 100644
--- a/plugingui/lineedit.h
+++ b/plugingui/lineedit.h
@@ -65,6 +65,15 @@ private:
std::string _text;
size_t pos;
+ std::string _visibletext;
+ size_t offsetpos;
+
+ enum state_t {
+ NOOP = 0,
+ WALK_LEFT = 1,
+ WALK_RIGHT = 2
+ };
+ state_t walkstate;
bool readonly;