41 virtual void draw(
const FXList* list,
FXDC& dc,FXint x,FXint y,FXint w,FXint h)
const;
42 virtual FXint hitItem(
const FXList* list,FXint x,FXint y)
const;
54 virtual FXint getWidth(
const FXList* list)
const;
57 virtual FXint getHeight(
const FXList* list)
const;
78 FXint fillItems(
const FXchar *
const *strings,FXColor *colors=
nullptr,
void* ptr=
nullptr,FXbool notify=
false);
81 FXint insertItem(FXint index,
const FXString& text,FXColor color=0,
void* ptr=
nullptr,FXbool notify=
false);
84 FXint appendItem(
const FXString& text,FXColor color=0,
void* ptr=
nullptr,FXbool notify=
false);
87 FXint prependItem(
const FXString& text,FXColor color=0,
void* ptr=
nullptr,FXbool notify=
false);
90 void setItemColor(FXint index,FXColor color);
93 FXColor getItemColor(FXint index)
const;
Color item.
Definition: FXColorList.h:32
FXColor getColor() const
Return item's color.
Definition: FXColorList.h:51
Base composite.
Definition: FXComposite.h:32
FXColorItem(const FXString &text, FXColor clr, void *ptr=nullptr)
Construct new item with given text, color, and user-data.
Definition: FXColorList.h:45
Abstract Device Context.
Definition: FXDC.h:153
A List Widget displays a list of items, each with a text and optional icon.
Definition: FXList.h:169
Definition: FX4Splitter.h:28
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:42
A ColorList Widget displays a list of colors.
Definition: FXColorList.h:64
void setColor(FXColor clr)
Change item's color.
Definition: FXColorList.h:48
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:134
List item.
Definition: FXList.h:48
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42