protected:
iListboxContent();
friend class eListbox;
+ virtual void updateClip(gRegion &){ };
virtual void cursorHome()=0;
virtual void cursorEnd()=0;
virtual int cursorMove(int count=1)=0;
{
ePtr<gPixmap> m_background, m_selection;
int m_transparent_background;
- gRGB m_background_color, m_foreground_color;
- int m_background_color_set, m_foreground_color_set;
+ gRGB m_background_color, m_background_color_selected, m_foreground_color, m_foreground_color_selected;
+ int m_background_color_set, m_foreground_color_set, m_background_color_selected_set, m_foreground_color_selected_set;
/*
{m_transparent_background m_background_color_set m_background}
void setSelectionEnable(int en);
void setBackgroundColor(gRGB &col);
+ void setBackgroundColorSelected(gRGB &col);
void setForegroundColor(gRGB &col);
- void setBackgroundPicture(gPixmap *pm);
- void setSelectionPicture(gPixmap *pm);
+ void setForegroundColorSelected(gRGB &col);
+ void setBackgroundPicture(ePtr<gPixmap> &pixmap);
+ void setSelectionPicture(ePtr<gPixmap> &pixmap);
struct eListboxStyle *getLocalStyle(void);
#ifndef SWIG
/* 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();