1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk1/cursor.h
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
);
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
[] = NULL
, const wxColour
*fg
= NULL
, const wxColour
*bg
= NULL
);
38 bool Ok() const { return IsOk(); }
43 GdkCursor
*GetCursor() const;
46 DECLARE_DYNAMIC_CLASS(wxCursor
)
49 #endif // __GTKCURSORH__