]>
Commit | Line | Data |
---|---|---|
7c78e7c7 RR |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: slider.cpp | |
3 | // Purpose: | |
4 | // Author: Robert Roebling | |
5 | // Created: 01/02/97 | |
6 | // Id: | |
7 | // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem | |
8 | // Licence: wxWindows licence | |
9 | ///////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | ||
12 | #ifdef __GNUG__ | |
13 | #pragma implementation "slider.h" | |
14 | #endif | |
15 | ||
16 | #include "wx/slider.h" | |
17 | #include "wx/utils.h" | |
18 | ||
19 | //----------------------------------------------------------------------------- | |
20 | // wxSlider | |
21 | //----------------------------------------------------------------------------- | |
22 | ||
23 | IMPLEMENT_DYNAMIC_CLASS(wxSlider,wxControl) | |
24 | ||
25 | wxSlider::wxSlider(void) | |
26 | { | |
27 | }; | |
28 | ||
29 | wxSlider::wxSlider( wxWindow *parent, wxWindowID id, | |
30 | int value, int minValue, int maxValue, | |
31 | const wxPoint& pos, const wxSize& size, | |
32 | long style, | |
33 | /* const wxValidator& validator = wxDefaultValidator, */ | |
34 | const wxString& name ) | |
35 | { | |
36 | Create( parent, id, value, minValue, maxValue, | |
37 | pos, size, style, name ); | |
38 | }; | |
39 | ||
40 | wxSlider::~wxSlider(void) | |
41 | { | |
42 | }; | |
43 | ||
44 | bool wxSlider::Create(wxWindow *parent, wxWindowID id, | |
45 | int value, int minValue, int maxValue, | |
46 | const wxPoint& pos, const wxSize& size, | |
47 | long style, | |
48 | /* const wxValidator& validator = wxDefaultValidator, */ | |
49 | const wxString& name ) | |
50 | { | |
51 | return TRUE; | |
52 | }; | |
53 | ||
54 | int wxSlider::GetValue(void) const | |
55 | { | |
56 | }; | |
57 | ||
58 | void wxSlider::SetValue( int value ) | |
59 | { | |
60 | }; | |
61 | ||
62 | void wxSlider::SetRange( int minValue, int maxValue ) | |
63 | { | |
64 | }; | |
65 | ||
66 | int wxSlider::GetMin(void) const | |
67 | { | |
68 | }; | |
69 | ||
70 | int wxSlider::GetMax(void) const | |
71 | { | |
72 | }; | |
73 | ||
74 | void wxSlider::SetPageSize( int pageSize ) | |
75 | { | |
76 | }; | |
77 | ||
78 | int wxSlider::GetPageSize(void) const | |
79 | { | |
80 | }; | |
81 | ||
82 | void wxSlider::SetThumbLength( int len ) | |
83 | { | |
84 | }; | |
85 | ||
86 | int wxSlider::GetThumbLength(void) const | |
87 | { | |
88 | }; | |
89 | ||
90 | void wxSlider::SetLineSize( int WXUNUSED(lineSize) ) | |
91 | { | |
92 | }; | |
93 | ||
94 | int wxSlider::GetLineSize(void) const | |
95 | { | |
96 | }; | |
97 | ||
98 | void wxSlider::GetSize( int *x, int *y ) const | |
99 | { | |
100 | wxWindow::GetSize( x, y ); | |
101 | }; | |
102 | ||
103 | void wxSlider::SetSize( int x, int y, int width, int height, int sizeFlags ) | |
104 | { | |
105 | wxWindow::SetSize( x, y, width, height, sizeFlags ); | |
106 | }; | |
107 | ||
108 | void wxSlider::GetPosition( int *x, int *y ) const | |
109 | { | |
110 | wxWindow::GetPosition( x, y ); | |
111 | }; | |
112 | ||
113 | void wxSlider::SetTick( int WXUNUSED(tickPos) ) | |
114 | { | |
115 | }; | |
116 | ||
117 | void wxSlider::SetTickFreq( int WXUNUSED(n), int WXUNUSED(pos) ) | |
118 | { | |
119 | }; | |
120 | ||
121 | int wxSlider::GetTickFreq(void) const | |
122 | { | |
123 | return 0; | |
124 | }; | |
125 | ||
126 | void wxSlider::ClearTicks(void) | |
127 | { | |
128 | }; | |
129 | ||
130 | void wxSlider::SetSelection( int WXUNUSED(minPos), int WXUNUSED(maxPos) ) | |
131 | { | |
132 | }; | |
133 | ||
134 | int wxSlider::GetSelEnd(void) const | |
135 | { | |
136 | return 0; | |
137 | }; | |
138 | ||
139 | int wxSlider::GetSelStart(void) const | |
140 | { | |
141 | return 0; | |
142 | }; | |
143 | ||
144 | void wxSlider::ClearSel(void) | |
145 | { | |
146 | }; | |
147 |