]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk1/cursor.h
added wxArtProvider::InsertProvider to accompany PushProvider
[wxWidgets.git] / include / wx / gtk1 / cursor.h
CommitLineData
c801d85f 1/////////////////////////////////////////////////////////////////////////////
8ef94bfc 2// Name: wx/gtk1/cursor.h
c801d85f
KB
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
c801d85f
KB
10#ifndef __GTKCURSORH__
11#define __GTKCURSORH__
12
c801d85f
KB
13#include "wx/defs.h"
14#include "wx/object.h"
15#include "wx/gdicmn.h"
16
7eff657c
JS
17#if wxUSE_IMAGE
18#include "wx/image.h"
19#endif
20
c801d85f
KB
21//-----------------------------------------------------------------------------
22// wxCursor
23//-----------------------------------------------------------------------------
24
20123d49 25class WXDLLIMPEXP_CORE wxCursor: public wxObject
c801d85f 26{
20e05ffb 27public:
c801d85f 28
8bbe427f 29 wxCursor();
debe6624 30 wxCursor( int cursorId );
7eff657c
JS
31#if wxUSE_IMAGE
32 wxCursor( const wxImage & image );
33#endif
a1db952f
VS
34 wxCursor( const char bits[], int width, int height,
35 int hotSpotX=-1, int hotSpotY=-1,
f516d986 36 const char maskBits[] = NULL, const wxColour *fg = NULL, const wxColour *bg = NULL );
8bbe427f 37 ~wxCursor();
8bbe427f
VZ
38 bool operator == ( const wxCursor& cursor ) const;
39 bool operator != ( const wxCursor& cursor ) const;
40 bool Ok() const;
41
20e05ffb
RR
42 // implementation
43
8bbe427f 44 GdkCursor *GetCursor() const;
c801d85f 45
20e05ffb
RR
46private:
47 DECLARE_DYNAMIC_CLASS(wxCursor)
c801d85f
KB
48};
49
50#endif // __GTKCURSORH__