![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
A ColorList Widget displays a list of colors. More...
#include <FXColorList.h>
Public Member Functions | |
| FXColorList (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=LIST_BROWSESELECT, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
| Construct a list with initially no items in it. | |
| FXint | fillItems (const FXchar **strings, FXColor *colors=NULL, void *ptr=NULL, FXbool notify=false) |
| Fill list by appending color items from array of strings and array of colors. | |
| FXint | insertItem (FXint index, const FXString &text, FXColor color=0, void *ptr=NULL, FXbool notify=false) |
| Insert item at index with given text, color, and user-data pointer. | |
| FXint | appendItem (const FXString &text, FXColor color=0, void *ptr=NULL, FXbool notify=false) |
| Append new item with given text, color, and user-data pointer. | |
| FXint | prependItem (const FXString &text, FXColor color=0, void *ptr=NULL, FXbool notify=false) |
| Prepend new item with given text, color, and user-data pointer. | |
| void | setItemColor (FXint index, FXColor color) |
| Change item color. | |
| FXColor | getItemColor (FXint index) const |
| Return item color. | |
Protected Member Functions | |
| virtual FXListItem * | createItem (const FXString &text, FXIcon *icon, void *ptr) |
A ColorList Widget displays a list of colors.
|
|