]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/gauge.cpp
Rename delegates to try and stop name clashes, probably with wxWebKitCtrl.
[wxWidgets.git] / src / palmos / gauge.cpp
CommitLineData
ffecfa5a
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: src/palmos/gauge.cpp
3// Purpose: wxGauge class
e2731512 4// Author: William Osborne - minimal working wxPalmOS port
ffecfa5a
JS
5// Modified by:
6// Created: 10/13/04
e2731512 7// RCS-ID: $Id$
ffecfa5a
JS
8// Copyright: (c) William Osborne
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12// ============================================================================
13// declarations
14// ============================================================================
15
16// ----------------------------------------------------------------------------
17// headers
18// ----------------------------------------------------------------------------
19
ffecfa5a
JS
20// For compilers that support precompilation, includes "wx.h".
21#include "wx/wxprec.h"
22
23#ifdef __BORLANDC__
24 #pragma hdrstop
25#endif
26
7520f3da
WS
27#if wxUSE_GAUGE
28
9d2c19f1
WS
29#include "wx/gauge.h"
30
ffecfa5a 31#ifndef WX_PRECOMP
ffecfa5a
JS
32#endif
33
ffecfa5a
JS
34#include "wx/palmos/private.h"
35
36// ----------------------------------------------------------------------------
37// constants
38// ----------------------------------------------------------------------------
39
40#ifndef PBS_SMOOTH
41 #define PBS_SMOOTH 0x01
42#endif
43
44#ifndef PBS_VERTICAL
45 #define PBS_VERTICAL 0x04
46#endif
47
48#ifndef PBM_SETBARCOLOR
49 #define PBM_SETBARCOLOR (WM_USER+9)
50#endif
51
52#ifndef PBM_SETBKCOLOR
53 #define PBM_SETBKCOLOR 0x2001
54#endif
55
56// ----------------------------------------------------------------------------
57// wxWin macros
58// ----------------------------------------------------------------------------
59
ffecfa5a
JS
60// ============================================================================
61// wxGauge implementation
62// ============================================================================
63
64// ----------------------------------------------------------------------------
65// wxGauge creation
66// ----------------------------------------------------------------------------
67
68bool wxGauge::Create(wxWindow *parent,
69 wxWindowID id,
70 int range,
71 const wxPoint& pos,
72 const wxSize& size,
73 long style,
74 const wxValidator& validator,
75 const wxString& name)
76{
77 return false;
78}
79
80WXDWORD wxGauge::MSWGetStyle(long style, WXDWORD *exstyle) const
81{
82 return 0;
83}
84
85// ----------------------------------------------------------------------------
86// wxGauge geometry
87// ----------------------------------------------------------------------------
88
89wxSize wxGauge::DoGetBestSize() const
90{
91 return wxSize(0,0);
92}
93
94// ----------------------------------------------------------------------------
95// wxGauge setters
96// ----------------------------------------------------------------------------
97
98void wxGauge::SetRange(int r)
99{
100}
101
102void wxGauge::SetValue(int pos)
103{
104}
105
106bool wxGauge::SetForegroundColour(const wxColour& col)
107{
108 return false;
109}
110
111bool wxGauge::SetBackgroundColour(const wxColour& col)
112{
113 return false;
114}
115
116#endif // wxUSE_GAUGE