aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/TextButton.hh
diff options
context:
space:
mode:
authorMatteo Galiazzo <matteo@maltesenarrazioni.it>2008-05-05 12:05:52 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-05-05 12:05:52 (GMT)
commit4a3be045b28edac4953be9f195640654f8b5a1a1 (patch)
tree4b2e6466b54a5fb4bb6406ff9cf38c420be032df /src/FbTk/TextButton.hh
parentba604ac821b7c1c89d10b0e8c9f85fde948856ef (diff)
downloadfluxbox-4a3be045b28edac4953be9f195640654f8b5a1a1.zip
fluxbox-4a3be045b28edac4953be9f195640654f8b5a1a1.tar.bz2
add tooltips for iconbar buttons when title is too long to fit
Diffstat (limited to 'src/FbTk/TextButton.hh')
-rw-r--r--src/FbTk/TextButton.hh2
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
81protected: 81protected:
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
84private: 86private:
85 FbTk::Font *m_font; 87 FbTk::Font *m_font;