summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/FbWindow.hh10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh
index e0aa5d8..d09ed90 100644
--- a/src/FbTk/FbWindow.hh
+++ b/src/FbTk/FbWindow.hh
@@ -84,7 +84,9 @@ public:
84 virtual void clearArea(int x, int y, 84 virtual void clearArea(int x, int y,
85 unsigned int width, unsigned int height, 85 unsigned int width, unsigned int height,
86 bool exposures = false); 86 bool exposures = false);
87 void updateTransparent(int x = -1, int y = -1, unsigned int width = 0, unsigned int height = 0, Pixmap dest_override = None, bool override_is_offset = false); 87 void updateTransparent(int x = -1, int y = -1, unsigned int width = 0,
88 unsigned int height = 0, Pixmap dest_override = None,
89 bool override_is_offset = false);
88 90
89 void setAlpha(unsigned char alpha); 91 void setAlpha(unsigned char alpha);
90 92
@@ -198,6 +200,7 @@ protected:
198 200
199 /// updates x,y, width, height and screen num from X window 201 /// updates x,y, width, height and screen num from X window
200 void updateGeometry(); 202 void updateGeometry();
203
201private: 204private:
202 /// sets new X window and destroys old 205 /// sets new X window and destroys old
203 void setNew(Window win); 206 void setNew(Window win);
@@ -232,7 +235,10 @@ class ChangeProperty {
232public: 235public:
233 ChangeProperty(Display *disp, Atom prop, int mode, 236 ChangeProperty(Display *disp, Atom prop, int mode,
234 unsigned char *state, int num):m_disp(disp), 237 unsigned char *state, int num):m_disp(disp),
235 m_prop(prop), m_state(state), m_num(num), m_mode(mode){ 238 m_prop(prop),
239 m_state(state),
240 m_num(num),
241 m_mode(mode){
236 242
237 } 243 }
238 void operator () (FbTk::FbWindow *win) { 244 void operator () (FbTk::FbWindow *win) {