9#if !defined(OWL_GAUGE_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
49 int x,
int y,
int w,
int h = 0,
58 int x,
int y,
int w,
int h = 0,
65 int x,
int y,
int w,
int h = 0,
79 void SetStep(
int step);
80 void SetValue(
int value);
81 void DeltaValue(
int delta);
106 void SetupWindow()
override;
111 virtual void PaintBorder(
TDC& dc);
115 bool EvEraseBkgnd(
HDC);
Class wrapper for management of color values.
TControl unifies its derived control classes, such as TScrollBar, TControlGadget, and TButton.
TDC is the root class for GDI DC wrappers.
A streamable class derived from TControl, TGauge defines the basic behavior of gauge controls.
void SetHorizontal(bool horizontal)
Specifies whether the control is a horizontal (or vertical) gauge control.
int GetStep() const
Returns the step factor.
void StepIt()
Adjusts the active gauge value by the Step increment.
int GetValue() const
Returns the current value of the gauge.
void GetRange(int &minValue, int &maxValue) const
This inline implementation gets the minimum and maximum values for the gauge.
void operator++(int)
Another way of stepping (calls StepIt)
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
TRect is a mathematical class derived from tagRect.
Type-safe encapsulation of a Windows class name, a union between ATOM and LPCTSTR.
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
Definition of windowing system color classes.
Definition of classes for CommonControl encapsulation.
Definition of class TControl.
#define DECLARE_RESPONSE_TABLE(cls)
Object Windows Library (OWLNext Core)