diff options
Diffstat (limited to 'src/FbTk/FbWindow.hh')
-rw-r--r-- | src/FbTk/FbWindow.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh index 091fb48..b69dfd7 100644 --- a/src/FbTk/FbWindow.hh +++ b/src/FbTk/FbWindow.hh | |||
@@ -58,7 +58,7 @@ public: | |||
58 | int x, int y, unsigned int width, unsigned int height, long eventmask, | 58 | int x, int y, unsigned int width, unsigned int height, long eventmask, |
59 | bool overrride_redirect = false, | 59 | bool overrride_redirect = false, |
60 | bool save_unders = false, | 60 | bool save_unders = false, |
61 | int depth = CopyFromParent, | 61 | unsigned int depth = CopyFromParent, |
62 | int class_type = InputOutput); | 62 | int class_type = InputOutput); |
63 | 63 | ||
64 | FbWindow(const FbWindow &parent, | 64 | FbWindow(const FbWindow &parent, |
@@ -67,7 +67,7 @@ public: | |||
67 | long eventmask, | 67 | long eventmask, |
68 | bool overrride_redirect = false, | 68 | bool overrride_redirect = false, |
69 | bool save_unders = false, | 69 | bool save_unders = false, |
70 | int depth = CopyFromParent, | 70 | unsigned int depth = CopyFromParent, |
71 | int class_type = InputOutput); | 71 | int class_type = InputOutput); |
72 | 72 | ||
73 | virtual ~FbWindow(); | 73 | virtual ~FbWindow(); |
@@ -179,7 +179,7 @@ public: | |||
179 | inline unsigned int width() const { return m_width; } | 179 | inline unsigned int width() const { return m_width; } |
180 | inline unsigned int height() const { return m_height; } | 180 | inline unsigned int height() const { return m_height; } |
181 | inline unsigned int borderWidth() const { return m_border_width; } | 181 | inline unsigned int borderWidth() const { return m_border_width; } |
182 | inline int depth() const { return m_depth; } | 182 | inline unsigned int depth() const { return m_depth; } |
183 | unsigned char alpha() const; | 183 | unsigned char alpha() const; |
184 | int screenNumber() const; | 184 | int screenNumber() const; |
185 | long eventMask() const; | 185 | long eventMask() const; |
@@ -218,7 +218,7 @@ private: | |||
218 | long eventmask, | 218 | long eventmask, |
219 | bool override_redirect, | 219 | bool override_redirect, |
220 | bool save_unders, | 220 | bool save_unders, |
221 | int depth, | 221 | unsigned int depth, |
222 | int class_type); | 222 | int class_type); |
223 | 223 | ||
224 | const FbWindow *m_parent; ///< parent FbWindow | 224 | const FbWindow *m_parent; ///< parent FbWindow |
@@ -227,7 +227,7 @@ private: | |||
227 | int m_x, m_y; ///< position of window | 227 | int m_x, m_y; ///< position of window |
228 | unsigned int m_width, m_height; ///< size of window | 228 | unsigned int m_width, m_height; ///< size of window |
229 | unsigned int m_border_width; ///< border size | 229 | unsigned int m_border_width; ///< border size |
230 | int m_depth; ///< bit depth | 230 | unsigned int m_depth; ///< bit depth |
231 | bool m_destroy; ///< wheter the x window was created before | 231 | bool m_destroy; ///< wheter the x window was created before |
232 | std::auto_ptr<FbTk::Transparent> m_transparent; | 232 | std::auto_ptr<FbTk::Transparent> m_transparent; |
233 | bool m_lastbg_color_set; | 233 | bool m_lastbg_color_set; |