Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXColorWell.h>
Inheritance diagram for FX::FXColorWell:
Public Member Functions | |
FXColorWell (FXComposite *p, FXColor clr=0, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=COLORWELL_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 bool | canFocus () const |
virtual void | setFocus () |
virtual void | killFocus () |
void | setRGBA (FXColor clr, FXbool notify=FALSE) |
FXColor | getRGBA () const |
void | setHelpText (const FXString &text) |
const FXString & | getHelpText () const |
void | setTipText (const FXString &text) |
const FXString & | getTipText () const |
FXbool | isOpaqueOnly () const |
void | setOpaqueOnly (FXbool opaque) |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXColorWell () |
Colors may be dragged and dropped from one color well to another. A double-click inside a color well will bring up the standard color dialog panel to edit the color well's color. Colors may be also pasted by name using middle-mouse click into/out of color wells from/to other selection-capable applications; for example, you can highlight the word `red' and paste it into a color well. While the color value is being changed, the color well sends a SEL_CHANGED to its target; at the end of the change, it sends a SEL_COMMAND. The message data represents the current color value, of the type FXColor.
See also:
|
Construct color well with initial color clr.
|
|
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. |
|
Returns true because a color well can receive focus.
Reimplemented from FX::FXWindow. |
|
Move the focus to this window.
Reimplemented from FX::FXWindow. |
|
Remove the focus from this window.
Reimplemented from FX::FXWindow. |
|
Set color.
|
|
Get color.
|
|
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.
|
|
Return true if only opaque colors allowed.
|
|
Change opaque only mode.
|
|
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 |