1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef __GTKCURSORH__
11 #define __GTKCURSORH__
14 #include "wx/object.h"
15 #include "wx/gdicmn.h"
21 //-----------------------------------------------------------------------------
23 //-----------------------------------------------------------------------------
25 class WXDLLIMPEXP_CORE wxCursor
: public wxObject
30 wxCursor( int cursorId
);
31 wxCursor( const wxCursor
&cursor
);
33 wxCursor( const wxImage
& image
);
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 );
39 wxCursor
& operator = ( const wxCursor
& cursor
);
40 bool operator == ( const wxCursor
& cursor
) const;
41 bool operator != ( const wxCursor
& cursor
) const;
46 GdkCursor
*GetCursor() const;
49 DECLARE_DYNAMIC_CLASS(wxCursor
)
52 #endif // __GTKCURSORH__