]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk1/cursor.h
detabified
[wxWidgets.git] / include / wx / gtk1 / 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
8bbe427f 7// Licence: wxWindows licence
c801d85f
KB
8/////////////////////////////////////////////////////////////////////////////
9
10
11#ifndef __GTKCURSORH__
12#define __GTKCURSORH__
13
14#ifdef __GNUG__
15#pragma interface
16#endif
17
18#include "wx/defs.h"
19#include "wx/object.h"
20#include "wx/gdicmn.h"
21
c801d85f
KB
22//-----------------------------------------------------------------------------
23// wxCursor
24//-----------------------------------------------------------------------------
25
26class wxCursor: public wxObject
27{
20e05ffb 28public:
c801d85f 29
8bbe427f 30 wxCursor();
debe6624 31 wxCursor( int cursorId );
c801d85f 32 wxCursor( const wxCursor &cursor );
a1db952f
VS
33 wxCursor( const char bits[], int width, int height,
34 int hotSpotX=-1, int hotSpotY=-1,
35 const char maskBits[]=0, wxColour *fg=0, wxColour *bg=0 );
8bbe427f 36 ~wxCursor();
c801d85f 37 wxCursor& operator = ( const wxCursor& cursor );
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__