add preStart event and use it to load the cutlist
[enigma2.git] / lib / gui / ewidgetdesktop.h
index 34befbd..4ea5b57 100644 (file)
@@ -72,13 +72,14 @@ public:
        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;