diff options
author | Thomas Lübking <thomas.luebking@gmail.com> | 2016-08-13 14:37:57 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2016-09-03 17:29:52 (GMT) |
commit | 3058861f8977374dff1ed6401bbdac9cce92bc99 (patch) | |
tree | 9250463d6421c52b92b7bfc8f7a3e28311473235 /src/IconbarTool.hh | |
parent | e99d940f407d37f31ecda0f4878a161bfc479a46 (diff) | |
download | fluxbox-3058861f8977374dff1ed6401bbdac9cce92bc99.zip fluxbox-3058861f8977374dff1ed6401bbdac9cce92bc99.tar.bz2 |
indicate iconified windows in iconbar
Diffstat (limited to 'src/IconbarTool.hh')
-rw-r--r-- | src/IconbarTool.hh | 5 |
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; } |
73 | private: | 75 | private: |
@@ -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 |