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"
17 class WXDLLIMPEXP_FWD_CORE wxImage
;
19 //-----------------------------------------------------------------------------
21 //-----------------------------------------------------------------------------
23 class WXDLLIMPEXP_CORE wxCursor
: public wxGDIObject
27 wxCursor( int cursorId
);
29 wxCursor( const wxImage
& image
);
32 wxCursor( const char bits
[], int width
, int height
,
33 int hotSpotX
=-1, int hotSpotY
=-1,
34 const char maskBits
[]=0, wxColour
*fg
=0, wxColour
*bg
=0 );
39 WXCursor
GetCursor() const;
42 virtual wxGDIRefData
*CreateGDIRefData() const;
43 virtual wxGDIRefData
*CloneGDIRefData(const wxGDIRefData
*data
) const;
46 DECLARE_DYNAMIC_CLASS(wxCursor
)
49 #endif // _WX_CURSOR_H_