add preStart event and use it to load the cutlist
[enigma2.git] / lib / gui / ewindow.h
index 33ad7a7262a1316a1b1fc86dc7f0fcb11651a77d..265f512adeeaeaf7e99857affc99962f9ce633c2 100644 (file)
@@ -10,14 +10,17 @@ 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);
        ~eWindow();
        void setTitle(const std::string &string);
+       std::string getTitle() const;
        eWidget *child() { return m_child; }
        
        enum {
                wfNoBorder = 1
        };
        eWidget *child() { return m_child; }
        
        enum {
                wfNoBorder = 1
        };
+
+       void setBackgroundColor(const gRGB &col);
        
        void setFlag(int flags);
        void clearFlag(int flags);
        
        void setFlag(int flags);
        void clearFlag(int flags);
@@ -31,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