+ /// Get the coordinates of the window
+ int getLeft() const { return m_left; }
+ int getTop() const { return m_top; }
+ int getWidth() const { return m_width; }
+ int getHeight() const { return m_height; }
+
+ /// Give access to the visibility variable
+ VarBool &getVisibleVar() { return *m_pVarVisible; }
+
+ /// Window type, mainly useful when overloaded (for VoutWindow)
+ virtual string getType() const { return "Generic"; }
+
+ /// windows handle
+ void* getOSHandle() const;
+
+ /// reparent
+ void setParent( GenericWindow* pParent, int x, int y, int w, int h );
+
+ protected:
+ /// Get the OS window
+ OSWindow *getOSWindow() const { return m_pOsWindow; }
+
+ /// These methods do not need to be public since they are accessed
+ /// only by the window manager or by inheritant classes.
+ //@{
+ /// Show the window
+ virtual void show() const;
+
+ /// Hide the window
+ virtual void hide() const;
+