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