]>
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__
14 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
19 #include "wx/object.h"
20 #include "wx/gdicmn.h"
26 //-----------------------------------------------------------------------------
28 //-----------------------------------------------------------------------------
30 class wxCursor
: public wxObject
35 wxCursor( int cursorId
);
36 wxCursor( const wxCursor
&cursor
);
38 wxCursor( const wxImage
& image
);
40 wxCursor( const char bits
[], int width
, int height
,
41 int hotSpotX
=-1, int hotSpotY
=-1,
42 const char maskBits
[]=0, wxColour
*fg
=0, wxColour
*bg
=0 );
44 wxCursor
& operator = ( const wxCursor
& cursor
);
45 bool operator == ( const wxCursor
& cursor
) const;
46 bool operator != ( const wxCursor
& cursor
) const;
51 GdkCursor
*GetCursor() const;
54 DECLARE_DYNAMIC_CLASS(wxCursor
)
57 #endif // __GTKCURSORH__