diff options
Diffstat (limited to 'src/IconbarTool.hh')
-rw-r--r-- | src/IconbarTool.hh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/IconbarTool.hh b/src/IconbarTool.hh index 3d7848d..3512f78 100644 --- a/src/IconbarTool.hh +++ b/src/IconbarTool.hh | |||
@@ -29,6 +29,7 @@ | |||
29 | #include "Container.hh" | 29 | #include "Container.hh" |
30 | #include "FbMenu.hh" | 30 | #include "FbMenu.hh" |
31 | 31 | ||
32 | #include "FbTk/CachedPixmap.hh" | ||
32 | #include "FbTk/Observer.hh" | 33 | #include "FbTk/Observer.hh" |
33 | #include "FbTk/Resource.hh" | 34 | #include "FbTk/Resource.hh" |
34 | #include "FbTk/Menu.hh" | 35 | #include "FbTk/Menu.hh" |
@@ -88,7 +89,9 @@ public: | |||
88 | 89 | ||
89 | void setOrientation(FbTk::Orientation orient); | 90 | void setOrientation(FbTk::Orientation orient); |
90 | Container::Alignment alignment() const { return m_icon_container.alignment(); } | 91 | Container::Alignment alignment() const { return m_icon_container.alignment(); } |
92 | |||
91 | private: | 93 | private: |
94 | |||
92 | /// @return button associated with window | 95 | /// @return button associated with window |
93 | IconButton *findButton(FluxboxWindow &win); | 96 | IconButton *findButton(FluxboxWindow &win); |
94 | 97 | ||
@@ -122,10 +125,10 @@ private: | |||
122 | Container m_icon_container; | 125 | Container m_icon_container; |
123 | IconbarTheme &m_theme; | 126 | IconbarTheme &m_theme; |
124 | // cached pixmaps | 127 | // cached pixmaps |
125 | Pixmap m_focused_pm, m_unfocused_pm; | 128 | FbTk::CachedPixmap m_focused_pm, m_unfocused_pm; |
126 | // some are a fraction bigger due to rounding | 129 | // some are a fraction bigger due to rounding |
127 | Pixmap m_focused_err_pm, m_unfocused_err_pm; | 130 | FbTk::CachedPixmap m_focused_err_pm, m_unfocused_err_pm; |
128 | Pixmap m_empty_pm; ///< pixmap for empty container | 131 | FbTk::CachedPixmap m_empty_pm; ///< pixmap for empty container |
129 | 132 | ||
130 | 133 | ||
131 | IconList m_icon_list; | 134 | IconList m_icon_list; |