add preStart event and use it to load the cutlist
[enigma2.git] / lib / gui / ewindow.h
index a5b92eda15cb13fd1cfed19f78cb9f4e83344d35..265f512adeeaeaf7e99857affc99962f9ce633c2 100644 (file)
@@ -10,7 +10,7 @@ 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);
        std::string getTitle() const;
        ~eWindow();
        void setTitle(const std::string &string);
        std::string getTitle() const;
@@ -19,6 +19,8 @@ public:
        enum {
                wfNoBorder = 1
        };
        enum {
                wfNoBorder = 1
        };
+
+       void setBackgroundColor(const gRGB &col);
        
        void setFlag(int flags);
        void clearFlag(int flags);
        
        void setFlag(int flags);
        void clearFlag(int flags);
@@ -32,6 +34,7 @@ private:
        std::string m_title;
        eWidget *m_child;
        int m_flags;
        std::string m_title;
        eWidget *m_child;
        int m_flags;
+       eWidgetDesktop *m_desktop;
 };
 
 #endif
 };
 
 #endif