add eEnv::resolve() to resolve install paths at runtime
[enigma2.git] / lib / gui / ewidgetdesktop.h
index 34befbdf56ad97d353b8203b7de4a5fb76eb31d2..4ea5b57a2b9d0ebdf6e8b1c9bdc74847dcf3d731 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;