]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/cursor.cpp
Move column organizing code to ports, away from common code
[wxWidgets.git] / src / palmos / cursor.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/cursor.cpp
3 // Purpose: wxCursor class
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // ============================================================================
13 // declarations
14 // ============================================================================
15
16 // ----------------------------------------------------------------------------
17 // headers
18 // ----------------------------------------------------------------------------
19
20 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
22
23 #ifdef __BORLANDC__
24 #pragma hdrstop
25 #endif
26
27 #include "wx/cursor.h"
28
29 #ifndef WX_PRECOMP
30 #include "wx/utils.h"
31 #include "wx/app.h"
32 #include "wx/bitmap.h"
33 #include "wx/icon.h"
34 #include "wx/settings.h"
35 #include "wx/intl.h"
36 #include "wx/image.h"
37 #include "wx/module.h"
38 #endif
39
40 // ----------------------------------------------------------------------------
41 // private classes
42 // ----------------------------------------------------------------------------
43
44
45 // ----------------------------------------------------------------------------
46 // wxWin macros
47 // ----------------------------------------------------------------------------
48
49 IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxGDIObject)
50
51 // ----------------------------------------------------------------------------
52 // globals
53 // ----------------------------------------------------------------------------
54
55 // Current cursor, in order to hang on to cursor handle when setting the cursor
56 // globally
57 static wxCursor *gs_globalCursor = NULL;
58
59 // ----------------------------------------------------------------------------
60 // private classes
61 // ----------------------------------------------------------------------------
62
63
64 // ============================================================================
65 // implementation
66 // ============================================================================
67
68
69 // ----------------------------------------------------------------------------
70 // Cursors
71 // ----------------------------------------------------------------------------
72
73 wxCursor::wxCursor()
74 {
75 }
76
77 #if wxUSE_IMAGE
78 wxCursor::wxCursor(const wxImage& image)
79 {
80 }
81 #endif
82
83 wxCursor::wxCursor(const char WXUNUSED(bits)[],
84 int WXUNUSED(width),
85 int WXUNUSED(height),
86 int WXUNUSED(hotSpotX), int WXUNUSED(hotSpotY),
87 const char WXUNUSED(maskBits)[])
88 {
89 }
90
91 wxCursor::wxCursor(const wxString& filename,
92 long kind,
93 int hotSpotX,
94 int hotSpotY)
95 {
96 }
97
98 // Cursors by stock number
99 wxCursor::wxCursor(int idCursor)
100 {
101 }
102
103 wxCursor::~wxCursor()
104 {
105 }
106
107 // ----------------------------------------------------------------------------
108 // other wxCursor functions
109 // ----------------------------------------------------------------------------
110
111 wxGDIImageRefData *wxCursor::CreateData() const
112 {
113 return NULL;
114 }
115
116 // ----------------------------------------------------------------------------
117 // Global cursor setting
118 // ----------------------------------------------------------------------------
119
120 const wxCursor *wxGetGlobalCursor()
121 {
122 return NULL;
123 }
124
125 void wxSetCursor(const wxCursor& cursor)
126 {
127 }