gui: experimental Z order for root widgets
[enigma2.git] / lib / gui / ewindow.h
index 671a00791db0b5e1883bc332d51c1b91fe664342..d36d912401a5e85e739426c3c2d227a2f0e29fb0 100644 (file)
@@ -10,9 +10,18 @@ class eWindow: public eWidget
 {
        friend class eWindowStyle;
 public:
 {
        friend class eWindowStyle;
 public:
-       eWindow(eWidgetDesktop *desktop);
+       eWindow(eWidgetDesktop *desktop, int z = 0);
+       ~eWindow();
        void setTitle(const std::string &string);
        void setTitle(const std::string &string);
+       std::string getTitle() const;
        eWidget *child() { return m_child; }
        eWidget *child() { return m_child; }
+       
+       enum {
+               wfNoBorder = 1
+       };
+       
+       void setFlag(int flags);
+       void clearFlag(int flags);
 protected:
        enum eWindowEvents
        {
 protected:
        enum eWindowEvents
        {
@@ -22,7 +31,7 @@ protected:
 private:
        std::string m_title;
        eWidget *m_child;
 private:
        std::string m_title;
        eWidget *m_child;
-       ePtr<eWindowStyle> m_style;
+       int m_flags;
 };
 
 #endif
 };
 
 #endif