]>
git.saurik.com Git - wxWidgets.git/blob - src/os2/gauge.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxGauge class
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma implementation "gauge.h"
18 #if !USE_SHARED_LIBRARY
19 IMPLEMENT_DYNAMIC_CLASS(wxGauge
, wxControl
)
22 bool wxGauge::Create(wxWindow
*parent
, wxWindowID id
,
27 const wxValidator
& validator
,
31 SetValidator(validator
);
33 m_windowStyle
= style
;
35 if (parent
) parent
->AddChild(this);
38 m_windowId
= (int)NewControlId();
47 void wxGauge::SetSize(int x
, int y
, int width
, int height
, int sizeFlags
)
52 void wxGauge::SetShadowWidth(int w
)
57 void wxGauge::SetBezelFace(int w
)
62 void wxGauge::SetRange(int r
)
68 void wxGauge::SetValue(int pos
)
74 int wxGauge::GetShadowWidth() const
80 int wxGauge::GetBezelFace() const
86 int wxGauge::GetRange() const
91 int wxGauge::GetValue() const