33 COLORWELL_OPAQUEONLY = 0x00008000,
34 COLORWELL_SOURCEONLY = 0x00010000,
35 COLORWELL_NORMAL = FRAME_SUNKEN|FRAME_THICK
65 long onPaint(
FXObject*,FXSelector,
void*);
66 long onLeftBtnPress(
FXObject*,FXSelector,
void*);
67 long onLeftBtnRelease(
FXObject*,FXSelector,
void*);
68 long onKeyPress(
FXObject*,FXSelector,
void*);
69 long onKeyRelease(
FXObject*,FXSelector,
void*);
70 long onUngrabbed(
FXObject*,FXSelector,
void*);
71 long onMotion(
FXObject*,FXSelector,
void*);
72 long onBeginDrag(
FXObject*,FXSelector,
void*);
73 long onEndDrag(
FXObject*,FXSelector,
void*);
74 long onDragged(
FXObject*,FXSelector,
void*);
75 long onFocusIn(
FXObject*,FXSelector,
void*);
76 long onFocusOut(
FXObject*,FXSelector,
void*);
77 long onDNDEnter(
FXObject*,FXSelector,
void*);
78 long onDNDLeave(
FXObject*,FXSelector,
void*);
79 long onDNDMotion(
FXObject*,FXSelector,
void*);
80 long onDNDDrop(
FXObject*,FXSelector,
void*);
81 long onDNDRequest(
FXObject*,FXSelector,
void*);
82 long onClicked(
FXObject*,FXSelector,
void*);
83 long onDoubleClicked(
FXObject*,FXSelector,
void*);
84 long onCmdSetValue(
FXObject*,FXSelector,
void*);
85 long onCmdSetIntValue(
FXObject*,FXSelector,
void*);
86 long onCmdGetIntValue(
FXObject*,FXSelector,
void*);
87 long onCmdSetHelp(
FXObject*,FXSelector,
void*);
88 long onCmdGetHelp(
FXObject*,FXSelector,
void*);
89 long onCmdSetTip(
FXObject*,FXSelector,
void*);
90 long onCmdGetTip(
FXObject*,FXSelector,
void*);
91 long onQueryHelp(
FXObject*,FXSelector,
void*);
92 long onQueryTip(
FXObject*,FXSelector,
void*);
93 long onUpdColor(
FXObject*,FXSelector,
void*);
94 long onChgColor(
FXObject*,FXSelector,
void*);
95 long onCmdColor(
FXObject*,FXSelector,
void*);
98 ID_COLOR=FXFrame::ID_LAST,
104 FXColorWell(
FXComposite* p,FXColor clr=0,
FXObject* tgt=
nullptr,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);
107 virtual FXint getDefaultWidth();
110 virtual FXint getDefaultHeight();
113 virtual FXbool canFocus()
const;
116 virtual void setFocus();
119 virtual void killFocus();
122 void setRGBA(FXColor clr,FXbool notify=
false);
140 void setWellSise(FXint ws);
146 FXbool isOpaqueOnly()
const;
149 void setOpaqueOnly(FXbool opaque);
152 FXbool isSourceOnly()
const;
155 void setSourceOnly(FXbool srconly);
158 virtual void save(
FXStream& store)
const;
void setHelpText(const FXString &text)
Set status line help text for this color well.
Definition: FXColorWell.h:128
The Frame widget provides borders around some contents.
Definition: FXFrame.h:58
void setTipText(const FXString &text)
Set tool tip message for this color well.
Definition: FXColorWell.h:134
Base composite.
Definition: FXComposite.h:32
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
A color well is a widget which controls color settings.
Definition: FXColorWell.h:51
Definition: FX4Splitter.h:28
const FXString & getHelpText() const
Get status line help text for this color well.
Definition: FXColorWell.h:131
const FXString & getTipText() const
Get tool tip message for this color well.
Definition: FXColorWell.h:137
FXColor getRGBA() const
Get color.
Definition: FXColorWell.h:125
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:138
FXint getWellSize() const
Return well size.
Definition: FXColorWell.h:143
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42