]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/cursor.h
The usual missing commit.
[wxWidgets.git] / include / wx / gtk / cursor.h
CommitLineData
c801d85f
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: cursor.h
3// Purpose:
4// Author: Robert Roebling
dbf858b5
RR
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
65571936 7// Licence: wxWindows licence
c801d85f
KB
8/////////////////////////////////////////////////////////////////////////////
9
0416c418
PC
10#ifndef _WX_GTK_CURSOR_H_
11#define _WX_GTK_CURSOR_H_
c801d85f 12
c801d85f 13#include "wx/object.h"
c801d85f 14
0416c418
PC
15class WXDLLIMPEXP_CORE wxColour;
16class WXDLLIMPEXP_CORE wxImage;
7eff657c 17
c801d85f
KB
18//-----------------------------------------------------------------------------
19// wxCursor
20//-----------------------------------------------------------------------------
21
20123d49 22class WXDLLIMPEXP_CORE wxCursor: public wxObject
c801d85f 23{
20e05ffb 24public:
c801d85f 25
8bbe427f 26 wxCursor();
debe6624 27 wxCursor( int cursorId );
7eff657c
JS
28#if wxUSE_IMAGE
29 wxCursor( const wxImage & image );
30#endif
a1db952f
VS
31 wxCursor( const char bits[], int width, int height,
32 int hotSpotX=-1, int hotSpotY=-1,
f516d986 33 const char maskBits[] = NULL, const wxColour *fg = NULL, const wxColour *bg = NULL );
d3c7fc99 34 virtual ~wxCursor();
8bbe427f
VZ
35 bool operator == ( const wxCursor& cursor ) const;
36 bool operator != ( const wxCursor& cursor ) const;
37 bool Ok() const;
38
20e05ffb
RR
39 // implementation
40
8bbe427f 41 GdkCursor *GetCursor() const;
c801d85f 42
20e05ffb
RR
43private:
44 DECLARE_DYNAMIC_CLASS(wxCursor)
c801d85f
KB
45};
46
0416c418 47#endif // _WX_GTK_CURSOR_H_