]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/motif/spinbutt.cpp
image handlers moved to separate headers (imagbmp.h etc.) This change is backward...
[wxWidgets.git] / src / motif / spinbutt.cpp
... / ...
CommitLineData
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
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
13#pragma implementation "spinbutt.h"
14#endif
15
16#include "wx/spinbutt.h"
17
18IMPLEMENT_DYNAMIC_CLASS(wxSpinButton, wxControl)
19IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxScrollEvent);
20
21bool wxSpinButton::Create(wxWindow *parent, wxWindowID id, const wxPoint& WXUNUSED(pos), const wxSize& WXUNUSED(size),
22 long style, const wxString& name)
23{
24 SetName(name);
25
26 m_windowStyle = style;
27
28 if (parent) parent->AddChild(this);
29
30 InitBase();
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{
47 // TODO
48 return 0;
49}
50
51void wxSpinButton::SetValue(int WXUNUSED(val))
52{
53 // TODO
54}
55
56void wxSpinButton::SetRange(int minVal, int maxVal)
57{
58 // TODO
59 wxSpinButtonBase::SetRange(minVal, maxVal);
60}
61
62void wxSpinButton::ChangeFont(bool WXUNUSED(keepOriginalSize))
63{
64 // TODO
65}
66
67void wxSpinButton::ChangeBackgroundColour()
68{
69 // TODO
70}
71
72void wxSpinButton::ChangeForegroundColour()
73{
74 // TODO
75}