1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_GTK_CURSOR_H_
11 #define _WX_GTK_CURSOR_H_
13 #include "wx/object.h"
15 class WXDLLIMPEXP_CORE wxColour
;
16 class WXDLLIMPEXP_CORE wxImage
;
18 //-----------------------------------------------------------------------------
20 //-----------------------------------------------------------------------------
22 class WXDLLIMPEXP_CORE wxCursor
: public wxObject
27 wxCursor( int cursorId
);
29 wxCursor( const wxImage
& image
);
31 wxCursor( const char bits
[], int width
, int height
,
32 int hotSpotX
=-1, int hotSpotY
=-1,
33 const char maskBits
[] = NULL
, const wxColour
*fg
= NULL
, const wxColour
*bg
= NULL
);
35 bool operator == ( const wxCursor
& cursor
) const;
36 bool operator != ( const wxCursor
& cursor
) const;
37 bool Ok() const { return IsOk(); }
42 GdkCursor
*GetCursor() const;
45 DECLARE_DYNAMIC_CLASS(wxCursor
)
48 #endif // _WX_GTK_CURSOR_H_