1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/x11/cursor.h
3 // Purpose: wxCursor class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
15 #include "wx/bitmap.h"
21 //-----------------------------------------------------------------------------
23 //-----------------------------------------------------------------------------
25 class WXDLLIMPEXP_CORE wxCursor
: public wxObject
30 wxCursor( int cursorId
);
32 wxCursor( const wxImage
& image
);
34 wxCursor( const char bits
[], int width
, int height
,
35 int hotSpotX
=-1, int hotSpotY
=-1,
36 const char maskBits
[]=0, wxColour
*fg
=0, wxColour
*bg
=0 );
38 bool operator == ( const wxCursor
& cursor
) const;
39 bool operator != ( const wxCursor
& cursor
) const;
40 bool Ok() const { return IsOk(); }
45 WXCursor
GetCursor() const;
48 DECLARE_DYNAMIC_CLASS(wxCursor
)