aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FbWindow.hh')
-rw-r--r--src/FbTk/FbWindow.hh10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh
index 0f4ff5e..fbd7b80 100644
--- a/src/FbTk/FbWindow.hh
+++ b/src/FbTk/FbWindow.hh
@@ -19,11 +19,13 @@
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.6 2003/01/05 22:55:14 fluxgen Exp $ 22// $Id: FbWindow.hh,v 1.7 2003/02/02 16:32:40 rathnor Exp $
23 23
24#ifndef FBTK_FBWINDOW_HH 24#ifndef FBTK_FBWINDOW_HH
25#define FBTK_FBWINDOW_HH 25#define FBTK_FBWINDOW_HH
26 26
27#include "XLayerItem.hh"
28
27#include <X11/Xlib.h> 29#include <X11/Xlib.h>
28 30
29namespace FbTk { 31namespace FbTk {
@@ -70,6 +72,10 @@ public:
70 void lower(); 72 void lower();
71 void raise(); 73 void raise();
72 74
75 XLayerItem *getLayerItem() const { return m_layeritem; }
76 void setLayerItem(XLayerItem *item) { m_layeritem = item; }
77
78
73 const FbWindow *parent() const { return m_parent; } 79 const FbWindow *parent() const { return m_parent; }
74 Window window() const { return m_window; } 80 Window window() const { return m_window; }
75 int x() const { return m_x; } 81 int x() const { return m_x; }
@@ -98,6 +104,8 @@ private:
98 int m_x, m_y; ///< position of window 104 int m_x, m_y; ///< position of window
99 size_t m_width, m_height; ///< size of window 105 size_t m_width, m_height; ///< size of window
100 size_t m_border_width; // border size 106 size_t m_border_width; // border size
107
108 XLayerItem *m_layeritem;
101}; 109};
102 110
103bool operator == (Window win, const FbWindow &fbwin); 111bool operator == (Window win, const FbWindow &fbwin);