|
Laxkit
0.0.7.1
|
Holds a collection of colors. More...

Public Attributes | |
| unsigned int | setstyle |
| char * | name |
| RefPtrStack< Color > | colors |
Public Attributes inherited from Laxkit::anObject | |
| int | suppress_debug |
| DeleteRefCountedFunc | deleteMe |
| Called when the count is decremented to 0. | |
| unsigned long | object_id |
| char * | object_idstr |
Additional Inherited Members | |
Public Member Functions inherited from Laxkit::anObject | |
| anObject () | |
| Set object_id=getUniqueNumber(). | |
| virtual | ~anObject () |
| Empty virtual destructor. | |
| virtual const char * | whattype () |
| Returns the type of anObject. | |
| virtual anObject * | duplicate (anObject *ref=NULL) |
| virtual int | inc_count () |
| Increment the data's count by 1. Returns count. | |
| virtual int | dec_count () |
| Decrement the count of the data, deleting if count is less than or equal to 0. | |
| virtual int | the_count () |
Public Member Functions inherited from LaxFiles::DumpUtility | |
| virtual void | dump_out (FILE *f, int indent, int what, Laxkit::anObject *savecontext)=0 |
| what==0 means write out an Attribute formatted file. | |
| virtual Attribute * | dump_out_atts (Attribute *att, int what, Laxkit::anObject *savecontext) |
| Default is return NULL. what==0 means write out normal Attribute formatted things. | |
| virtual void | dump_in (FILE *f, int indent, int what, Laxkit::anObject *loadcontext, Attribute **att) |
| Read in a file segment as an Attribute, and pass parsing duties to dump_in_atts. | |
| virtual void | dump_in_atts (Attribute *att, int flag, Laxkit::anObject *loadcontext)=0 |
| Read the Attribute and take away what it can. | |
| virtual | ~DumpUtility () |
| Empty virtual destructor. | |
Protected Attributes inherited from Laxkit::anObject | |
| int | _count |
| The reference count of the object. | |
Holds a collection of colors.
This can be used for palettes, for instance.