aboutsummaryrefslogtreecommitdiff
path: root/src/WinClient.hh
diff options
context:
space:
mode:
authorsimonb <simonb>2006-04-17 23:34:01 (GMT)
committersimonb <simonb>2006-04-17 23:34:01 (GMT)
commitb9af026688f0945196582af5773d62f5df3f97f3 (patch)
treed97e66e4271480644f3ff2a2c0106730d1f714f4 /src/WinClient.hh
parent3e6def97d18133baf82b596cb742a2f7ef4f9f00 (diff)
downloadfluxbox_pavel-b9af026688f0945196582af5773d62f5df3f97f3.zip
fluxbox_pavel-b9af026688f0945196582af5773d62f5df3f97f3.tar.bz2
iconbutton handling fixes
Diffstat (limited to 'src/WinClient.hh')
-rw-r--r--src/WinClient.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/WinClient.hh b/src/WinClient.hh
index 0f74695..d092aa7 100644
--- a/src/WinClient.hh
+++ b/src/WinClient.hh
@@ -128,6 +128,10 @@ public:
128 return (m_win == &win); 128 return (m_win == &win);
129 } 129 }
130 130
131 const FbTk::FbPixmap &iconPixmap() const { return m_icon_pixmap; }
132 const FbTk::FbPixmap &iconMask() const { return m_icon_mask; }
133 const bool usePixmap() const { return m_icon_pixmap.drawable() != None; }
134 const bool useMask() const { return m_icon_mask.drawable() != None; }
131 135
132 inline const std::string &title() const { return m_title; } 136 inline const std::string &title() const { return m_title; }
133 inline const std::string &iconTitle() const { return m_icon_title; } 137 inline const std::string &iconTitle() const { return m_icon_title; }
@@ -192,6 +196,9 @@ private:
192 std::string m_title, m_icon_title; 196 std::string m_title, m_icon_title;
193 std::string m_class_name, m_instance_name; 197 std::string m_class_name, m_instance_name;
194 198
199 FbTk::FbPixmap m_icon_pixmap;
200 FbTk::FbPixmap m_icon_mask;
201
195 FluxboxWindow::BlackboxHints *m_blackbox_hint; 202 FluxboxWindow::BlackboxHints *m_blackbox_hint;
196 MwmHints *m_mwm_hint; 203 MwmHints *m_mwm_hint;
197 204