[tvision Index] [tvision Hierarchy] [Headers]
Change the standard palette More...
#include <colorsel.h>
Inherits: TDialog
This class implements a dialog used to change the standard color palette.
See Also: TDialog
[public]
Constructor.
`aPalette' is a pointer to the initial palette to be modified. This class creates a local copy of the initial palette, so the initial palette is never modified. You may safely leave this field to 0 and set the palette with a subsequent call to setData(). `aGroups' is a pointer to a cluster of objects which specifies all the items in the palette.
See file `demo/tvdemo2.cc' for an example.
[public]
Destructor.
Deletes the local copy of the palette.
[public virtual]
Returns the size of the palette, expressed in bytes.
[public virtual]
Reads the data record of this dialog.
`rec' should point to a TPalette object. Its contents will be overwritten by the contents of this object.
[public virtual]
Handles TColorDialog events.
[public virtual]
Writes the data record of this view.
`rec' should point to a TPalette object.
[public]
Is a pointer to the local palette.
[public]
YYY
[public]
YYY
[public static]
YYY
[protected]
YYY
[protected]
YYY
[protected]
YYY
[protected]
YYY
[protected]
YYY
[protected]
YYY
[protected]
YYY
[protected]
YYY
[protected]
YYY
[protected]
Constructor.
Used to recover the dialog from a stream.
[protected virtual]
Used to store the dialog in a stream.
[protected virtual]
Used to recover the dialog from a stream.
Documentation generated by sergio@athena.milk.it on Wed Feb 10 22:11:47 CET 1999 | Kdoc |