]> git.saurik.com Git - wxWidgets.git/blame - include/wx/x11/cursor.h
Remove wrong clasing bracket.
[wxWidgets.git] / include / wx / x11 / cursor.h
CommitLineData
83df96d6
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: cursor.h
3// Purpose: wxCursor class
4// Author: Julian Smart
5// Modified by:
6// Created: 17/09/98
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
65571936 9// Licence: wxWindows licence
83df96d6
JS
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_CURSOR_H_
13#define _WX_CURSOR_H_
14
12028905 15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
83df96d6
JS
16#pragma interface "cursor.h"
17#endif
18
19#include "wx/bitmap.h"
20
a11672a4
RR
21#if wxUSE_IMAGE
22#include "wx/image.h"
23#endif
83df96d6 24
a11672a4
RR
25//-----------------------------------------------------------------------------
26// wxCursor
27//-----------------------------------------------------------------------------
83df96d6 28
a11672a4 29class wxCursor: public wxObject
83df96d6 30{
83df96d6 31public:
a11672a4 32
83df96d6 33 wxCursor();
a11672a4
RR
34 wxCursor( int cursorId );
35 wxCursor( const wxCursor &cursor );
36#if wxUSE_IMAGE
37 wxCursor( const wxImage & image );
38#endif
39 wxCursor( const char bits[], int width, int height,
40 int hotSpotX=-1, int hotSpotY=-1,
41 const char maskBits[]=0, wxColour *fg=0, wxColour *bg=0 );
83df96d6 42 ~wxCursor();
a11672a4
RR
43 wxCursor& operator = ( const wxCursor& cursor );
44 bool operator == ( const wxCursor& cursor ) const;
45 bool operator != ( const wxCursor& cursor ) const;
46 bool Ok() const;
47
48 // implementation
49
50 WXCursor GetCursor() const;
51
52private:
53 DECLARE_DYNAMIC_CLASS(wxCursor)
83df96d6
JS
54};
55
83df96d6
JS
56
57#endif
58// _WX_CURSOR_H_