1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Vaclav Slavik
6 // Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __WX_CURSOR_H__
12 #define __WX_CURSOR_H__
14 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
15 #pragma interface "cursor.h"
19 #include "wx/object.h"
20 #include "wx/gdicmn.h"
24 //-----------------------------------------------------------------------------
26 //-----------------------------------------------------------------------------
28 class WXDLLEXPORT wxCursor
: public wxObject
33 wxCursor(int cursorId
);
34 wxCursor(const wxCursor
&cursor
);
35 wxCursor(const char bits
[], int width
, int height
,
36 int hotSpotX
=-1, int hotSpotY
=-1,
37 const char maskBits
[]=0, wxColour
*fg
=0, wxColour
*bg
=0);
38 wxCursor(const wxString
& name
,
39 long flags
= wxBITMAP_TYPE_CUR_RESOURCE
,
40 int hotSpotX
= 0, int hotSpotY
= 0);
42 wxCursor
& operator = ( const wxCursor
& cursor
);
43 bool operator == (const wxCursor
& cursor
) const;
44 bool operator != (const wxCursor
& cursor
) const;
48 MGLCursor
*GetMGLCursor() const;
51 DECLARE_DYNAMIC_CLASS(wxCursor
)
54 #endif // __WX_CURSOR_H__