]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/cursor.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __GTKCURSORH__
12 #define __GTKCURSORH__
19 #include "wx/object.h"
20 #include "wx/gdicmn.h"
22 //-----------------------------------------------------------------------------
24 //-----------------------------------------------------------------------------
26 class wxCursor
: public wxObject
31 wxCursor( int cursorId
);
32 wxCursor( const wxCursor
&cursor
);
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 );
37 wxCursor
& operator = ( const wxCursor
& cursor
);
38 bool operator == ( const wxCursor
& cursor
) const;
39 bool operator != ( const wxCursor
& cursor
) const;
44 GdkCursor
*GetCursor() const;
47 DECLARE_DYNAMIC_CLASS(wxCursor
)
50 #endif // __GTKCURSORH__