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__
14 #include "wx/object.h"
15 #include "wx/gdicmn.h"
19 //-----------------------------------------------------------------------------
21 //-----------------------------------------------------------------------------
23 class WXDLLEXPORT wxCursor
: public wxObject
28 wxCursor(int cursorId
);
29 wxCursor(const wxCursor
&cursor
);
30 wxCursor(const char bits
[], int width
, int height
,
31 int hotSpotX
=-1, int hotSpotY
=-1,
32 const char maskBits
[]=0, wxColour
*fg
=0, wxColour
*bg
=0);
33 wxCursor(const wxString
& name
,
34 long flags
= wxBITMAP_TYPE_CUR_RESOURCE
,
35 int hotSpotX
= 0, int hotSpotY
= 0);
37 wxCursor
& operator = ( const wxCursor
& cursor
);
38 bool operator == (const wxCursor
& cursor
) const;
39 bool operator != (const wxCursor
& cursor
) const;
43 MGLCursor
*GetMGLCursor() const;
46 DECLARE_DYNAMIC_CLASS(wxCursor
)
49 #endif // __WX_CURSOR_H__