aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.hh
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2008-01-02 21:44:16 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2008-01-02 21:44:16 (GMT)
commitb73411a95ffadf8d5c98429b49b08f86071b11dc (patch)
tree0f25b203d2b52dbd44775e3c4889ca662c040098 /src/FbTk/FbWindow.hh
parentd24e2aae6ed435d045990b6e3ce95de2df629be7 (diff)
downloadfluxbox_pavel-b73411a95ffadf8d5c98429b49b08f86071b11dc.zip
fluxbox_pavel-b73411a95ffadf8d5c98429b49b08f86071b11dc.tar.bz2
moved seldom used code to where it is actually used, no need to include code into compilation when its not needed
Diffstat (limited to 'src/FbTk/FbWindow.hh')
-rw-r--r--src/FbTk/FbWindow.hh23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh
index f266ec3..b8de60e 100644
--- a/src/FbTk/FbWindow.hh
+++ b/src/FbTk/FbWindow.hh
@@ -244,29 +244,6 @@ private:
244 244
245bool operator == (Window win, const FbWindow &fbwin); 245bool operator == (Window win, const FbWindow &fbwin);
246 246
247/// helper class for some STL routines
248class ChangeProperty {
249public:
250 ChangeProperty(Display *disp, Atom prop, int mode,
251 unsigned char *state, int num):m_disp(disp),
252 m_prop(prop),
253 m_state(state),
254 m_num(num),
255 m_mode(mode){
256
257 }
258 void operator () (FbTk::FbWindow *win) {
259 XChangeProperty(m_disp, win->window(), m_prop, m_prop, 32, m_mode,
260 m_state, m_num);
261 }
262private:
263 Display *m_disp;
264 Atom m_prop;
265 unsigned char *m_state;
266 int m_num;
267 int m_mode;
268};
269
270/// Interface class to render FbWindow foregrounds. 247/// Interface class to render FbWindow foregrounds.
271class FbWindowRenderer { 248class FbWindowRenderer {
272public: 249public: