]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/x11/cursor.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxCursor class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
15 #if defined(__GNUG__) && !defined(__APPLE__)
16 #pragma interface "cursor.h"
19 #include "wx/bitmap.h"
25 //-----------------------------------------------------------------------------
27 //-----------------------------------------------------------------------------
29 class wxCursor
: public wxObject
34 wxCursor( int cursorId
);
35 wxCursor( const wxCursor
&cursor
);
37 wxCursor( const wxImage
& image
);
39 wxCursor( const char bits
[], int width
, int height
,
40 int hotSpotX
=-1, int hotSpotY
=-1,
41 const char maskBits
[]=0, wxColour
*fg
=0, wxColour
*bg
=0 );
43 wxCursor
& operator = ( const wxCursor
& cursor
);
44 bool operator == ( const wxCursor
& cursor
) const;
45 bool operator != ( const wxCursor
& cursor
) const;
50 WXCursor
GetCursor() const;
53 DECLARE_DYNAMIC_CLASS(wxCursor
)