]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk1/cursor.h
don't define WINVER as 0x0400 in configure, it's defined in the headers as 0x0600...
[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 );
d3c7fc99 37 virtual ~wxCursor();
b7cacb43
VZ
38 bool Ok() const { return IsOk(); }
39 bool IsOk() const;
8bbe427f 40
20e05ffb
RR
41 // implementation
42
8bbe427f 43 GdkCursor *GetCursor() const;
c801d85f 44
20e05ffb
RR
45private:
46 DECLARE_DYNAMIC_CLASS(wxCursor)
c801d85f
KB
47};
48
49#endif // __GTKCURSORH__