12#if !defined(OWL_PROGRESSBAR_H)
13#define OWL_PROGRESSBAR_H
16#if defined(BI_HAS_PRAGMA_ONCE)
38 int x,
int y,
int w,
int h = 0,
48 auto GetRange() const -> std::pair<
int,
int> {
return {Min, Max};}
51 auto GetState() const ->
uint;
54 void SetRange(const std::pair<
int,
int>&
r) {
SetRange(
r.first,
r.second);}
55 void SetStep(
int step);
56 void SetValue(
int value);
57 void DeltaValue(
int delta);
89 uint MarqueeUpdateTime;
Class wrapper for management of color values.
TControl unifies its derived control classes, such as TScrollBar, TControlGadget, and TButton.
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
int GetStep() const
Returns the step factor.
void StepIt()
Adjusts the active gauge value by the Step increment.
auto GetRange() const -> std::pair< int, int >
int GetValue() const
Returns the current value of the gauge.
void operator++(int)
Another way of stepping (calls StepIt)
auto GetState() const -> uint
Returns the state of the progress bar.
void SetRange(const std::pair< int, int > &r)
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...
TResult SendMessage(TMsgId, TParam1=0, TParam2=0) const
Sends a message (msg) to a specified window or windows.
Definition of windowing system color classes.
Definition of classes for CommonControl encapsulation.
Definition of class TControl.
Object Windows Library (OWLNext Core)