aboutsummaryrefslogtreecommitdiff
path: root/src/Window.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.hh')
-rw-r--r--src/Window.hh11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/Window.hh b/src/Window.hh
index 585a176..1bae6e2 100644
--- a/src/Window.hh
+++ b/src/Window.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Window.hh,v 1.69 2003/05/10 16:51:39 fluxgen Exp $ 25// $Id: Window.hh,v 1.70 2003/05/10 23:03:49 fluxgen Exp $
26 26
27#ifndef WINDOW_HH 27#ifndef WINDOW_HH
28#define WINDOW_HH 28#define WINDOW_HH
@@ -302,7 +302,10 @@ public:
302 302
303 FbTk::Menu &getLayermenu() { return m_layermenu; } 303 FbTk::Menu &getLayermenu() { return m_layermenu; }
304 const FbTk::Menu &getLayermenu() const { return m_layermenu; } 304 const FbTk::Menu &getLayermenu() const { return m_layermenu; }
305 305
306 const FbTk::FbWindow &parent() const { return m_parent; }
307 FbTk::FbWindow &parent() { return m_parent; }
308
306 const std::string &getTitle() const; 309 const std::string &getTitle() const;
307 const std::string &getIconTitle() const; 310 const std::string &getIconTitle() const;
308 int getXFrame() const { return m_frame.x(); } 311 int getXFrame() const { return m_frame.x(); }
@@ -459,8 +462,10 @@ private:
459 FbTk::XLayerItem m_layeritem; 462 FbTk::XLayerItem m_layeritem;
460 int m_layernum; 463 int m_layernum;
461 464
465 FbTk::FbWindow &m_parent; ///< window on which we draw move/resize rectangle (the "root window")
466
462 enum { F_NOINPUT = 0, F_PASSIVE, F_LOCALLYACTIVE, F_GLOBALLYACTIVE }; 467 enum { F_NOINPUT = 0, F_PASSIVE, F_LOCALLYACTIVE, F_GLOBALLYACTIVE };
463 468
464}; 469};
465 470
466 471