This fixed the PicturePlayer to check if a file is local rather than accepting files...
[enigma2.git] / lib / gui / elistbox.h
index 62461e14fc8cdb9e36edca9e7d7318726f775973..20f23b5b9a5a66d0b68f5236890a26fd8e6a4f3e 100644 (file)
@@ -26,6 +26,7 @@ public:
 protected:
        iListboxContent();
        friend class eListbox;
+       virtual void updateClip(gRegion &){ };
        virtual void cursorHome()=0;
        virtual void cursorEnd()=0;
        virtual int cursorMove(int count=1)=0;
@@ -120,9 +121,8 @@ public:
 
        void setBackgroundColor(gRGB &col);
        void setForegroundColor(gRGB &col);
-       void setTransparent(int t);
-       void setBackgroundPicture(gPixmap *pm);
-       void setSelectionPicture(gPixmap *pm);
+       void setBackgroundPicture(ePtr<gPixmap> &pixmap);
+       void setSelectionPicture(ePtr<gPixmap> &pixmap);
 
        struct eListboxStyle *getLocalStyle(void);
 #ifndef SWIG
@@ -135,6 +135,8 @@ public:
                /* the complete list changed. you should not attemp to keep the current index. */
        void entryReset(bool cursorHome=true);
 
+       int getEntryTop();
+       void invalidate(const gRegion &region = gRegion::invalidRegion());
 protected:
        int event(int event, void *data=0, void *data2=0);
        void recalcSize();