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/gdiobj.h"
16 #include "wx/colour.h"
18 class WXDLLIMPEXP_FWD_CORE wxImage
;
20 //-----------------------------------------------------------------------------
22 //-----------------------------------------------------------------------------
24 class WXDLLIMPEXP_CORE wxCursor
: public wxGDIObject
28 wxCursor( int cursorId
);
30 wxCursor( const wxImage
& image
);
33 wxCursor( const char bits
[], int width
, int height
,
34 int hotSpotX
=-1, int hotSpotY
=-1,
35 const char maskBits
[]=0, wxColour
*fg
=0, wxColour
*bg
=0 );
40 WXCursor
GetCursor() const;
43 virtual wxGDIRefData
*CreateGDIRefData() const;
44 virtual wxGDIRefData
*CloneGDIRefData(const wxGDIRefData
*data
) const;
47 DECLARE_DYNAMIC_CLASS(wxCursor
)
50 #endif // _WX_CURSOR_H_