diff options
author | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-05-09 17:39:02 (GMT) |
---|---|---|
committer | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-05-09 17:39:02 (GMT) |
commit | c31638038aabd93c74373c7ee00fbefbc68d28ae (patch) | |
tree | da658ad65f64c24495cfdc169449250efb5caac0 /src/IconButton.hh | |
parent | 05fa2be09642ff135eb32a4528103adf89cd71e7 (diff) | |
download | fluxbox_pavel-c31638038aabd93c74373c7ee00fbefbc68d28ae.zip fluxbox_pavel-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.hh | 5 |
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); |
70 | private: | 70 | private: |
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; |