summaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FbWindow.hh')
-rw-r--r--src/FbTk/FbWindow.hh11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh
index edeffe1..b9f5e18 100644
--- a/src/FbTk/FbWindow.hh
+++ b/src/FbTk/FbWindow.hh
@@ -57,7 +57,9 @@ public:
57 bool overrride_redirect = false, 57 bool overrride_redirect = false,
58 bool save_unders = false, 58 bool save_unders = false,
59 unsigned int depth = CopyFromParent, 59 unsigned int depth = CopyFromParent,
60 int class_type = InputOutput); 60 int class_type = InputOutput,
61 Visual *visual = CopyFromParent,
62 Colormap cmap = CopyFromParent);
61 63
62 FbWindow(const FbWindow &parent, 64 FbWindow(const FbWindow &parent,
63 int x, int y, 65 int x, int y,
@@ -206,6 +208,8 @@ protected:
206 /// creates a window with x window client (m_window = client) 208 /// creates a window with x window client (m_window = client)
207 explicit FbWindow(Window client); 209 explicit FbWindow(Window client);
208 210
211 void setDepth(unsigned int depth) { m_depth = depth; }
212
209private: 213private:
210 /// sets new X window and destroys old 214 /// sets new X window and destroys old
211 void setNew(Window win); 215 void setNew(Window win);
@@ -215,7 +219,9 @@ private:
215 bool override_redirect, 219 bool override_redirect,
216 bool save_unders, 220 bool save_unders,
217 unsigned int depth, 221 unsigned int depth,
218 int class_type); 222 int class_type,
223 Visual *visual,
224 Colormap cmap);
219 225
220 const FbWindow *m_parent; ///< parent FbWindow 226 const FbWindow *m_parent; ///< parent FbWindow
221 int m_screen_num; ///< screen num on which this window exist 227 int m_screen_num; ///< screen num on which this window exist
@@ -249,7 +255,6 @@ public:
249 virtual ~FbWindowRenderer() { } 255 virtual ~FbWindowRenderer() { }
250}; 256};
251 257
252
253} // end namespace FbTk 258} // end namespace FbTk
254 259
255#endif // FBTK_FBWINDOW_HH 260#endif // FBTK_FBWINDOW_HH