aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/FbWindow.hh22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh
index 499d3ad..d44e36f 100644
--- a/src/FbTk/FbWindow.hh
+++ b/src/FbTk/FbWindow.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbWindow.hh,v 1.27 2003/12/30 17:17:05 fluxgen Exp $ 22// $Id: FbWindow.hh,v 1.28 2004/01/21 20:22:26 fluxgen Exp $
23 23
24#ifndef FBTK_FBWINDOW_HH 24#ifndef FBTK_FBWINDOW_HH
25#define FBTK_FBWINDOW_HH 25#define FBTK_FBWINDOW_HH
@@ -141,20 +141,20 @@ public:
141 inline Window window() const { return m_window; } 141 inline Window window() const { return m_window; }
142 /// @return drawable (the X window) 142 /// @return drawable (the X window)
143 inline Drawable drawable() const { return window(); } 143 inline Drawable drawable() const { return window(); }
144 int x() const { return m_x; } 144 inline int x() const { return m_x; }
145 int y() const { return m_y; } 145 inline int y() const { return m_y; }
146 unsigned int width() const { return m_width; } 146 inline unsigned int width() const { return m_width; }
147 unsigned int height() const { return m_height; } 147 inline unsigned int height() const { return m_height; }
148 unsigned int borderWidth() const { return m_border_width; } 148 inline unsigned int borderWidth() const { return m_border_width; }
149 int depth() const { return m_depth; } 149 inline int depth() const { return m_depth; }
150 int screenNumber() const; 150 int screenNumber() const;
151 long eventMask() const; 151 long eventMask() const;
152 /// compare X window 152 /// compare X window
153 bool operator == (Window win) const { return m_window == win; } 153 inline bool operator == (Window win) const { return m_window == win; }
154 bool operator != (Window win) const { return m_window != win; } 154 inline bool operator != (Window win) const { return m_window != win; }
155 /// compare two windows 155 /// compare two windows
156 bool operator == (const FbWindow &win) const { return m_window == win.m_window; } 156 inline bool operator == (const FbWindow &win) const { return m_window == win.m_window; }
157 bool operator != (const FbWindow &win) const { return m_window != win.m_window; } 157 inline bool operator != (const FbWindow &win) const { return m_window != win.m_window; }
158 158
159protected: 159protected:
160 /// creates a window with x window client (m_window = client) 160 /// creates a window with x window client (m_window = client)