add spinner
[enigma2.git] / lib / gdi / grc.h
index 9f32e9110175baab9c184e21beb401de7bfc5386..adc1d3be82af0aacf7a5fbdb69c86d7f5e5bc704 100644 (file)
@@ -270,6 +270,9 @@ protected:
        std::stack<gRegion> m_clip_stack;
        gRegion m_current_clip;
        
+       ePtr<gPixmap> m_spinner_saved;
+       eRect m_spinner_pos;
+       
 public:
        virtual void exec(gOpcode *opcode);
        gDC(gPixmap *pixmap);
@@ -280,6 +283,11 @@ public:
        gRGB getRGB(gColor col);
        virtual eSize size() { return m_pixmap->size(); }
        virtual int islocked() { return 0; }
+       
+       void enableSpinner();
+       void disableSpinner();
+       void incrementSpinner();
+       void setSpinner(eRect pos);
 };
 
 #endif