add preStart event and use it to load the cutlist
[enigma2.git] / lib / gui / ewidgetdesktop.h
index 7a0a36a..4ea5b57 100644 (file)
@@ -70,13 +70,16 @@ public:
        
        int getStyleID() { return m_style_id; }
        void setStyleID(int id) { m_style_id = id; }
+       
+       void resize(eSize size);
+       eSize size() const { return m_screen.m_screen_size; }
 private:
        ePtrList<eWidget> m_root;
        void calcWidgetClipRegion(eWidget *widget, gRegion &parent_visible);
        void paintBackground(eWidgetDesktopCompBuffer *comp);
        
        eMainloop *m_mainloop;
-       eTimer *m_timer;
+       ePtr<eTimer> m_timer;
        
        int m_comp_mode;
        int m_require_redraw;