]>
git.saurik.com Git - wxWidgets.git/blob - src/palmos/gauge.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/gauge.cpp
3 // Purpose: wxGauge class
4 // Author: William Osborne - minimal working wxPalmOS port
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // ============================================================================
14 // ============================================================================
16 // ----------------------------------------------------------------------------
18 // ----------------------------------------------------------------------------
20 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
34 #include "wx/palmos/private.h"
36 // ----------------------------------------------------------------------------
38 // ----------------------------------------------------------------------------
41 #define PBS_SMOOTH 0x01
45 #define PBS_VERTICAL 0x04
48 #ifndef PBM_SETBARCOLOR
49 #define PBM_SETBARCOLOR (WM_USER+9)
52 #ifndef PBM_SETBKCOLOR
53 #define PBM_SETBKCOLOR 0x2001
56 // ----------------------------------------------------------------------------
58 // ----------------------------------------------------------------------------
60 // ============================================================================
61 // wxGauge implementation
62 // ============================================================================
64 // ----------------------------------------------------------------------------
66 // ----------------------------------------------------------------------------
68 bool wxGauge::Create(wxWindow
*parent
,
74 const wxValidator
& validator
,
80 WXDWORD
wxGauge::MSWGetStyle(long style
, WXDWORD
*exstyle
) const
85 // ----------------------------------------------------------------------------
87 // ----------------------------------------------------------------------------
89 wxSize
wxGauge::DoGetBestSize() const
94 // ----------------------------------------------------------------------------
96 // ----------------------------------------------------------------------------
98 void wxGauge::SetRange(int r
)
102 void wxGauge::SetValue(int pos
)
106 bool wxGauge::SetForegroundColour(const wxColour
& col
)
111 bool wxGauge::SetBackgroundColour(const wxColour
& col
)
116 #endif // wxUSE_GAUGE