diff options
Diffstat (limited to 'src/FbTk/TextBox.hh')
-rw-r--r-- | src/FbTk/TextBox.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FbTk/TextBox.hh b/src/FbTk/TextBox.hh index 20f3610..10741a8 100644 --- a/src/FbTk/TextBox.hh +++ b/src/FbTk/TextBox.hh | |||
@@ -37,6 +37,7 @@ public: | |||
37 | virtual ~TextBox(); | 37 | virtual ~TextBox(); |
38 | 38 | ||
39 | void setText(const FbTk::BiDiString &text); | 39 | void setText(const FbTk::BiDiString &text); |
40 | void setPadding(int padding); | ||
40 | void setFont(const Font &font); | 41 | void setFont(const Font &font); |
41 | void setGC(GC gc); | 42 | void setGC(GC gc); |
42 | void setCursorPosition(int cursor); | 43 | void setCursorPosition(int cursor); |
@@ -87,6 +88,7 @@ private: | |||
87 | BiDiString m_text; | 88 | BiDiString m_text; |
88 | GC m_gc; | 89 | GC m_gc; |
89 | std::string::size_type m_cursor_pos, m_start_pos, m_end_pos, m_select_pos; | 90 | std::string::size_type m_cursor_pos, m_start_pos, m_end_pos, m_select_pos; |
91 | int m_padding; | ||
90 | XIC m_xic; | 92 | XIC m_xic; |
91 | }; | 93 | }; |
92 | 94 | ||