Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXColorBar.h>
Inheritance diagram for FX::FXColorBar:
Public Member Functions | |
FXColorBar (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 FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
virtual void | layout () |
void | setHue (FXfloat h) |
FXfloat | getHue () const |
void | setSat (FXfloat s) |
FXfloat | getSat () const |
void | setVal (FXfloat v) |
FXfloat | getVal () const |
FXuint | getBarStyle () const |
void | setBarStyle (FXuint style) |
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 | ~FXColorBar () |
It is most useful when used together with the Color Wheel which controls the hue and saturation. The options COLORBAR_HORIZONTAL and COLORBAR_VERTICAL control the orientation of the bar.
See also:
|
Construct color bar.
|
|
Destructor.
|
|
Create server-side resources.
Reimplemented from FX::FXWindow. |
|
Detach server-side resources.
Reimplemented from FX::FXWindow. |
|
Return default width.
Reimplemented from FX::FXFrame. |
|
Return default height.
Reimplemented from FX::FXFrame. |
|
Perform layout.
Reimplemented from FX::FXWindow. |
|
Change hue.
|
|
Return hue.
|
|
Change saturation.
|
|
Return saturation.
|
|
Change value.
|
|
Return value.
|
|
Change the color bar style.
|
|
Get the color bar style.
|
|
Set status line help text for this color bar.
|
|
Get status line help text for this color bar.
|
|
Set tool tip message for this color bar.
|
|
Get tool tip message for this color bar.
|
|
Save color bar to a stream.
Reimplemented from FX::FXFrame. |
|
Load color bar from a stream.
Reimplemented from FX::FXFrame. |
Copyright © 1997-2005 Jeroen van der Zijp |