]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/cursor.cpp
implement DispatchTimeout() for wxOSX/Cocoa
[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"
02761f6c 37 #include "wx/module.h"
ffecfa5a
JS
38#endif
39
ffecfa5a
JS
40// ----------------------------------------------------------------------------
41// private classes
42// ----------------------------------------------------------------------------
43
44
45// ----------------------------------------------------------------------------
46// wxWin macros
47// ----------------------------------------------------------------------------
48
49IMPLEMENT_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
57static wxCursor *gs_globalCursor = NULL;
58
59// ----------------------------------------------------------------------------
60// private classes
61// ----------------------------------------------------------------------------
62
63
64// ============================================================================
65// implementation
66// ============================================================================
67
68
69// ----------------------------------------------------------------------------
70// Cursors
71// ----------------------------------------------------------------------------
72
73wxCursor::wxCursor()
74{
75}
76
77#if wxUSE_IMAGE
78wxCursor::wxCursor(const wxImage& image)
79{
80}
81#endif
82
ffecfa5a 83wxCursor::wxCursor(const wxString& filename,
0ef5b1da 84 wxBitmapType kind,
ffecfa5a
JS
85 int hotSpotX,
86 int hotSpotY)
87{
88}
89
90// Cursors by stock number
0ef5b1da 91void wxCursor::InitFromStock(wxStockCursor idCursor)
ffecfa5a
JS
92{
93}
94
95wxCursor::~wxCursor()
96{
97}
98
99// ----------------------------------------------------------------------------
100// other wxCursor functions
101// ----------------------------------------------------------------------------
102
ffecfa5a
JS
103wxGDIImageRefData *wxCursor::CreateData() const
104{
105 return NULL;
106}
107
108// ----------------------------------------------------------------------------
109// Global cursor setting
110// ----------------------------------------------------------------------------
111
112const wxCursor *wxGetGlobalCursor()
113{
114 return NULL;
115}
116
117void wxSetCursor(const wxCursor& cursor)
118{
119}