]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/cursor.h
wxaui multi-notebook now uses a tab art provider which allows for dynamically switcha...
[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;
b7cacb43
VZ
37 bool Ok() const { return IsOk(); }
38 bool IsOk() const;
8bbe427f 39
20e05ffb
RR
40 // implementation
41
8bbe427f 42 GdkCursor *GetCursor() const;
c801d85f 43
20e05ffb
RR
44private:
45 DECLARE_DYNAMIC_CLASS(wxCursor)
c801d85f
KB
46};
47
0416c418 48#endif // _WX_GTK_CURSOR_H_