diff options
Diffstat (limited to 'src/FbTk/TextButton.hh')
-rw-r--r-- | src/FbTk/TextButton.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FbTk/TextButton.hh b/src/FbTk/TextButton.hh index eb48e61..22cda82 100644 --- a/src/FbTk/TextButton.hh +++ b/src/FbTk/TextButton.hh | |||
@@ -80,6 +80,8 @@ public: | |||
80 | 80 | ||
81 | protected: | 81 | protected: |
82 | virtual void drawText(int x_offset, int y_offset, FbDrawable *drawable_override); | 82 | virtual void drawText(int x_offset, int y_offset, FbDrawable *drawable_override); |
83 | // return true if the text will be truncated | ||
84 | bool textExceeds(int x_offset); | ||
83 | 85 | ||
84 | private: | 86 | private: |
85 | FbTk::Font *m_font; | 87 | FbTk::Font *m_font; |