![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXColorDialog.h>
Public Member Functions | |
FXColorDialog (FXWindow *owner, const FXString &name, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
void | setRGBA (FXColor clr) |
FXColor | getRGBA () const |
FXbool | isOpaqueOnly () const |
void | setOpaqueOnly (FXbool forceopaque) |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXColorDialog () |
Colors can be edited via RGB (Red, Green, Blue additive color model), via HSV (Hue, Saturation, Value color modal), via CMY (Cyan, Magenta, Yellow subtractive color model), or by name. Commonly used colors can be dragged into a number of small color wells to be used repeatedly; colors dropped into the small color wells are automatically saved into the registry for future use.
FX::FXColorDialog::FXColorDialog | ( | FXWindow * | owner, | |
const FXString & | name, | |||
FXuint | opts = 0 , |
|||
FXint | x = 0 , |
|||
FXint | y = 0 , |
|||
FXint | w = 0 , |
|||
FXint | h = 0 | |||
) |
Construct color dialog.
virtual FX::FXColorDialog::~FXColorDialog | ( | ) | [virtual] |
Destructor.
void FX::FXColorDialog::setRGBA | ( | FXColor | clr | ) |
Set the color.
FXColor FX::FXColorDialog::getRGBA | ( | ) | const |
Get the color.
FXbool FX::FXColorDialog::isOpaqueOnly | ( | ) | const |
Return true if only opaque colors allowed.
void FX::FXColorDialog::setOpaqueOnly | ( | FXbool | forceopaque | ) |
Change opaque only mode.
virtual void FX::FXColorDialog::save | ( | FXStream & | store | ) | const [virtual] |
virtual void FX::FXColorDialog::load | ( | FXStream & | store | ) | [virtual] |
![]() |