38 GAUGE_PIVOT_CENTER = 0x00008000,
39 GAUGE_PIVOT_INSIDE = 0x00010000,
40 GAUGE_ELLIPTICAL = 0x00020000,
41 GAUGE_CYCLIC = 0x00040000
67 FXdouble majorTickDelta;
68 FXdouble minorTickDelta;
69 FXColor majorTickColor;
70 FXColor minorTickColor;
71 FXshort majorTickSize;
72 FXshort minorTickSize;
80 void drawPointer(
FXDCWindow& dc,FXdouble ang,FXint xx,FXint yy,FXint ww,FXint hh,FXint cx,FXint cy,FXint rx,FXint ry,FXint p)
const;
81 void drawGauge(
FXDCWindow& dc,FXint xx,FXint yy,FXint ww,FXint hh,FXint cx,FXint cy,FXint rx,FXint ry)
const;
86 long onPaint(
FXObject*,FXSelector,
void*);
87 long onQueryHelp(
FXObject*,FXSelector,
void*);
88 long onQueryTip(
FXObject*,FXSelector,
void*);
89 long onCmdSetValue(
FXObject*,FXSelector,
void*);
90 long onCmdSetIntValue(
FXObject*,FXSelector,
void*);
91 long onCmdGetIntValue(
FXObject*,FXSelector,
void*);
92 long onCmdSetRealValue(
FXObject*,FXSelector,
void*);
93 long onCmdGetRealValue(
FXObject*,FXSelector,
void*);
94 long onCmdSetLongValue(
FXObject*,FXSelector,
void*);
95 long onCmdGetLongValue(
FXObject*,FXSelector,
void*);
96 long onCmdSetIntRange(
FXObject*,FXSelector,
void*);
97 long onCmdGetIntRange(
FXObject*,FXSelector,
void*);
98 long onCmdSetRealRange(
FXObject*,FXSelector,
void*);
99 long onCmdGetRealRange(
FXObject*,FXSelector,
void*);
100 long onCmdSetHelp(
FXObject*,FXSelector,
void*);
101 long onCmdGetHelp(
FXObject*,FXSelector,
void*);
102 long onCmdSetTip(
FXObject*,FXSelector,
void*);
103 long onCmdGetTip(
FXObject*,FXSelector,
void*);
107 FXGauge(
FXComposite* p,FXuint opts=FRAME_NORMAL,FXint startang=180,FXint sweepang=-180,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);
110 virtual FXint getDefaultWidth();
113 virtual FXint getDefaultHeight();
116 void setCaption(
const FXString& text);
122 void setStartAngle(FXint degrees);
128 void setSweepAngle(FXint degrees);
134 void setValue(FXdouble v,FXbool notify=
false);
140 void setRange(FXdouble lo,FXdouble hi,FXbool notify=
false);
143 void getRange(FXdouble& lo,FXdouble& hi)
const { lo=range[0]; hi=range[1]; }
146 void setMajorTickDelta(FXdouble delta);
152 void setMinorTickDelta(FXdouble delta);
158 void setGaugeStyle(FXuint style);
161 FXuint getGaugeStyle()
const;
164 void setNumberFont(
FXFont* fnt);
170 void setCaptionFont(
FXFont* fnt);
188 virtual void save(
FXStream& store)
const;
FXFont * getNumberFont() const
Get the number font.
Definition: FXGauge.h:167
Gauge widget.
Definition: FXGauge.h:48
FXint getSweepAngle() const
Return sweep angle in degrees ccw.
Definition: FXGauge.h:131
The Frame widget provides borders around some contents.
Definition: FXFrame.h:58
void setTipText(const FXString &text)
Set the tip text to be displayed in the tooltip.
Definition: FXGauge.h:182
Base composite.
Definition: FXComposite.h:32
FXdouble getMajorTickDelta() const
Get major tick space.
Definition: FXGauge.h:149
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
FXdouble getMinorTickDelta() const
Get minor tick space.
Definition: FXGauge.h:155
const FXString & getTipText() const
Get the current tooltip text value.
Definition: FXGauge.h:185
Definition: FX4Splitter.h:28
const FXString & getHelpText() const
Get the current help text.
Definition: FXGauge.h:179
FXString getCaption() const
Get the text for caption.
Definition: FXGauge.h:119
FXint getStartAngle() const
Return start angle in degrees ccw.
Definition: FXGauge.h:125
void setHelpText(const FXString &text)
Set the help text to be displayed on the status line.
Definition: FXGauge.h:176
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:138
Window Device Context.
Definition: FXDCWindow.h:48
FXFont * getCaptionFont() const
Get the caption font.
Definition: FXGauge.h:173
FXdouble getValue() const
Get current value.
Definition: FXGauge.h:137
Font class.
Definition: FXFont.h:137
void getRange(FXdouble &lo, FXdouble &hi) const
Get the gauge range.
Definition: FXGauge.h:143
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42