Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXColorList Class Reference

A ColorList Widget displays a list of colors. More...

#include <FXColorList.h>

Inheritance diagram for FX::FXColorList:
FX::FXList FX::FXScrollArea FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject

List of all members.

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 FXListItemcreateItem (const FXString &text, FXIcon *icon, void *ptr)

Detailed Description

A ColorList Widget displays a list of colors.


The documentation for this class was generated from the following file:

Copyright © 1997-2011 Jeroen van der Zijp