34 DIAL_HORIZONTAL = 0x00008000,
35 DIAL_CYCLIC = 0x00010000,
36 DIAL_HAS_NOTCH = 0x00020000,
37 DIAL_NORMAL = DIAL_VERTICAL
71 long onPaint(
FXObject*,FXSelector,
void*);
72 long onMotion(
FXObject*,FXSelector,
void*);
73 long onMouseWheel(
FXObject*,FXSelector,
void*);
74 long onLeftBtnPress(
FXObject*,FXSelector,
void* );
75 long onLeftBtnRelease(
FXObject*,FXSelector,
void*);
76 long onKeyPress(
FXObject*,FXSelector,
void*);
77 long onKeyRelease(
FXObject*,FXSelector,
void*);
78 long onUngrabbed(
FXObject*,FXSelector,
void*);
79 long onCmdSetValue(
FXObject*,FXSelector,
void*);
80 long onCmdSetIntValue(
FXObject*,FXSelector,
void*);
81 long onCmdGetIntValue(
FXObject*,FXSelector,
void*);
82 long onCmdSetLongValue(
FXObject*,FXSelector,
void*);
83 long onCmdGetLongValue(
FXObject*,FXSelector,
void*);
84 long onCmdSetRealValue(
FXObject*,FXSelector,
void*);
85 long onCmdGetRealValue(
FXObject*,FXSelector,
void*);
86 long onCmdSetIntRange(
FXObject*,FXSelector,
void*);
87 long onCmdGetIntRange(
FXObject*,FXSelector,
void*);
88 long onCmdSetRealRange(
FXObject*,FXSelector,
void*);
89 long onCmdGetRealRange(
FXObject*,FXSelector,
void*);
90 long onCmdSetHelp(
FXObject*,FXSelector,
void*);
91 long onCmdGetHelp(
FXObject*,FXSelector,
void*);
92 long onCmdSetTip(
FXObject*,FXSelector,
void*);
93 long onCmdGetTip(
FXObject*,FXSelector,
void*);
94 long onQueryHelp(
FXObject*,FXSelector,
void*);
95 long onQueryTip(
FXObject*,FXSelector,
void*);
99 FXDial(
FXComposite *p,
FXObject* tgt=
nullptr,FXSelector sel=0,FXuint opts=DIAL_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);
102 virtual FXint getDefaultWidth();
105 virtual FXint getDefaultHeight();
108 virtual FXbool canFocus()
const;
111 void setValue(FXint value,FXbool notify=
false);
117 void setRange(FXint lo,FXint hi,FXbool notify=
false);
120 void getRange(FXint& lo,FXint& hi)
const { lo=range[0]; hi=range[1]; }
129 void setRevolutionIncrement(FXint i);
139 void setNotchSpacing(FXint spacing);
149 void setNotchOffset(FXint offset);
155 void setDialStyle(FXuint opts);
158 FXuint getDialStyle()
const;
161 void setNotchColor(FXColor clr);
167 void setHelpText(
const FXString& text);
173 void setTipText(
const FXString& text);
179 virtual void save(
FXStream& store)
const;
const FXString & getHelpText() const
Get the current help text.
Definition: FXDial.h:170
FXint getNotchOffset() const
Get the current center notch offset.
Definition: FXDial.h:152
The Frame widget provides borders around some contents.
Definition: FXFrame.h:58
FXint getNotchSpacing() const
Get the current notch spacing.
Definition: FXDial.h:142
The Dial widget is a valuator widget which is able to provide a cyclic value range when the DIAL_CYCL...
Definition: FXDial.h:51
Base composite.
Definition: FXComposite.h:32
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
const FXString & getTipText() const
Get the current tooltip text value.
Definition: FXDial.h:176
void getRange(FXint &lo, FXint &hi) const
Obtain the current range of the dial.
Definition: FXDial.h:120
Definition: FX4Splitter.h:28
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:134
FXColor getNotchColor() const
Get the current center notch color.
Definition: FXDial.h:164
FXint getValue() const
Return the dial value.
Definition: FXDial.h:114
FXint getRevolutionIncrement() const
Get the current value of the revolution increment.
Definition: FXDial.h:132
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42