aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/IconbarTool.hh')
-rw-r--r--src/IconbarTool.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/IconbarTool.hh b/src/IconbarTool.hh
index 21c8078..6044005 100644
--- a/src/IconbarTool.hh
+++ b/src/IconbarTool.hh
@@ -68,6 +68,8 @@ public:
68 68
69 void setOrientation(FbTk::Orientation orient); 69 void setOrientation(FbTk::Orientation orient);
70 FbTk::Container::Alignment alignment() const { return m_icon_container.alignment(); } 70 FbTk::Container::Alignment alignment() const { return m_icon_container.alignment(); }
71 static std::string &iconifiedPrefix() { return s_iconifiedDecoration[0]; }
72 static std::string &iconifiedSuffix() { return s_iconifiedDecoration[1]; }
71 73
72 const BScreen &screen() const { return m_screen; } 74 const BScreen &screen() const { return m_screen; }
73private: 75private:
@@ -98,6 +100,8 @@ private:
98 /// called when the list emits a signal 100 /// called when the list emits a signal
99 void update(UpdateReason reason, Focusable *win); 101 void update(UpdateReason reason, Focusable *win);
100 102
103 void updateIconifiedPattern();
104
101 void themeReconfigured(); 105 void themeReconfigured();
102 106
103 BScreen &m_screen; 107 BScreen &m_screen;
@@ -118,6 +122,7 @@ private:
118 FbTk::Resource<bool> m_rc_use_pixmap; ///< if iconbar should use win pixmap or not 122 FbTk::Resource<bool> m_rc_use_pixmap; ///< if iconbar should use win pixmap or not
119 FbMenu m_menu; 123 FbMenu m_menu;
120 int m_alpha; 124 int m_alpha;
125 static std::string s_iconifiedDecoration[2];
121}; 126};
122 127
123#endif // ICONBARTOOL_HH 128#endif // ICONBARTOOL_HH