diff options
Diffstat (limited to 'src/FbTk')
-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 ae3526c..e0c4e51 100644 --- a/src/FbTk/FbWindow.hh +++ b/src/FbTk/FbWindow.hh | |||
@@ -245,29 +245,6 @@ private: | |||
245 | 245 | ||
246 | bool operator == (Window win, const FbWindow &fbwin); | 246 | bool operator == (Window win, const FbWindow &fbwin); |
247 | 247 | ||
248 | /// helper class for some STL routines | ||
249 | class ChangeProperty { | ||
250 | public: | ||
251 | ChangeProperty(Display *disp, Atom prop, int mode, | ||
252 | unsigned char *state, int num):m_disp(disp), | ||
253 | m_prop(prop), | ||
254 | m_state(state), | ||
255 | m_num(num), | ||
256 | m_mode(mode){ | ||
257 | |||
258 | } | ||
259 | void operator () (FbTk::FbWindow *win) { | ||
260 | XChangeProperty(m_disp, win->window(), m_prop, m_prop, 32, m_mode, | ||
261 | m_state, m_num); | ||
262 | } | ||
263 | private: | ||
264 | Display *m_disp; | ||
265 | Atom m_prop; | ||
266 | unsigned char *m_state; | ||
267 | int m_num; | ||
268 | int m_mode; | ||
269 | }; | ||
270 | |||
271 | /// Interface class to render FbWindow foregrounds. | 248 | /// Interface class to render FbWindow foregrounds. |
272 | class FbWindowRenderer { | 249 | class FbWindowRenderer { |
273 | public: | 250 | public: |