diff options
Diffstat (limited to 'src/FbTk/FbWindow.hh')
-rw-r--r-- | src/FbTk/FbWindow.hh | 23 |
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 | ||
245 | bool operator == (Window win, const FbWindow &fbwin); | 245 | bool operator == (Window win, const FbWindow &fbwin); |
246 | 246 | ||
247 | /// helper class for some STL routines | ||
248 | class ChangeProperty { | ||
249 | public: | ||
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 | } | ||
262 | private: | ||
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. |
271 | class FbWindowRenderer { | 248 | class FbWindowRenderer { |
272 | public: | 249 | public: |