Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXColorRing.h>
Inheritance diagram for FX::FXColorRing:
Public Member Functions | |
FXColorRing (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=FRAME_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD) | |
virtual void | create () |
virtual void | detach () |
virtual void | layout () |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
void | setHue (FXfloat h) |
FXfloat | getHue () const |
void | setSat (FXfloat s) |
FXfloat | getSat () const |
void | setVal (FXfloat v) |
FXfloat | getVal () const |
void | setHueSatVal (FXfloat h, FXfloat s, FXfloat v) |
void | setRingWidth (FXint rw) |
FXint | getRingWidth () const |
void | setHelpText (const FXString &text) |
const FXString & | getHelpText () const |
void | setTipText (const FXString &text) |
const FXString & | getTipText () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXColorRing () |
The outer ring of the widget is rotated to control the hue of the color being specified, while the inner triangle varies the color saturation and the brightness of the color. The color saturation axis of the triangle goes from a fully saturated "pure" color to "pastel" color; the brightness goes from black to a bright color.
|
Construct color ring with initial color clr.
|
|
Destructor.
|
|
Create server-side resources.
Reimplemented from FX::FXWindow. |
|
Detach server-side resources.
Reimplemented from FX::FXWindow. |
|
Perform layout.
Reimplemented from FX::FXWindow. |
|
Return default width.
Reimplemented from FX::FXFrame. |
|
Return default height.
Reimplemented from FX::FXFrame. |
|
Change hue.
|
|
Return hue.
|
|
Change saturation.
|
|
Return saturation.
|
|
Change value.
|
|
Return value.
|
|
Set hue, saturation, value.
|
|
Change width of hue ring.
|
|
Return width of hue ring.
|
|
Set status line help text for this color well.
|
|
Get status line help text for this color well.
|
|
Set tool tip message for this color well.
|
|
Get tool tip message for this color well.
|
|
Save color well to a stream.
Reimplemented from FX::FXFrame. |
|
Load color well from a stream.
Reimplemented from FX::FXFrame. |
Copyright © 1997-2005 Jeroen van der Zijp |