]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/cursor.cpp
Update OpenVMS compile support
[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 wxString& filename,
84 wxBitmapType kind,
85 int hotSpotX,
86 int hotSpotY)
87 {
88 }
89
90 // Cursors by stock number
91 void wxCursor::InitFromStock(wxStockCursor idCursor)
92 {
93 }
94
95 wxCursor::~wxCursor()
96 {
97 }
98
99 // ----------------------------------------------------------------------------
100 // other wxCursor functions
101 // ----------------------------------------------------------------------------
102
103 wxGDIImageRefData *wxCursor::CreateData() const
104 {
105 return NULL;
106 }
107
108 // ----------------------------------------------------------------------------
109 // Global cursor setting
110 // ----------------------------------------------------------------------------
111
112 const wxCursor *wxGetGlobalCursor()
113 {
114 return NULL;
115 }
116
117 void wxSetCursor(const wxCursor& cursor)
118 {
119 }