1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Vaclav Slavik
6 // Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef __WX_CURSOR_H__
11 #define __WX_CURSOR_H__
13 #include "wx/gdiobj.h"
14 #include "wx/gdicmn.h"
18 //-----------------------------------------------------------------------------
20 //-----------------------------------------------------------------------------
22 class WXDLLIMPEXP_CORE wxCursor
: public wxGDIObject
27 wxCursor(wxStockCursor cursorId
);
28 wxCursor(const char bits
[], int width
, int height
,
29 int hotSpotX
=-1, int hotSpotY
=-1,
30 const char maskBits
[]=0, wxColour
*fg
=0, wxColour
*bg
=0);
31 wxCursor(const wxString
& name
,
32 long flags
= wxBITMAP_TYPE_CUR_RESOURCE
,
33 int hotSpotX
= 0, int hotSpotY
= 0);
37 MGLCursor
*GetMGLCursor() const;
40 DECLARE_DYNAMIC_CLASS(wxCursor
)
43 #endif // __WX_CURSOR_H__