]> git.saurik.com Git - wxWidgets.git/blame - src/qt/slider.cpp
Added Pop-up menus.
[wxWidgets.git] / src / qt / slider.cpp
CommitLineData
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
23IMPLEMENT_DYNAMIC_CLASS(wxSlider,wxControl)
24
25wxSlider::wxSlider(void)
26{
27};
28
29wxSlider::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
40wxSlider::~wxSlider(void)
41{
42};
43
44bool 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
54int wxSlider::GetValue(void) const
55{
56};
57
58void wxSlider::SetValue( int value )
59{
60};
61
62void wxSlider::SetRange( int minValue, int maxValue )
63{
64};
65
66int wxSlider::GetMin(void) const
67{
68};
69
70int wxSlider::GetMax(void) const
71{
72};
73
74void wxSlider::SetPageSize( int pageSize )
75{
76};
77
78int wxSlider::GetPageSize(void) const
79{
80};
81
82void wxSlider::SetThumbLength( int len )
83{
84};
85
86int wxSlider::GetThumbLength(void) const
87{
88};
89
90void wxSlider::SetLineSize( int WXUNUSED(lineSize) )
91{
92};
93
94int wxSlider::GetLineSize(void) const
95{
96};
97
98void wxSlider::GetSize( int *x, int *y ) const
99{
100 wxWindow::GetSize( x, y );
101};
102
103void wxSlider::SetSize( int x, int y, int width, int height, int sizeFlags )
104{
105 wxWindow::SetSize( x, y, width, height, sizeFlags );
106};
107
108void wxSlider::GetPosition( int *x, int *y ) const
109{
110 wxWindow::GetPosition( x, y );
111};
112
113void wxSlider::SetTick( int WXUNUSED(tickPos) )
114{
115};
116
117void wxSlider::SetTickFreq( int WXUNUSED(n), int WXUNUSED(pos) )
118{
119};
120
121int wxSlider::GetTickFreq(void) const
122{
123 return 0;
124};
125
126void wxSlider::ClearTicks(void)
127{
128};
129
130void wxSlider::SetSelection( int WXUNUSED(minPos), int WXUNUSED(maxPos) )
131{
132};
133
134int wxSlider::GetSelEnd(void) const
135{
136 return 0;
137};
138
139int wxSlider::GetSelStart(void) const
140{
141 return 0;
142};
143
144void wxSlider::ClearSel(void)
145{
146};
147