X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d31edc55afe5881edd22b2b058f3b2e8663cdf3d..16f9d918460fb645b3e64c65437fda2161abd93c:/lib/gui/elistbox.h diff --git a/lib/gui/elistbox.h b/lib/gui/elistbox.h index 62461e14..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,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 &pixmap); + void setSelectionPicture(ePtr &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 ®ion = gRegion::invalidRegion()); protected: int event(int event, void *data=0, void *data2=0); void recalcSize();