]> git.saurik.com Git - wxWidgets.git/blob - src/qt/scrolbar.cpp
More configure fixes
[wxWidgets.git] / src / qt / scrolbar.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: scrolbar.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 "scrolbar.h"
14 #endif
15
16 #include "wx/scrolbar.h"
17 #include "wx/utils.h"
18
19 //-----------------------------------------------------------------------------
20 // wxScrollBar
21 //-----------------------------------------------------------------------------
22
23 IMPLEMENT_DYNAMIC_CLASS(wxScrollBar,wxControl)
24
25 wxScrollBar::wxScrollBar(wxWindow *parent, wxWindowID id,
26 const wxPoint& pos, const wxSize& size,
27 long style, const wxString& name )
28 {
29 Create( parent, id, pos, size, style, name );
30 };
31
32 wxScrollBar::~wxScrollBar(void)
33 {
34 };
35
36 bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
37 const wxPoint& pos, const wxSize& size,
38 long style, const wxString& name )
39 {
40 return TRUE;
41 };
42
43 int wxScrollBar::GetPosition(void) const
44 {
45 };
46
47 int wxScrollBar::GetThumbSize() const
48 {
49 };
50
51 int wxScrollBar::GetPageSize() const
52 {
53 };
54
55 int wxScrollBar::GetRange() const
56 {
57 };
58
59 void wxScrollBar::SetPosition( int viewStart )
60 {
61 };
62
63 void wxScrollBar::SetScrollbar( int position, int thumbSize, int range, int pageSize,
64 bool WXUNUSED(refresh) )
65 {
66 };
67
68 // Backward compatibility
69 int wxScrollBar::GetValue(void) const
70 {
71 return GetPosition();
72 };
73
74 void wxScrollBar::SetValue( int viewStart )
75 {
76 SetPosition( viewStart );
77 };
78
79 void wxScrollBar::GetValues( int *viewStart, int *viewLength, int *objectLength, int *pageLength ) const
80 {
81 };
82
83 int wxScrollBar::GetViewLength() const
84 {
85 };
86
87 int wxScrollBar::GetObjectLength() const
88 {
89 };
90
91 void wxScrollBar::SetPageSize( int pageLength )
92 {
93 };
94
95 void wxScrollBar::SetObjectLength( int objectLength )
96 {
97 };
98
99 void wxScrollBar::SetViewLength( int viewLength )
100 {
101 };
102