aboutsummaryrefslogtreecommitdiff
path: root/src/IconButton.hh
diff options
context:
space:
mode:
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;