aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/TextBox.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/TextBox.hh')
-rw-r--r--src/FbTk/TextBox.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/FbTk/TextBox.hh b/src/FbTk/TextBox.hh
index ea3d00c..6b68f28 100644
--- a/src/FbTk/TextBox.hh
+++ b/src/FbTk/TextBox.hh
@@ -69,10 +69,15 @@ public:
69 GC gc() const { return m_gc; } 69 GC gc() const { return m_gc; }
70 int cursorPosition() const { return m_cursor_pos; } 70 int cursorPosition() const { return m_cursor_pos; }
71 71
72 int findEmptySpaceLeft();
73 int findEmptySpaceRight();
74
72private: 75private:
73 void adjustEndPos(); 76 void adjustEndPos();
74 void adjustStartPos(); 77 void adjustStartPos();
75 78
79 void adjustPos();
80
76 const FbTk::Font *m_font; 81 const FbTk::Font *m_font;
77 std::string m_text; 82 std::string m_text;
78 GC m_gc; 83 GC m_gc;