X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/2e77a8fe974a2b01fee358d16fe76dbfdddfceba..cbfffe567b8f10fcadea7619f80d954ad879cff9:/lib/gui/elistbox.h diff --git a/lib/gui/elistbox.h b/lib/gui/elistbox.h index ace41898..20f23b5b 100644 --- a/lib/gui/elistbox.h +++ b/lib/gui/elistbox.h @@ -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,8 +121,8 @@ public: void setBackgroundColor(gRGB &col); void setForegroundColor(gRGB &col); - void setBackgroundPicture(gPixmap *pm); - void setSelectionPicture(gPixmap *pm); + void setBackgroundPicture(ePtr &pixmap); + void setSelectionPicture(ePtr &pixmap); struct eListboxStyle *getLocalStyle(void); #ifndef SWIG @@ -134,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 ®ion = gRegion::invalidRegion()); protected: int event(int event, void *data=0, void *data2=0); void recalcSize();