aboutsummaryrefslogtreecommitdiff
path: root/src/IconButton.hh
diff options
context:
space:
mode:
authorHenrik Kinnunen <fluxgen@fluxbox.org>2008-05-09 17:39:02 (GMT)
committerHenrik Kinnunen <fluxgen@fluxbox.org>2008-05-09 17:39:02 (GMT)
commitc31638038aabd93c74373c7ee00fbefbc68d28ae (patch)
treeda658ad65f64c24495cfdc169449250efb5caac0 /src/IconButton.hh
parent05fa2be09642ff135eb32a4528103adf89cd71e7 (diff)
downloadfluxbox-c31638038aabd93c74373c7ee00fbefbc68d28ae.zip
fluxbox-c31638038aabd93c74373c7ee00fbefbc68d28ae.tar.bz2
Fixed so tooltip window in the iconbar when the title changes.
Diffstat (limited to 'src/IconButton.hh')
-rw-r--r--src/IconButton.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/IconButton.hh b/src/IconButton.hh
index bb41b8b..2a81c85 100644
--- a/src/IconButton.hh
+++ b/src/IconButton.hh
@@ -69,13 +69,16 @@ protected:
69 void drawText(int x, int y, FbTk::FbDrawable *drawable_override); 69 void drawText(int x, int y, FbTk::FbDrawable *drawable_override);
70private: 70private:
71 void setupWindow(); 71 void setupWindow();
72 void showTooltip();
72 73
73 Focusable &m_win; 74 Focusable &m_win;
74 FbTk::FbWindow m_icon_window; 75 FbTk::FbWindow m_icon_window;
75 FbTk::FbPixmap m_icon_pixmap; 76 FbTk::FbPixmap m_icon_pixmap;
76 FbTk::FbPixmap m_icon_mask; 77 FbTk::FbPixmap m_icon_mask;
77 bool m_use_pixmap; 78 bool m_use_pixmap;
78 79 /// whether or not this instance has the tooltip attention
80 /// i.e if it got enter notify
81 bool m_has_tooltip;
79 FocusableTheme<IconbarTheme> m_theme; 82 FocusableTheme<IconbarTheme> m_theme;
80 // cached pixmaps 83 // cached pixmaps
81 FbTk::CachedPixmap m_pm; 84 FbTk::CachedPixmap m_pm;