]> git.saurik.com Git - wxWidgets.git/blame - src/motif/spinbutt.cpp
Highly experimental, unstable code (for determining the
[wxWidgets.git] / src / motif / spinbutt.cpp
CommitLineData
4bb6408c
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: spinbutt.cpp
3// Purpose: wxSpinButton
4// Author: Julian Smart
5// Modified by:
6// Created: 17/09/98
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
31528cd3 9// Licence: wxWindows licence
4bb6408c
JS
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
13#pragma implementation "spinbutt.h"
14#endif
15
16#include "wx/spinbutt.h"
17
4bb6408c 18IMPLEMENT_DYNAMIC_CLASS(wxSpinButton, wxControl)
2fa7c206 19IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent)
4bb6408c 20
af111fc3 21bool wxSpinButton::Create(wxWindow *parent, wxWindowID id, const wxPoint& WXUNUSED(pos), const wxSize& WXUNUSED(size),
4bb6408c
JS
22 long style, const wxString& name)
23{
24 SetName(name);
25
26 m_windowStyle = style;
27
9838df2c 28 if (parent) parent->AddChild(this);
31528cd3
VZ
29
30 InitBase();
4bb6408c
JS
31
32 m_windowId = (id == -1) ? NewControlId() : id;
33
34 // TODO create spin button
35 return FALSE;
36}
37
38wxSpinButton::~wxSpinButton()
39{
40}
41
42// Attributes
43////////////////////////////////////////////////////////////////////////////
44
45int wxSpinButton::GetValue() const
46{
31528cd3 47 // TODO
4bb6408c
JS
48 return 0;
49}
50
af111fc3 51void wxSpinButton::SetValue(int WXUNUSED(val))
4bb6408c 52{
31528cd3 53 // TODO
4bb6408c
JS
54}
55
56void wxSpinButton::SetRange(int minVal, int maxVal)
57{
31528cd3
VZ
58 // TODO
59 wxSpinButtonBase::SetRange(minVal, maxVal);
4bb6408c
JS
60}
61
af111fc3 62void wxSpinButton::ChangeFont(bool WXUNUSED(keepOriginalSize))
0d57be45
JS
63{
64 // TODO
65}
66
67void wxSpinButton::ChangeBackgroundColour()
68{
69 // TODO
70}
71
72void wxSpinButton::ChangeForegroundColour()
73{
74 // TODO
75}