allow access to gfbdc from python to set resolution
[enigma2.git] / lib / gdi / grc.h
index adc1d3be82af0aacf7a5fbdb69c86d7f5e5bc704..57d3dce4098e71006eca2ad5e67dbd2e7edbbb14 100644 (file)
@@ -23,6 +23,7 @@
 #include <lib/gdi/region.h>
 #include <lib/gdi/gfont.h>
 
+#ifndef SWIG
 class eTextPara;
 
 class gDC;
@@ -255,10 +256,12 @@ public:
        void flip();
        void notify();
 };
+#endif
 
 class gDC: public iObject
 {
 DECLARE_REF(gDC);
+#ifndef SWIG
 protected:
        ePtr<gPixmap> m_pixmap;
 
@@ -270,11 +273,15 @@ protected:
        std::stack<gRegion> m_clip_stack;
        gRegion m_current_clip;
        
-       ePtr<gPixmap> m_spinner_saved;
+       ePtr<gPixmap> m_spinner_saved, m_spinner_temp;
+       ePtr<gPixmap> *m_spinner_pic;
        eRect m_spinner_pos;
-       
+       int m_spinner_num, m_spinner_i;
 public:
        virtual void exec(gOpcode *opcode);
+#else
+public:
+#endif
        gDC(gPixmap *pixmap);
        gDC();
        virtual ~gDC();
@@ -287,7 +294,7 @@ public:
        void enableSpinner();
        void disableSpinner();
        void incrementSpinner();
-       void setSpinner(eRect pos);
+       void setSpinner(eRect pos, ePtr<gPixmap> *pic, int len);
 };
 
 #endif