]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mgl/cursor.h
added operator=(unsigned int) overload (should help djgpp compilation)
[wxWidgets.git] / include / wx / mgl / cursor.h
CommitLineData
32b8ec41
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: cursor.h
3// Purpose:
4// Author: Vaclav Slavik
5// Id: $Id$
52750c2e 6// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
65571936 7// Licence: wxWindows licence
32b8ec41
VZ
8/////////////////////////////////////////////////////////////////////////////
9
32b8ec41
VZ
10#ifndef __WX_CURSOR_H__
11#define __WX_CURSOR_H__
12
32b8ec41
VZ
13#include "wx/defs.h"
14#include "wx/object.h"
15#include "wx/gdicmn.h"
16
17class MGLCursor;
18
19//-----------------------------------------------------------------------------
20// wxCursor
21//-----------------------------------------------------------------------------
22
23class WXDLLEXPORT wxCursor: public wxObject
24{
25public:
26
27 wxCursor();
28 wxCursor(int cursorId);
32b8ec41
VZ
29 wxCursor(const char bits[], int width, int height,
30 int hotSpotX=-1, int hotSpotY=-1,
31 const char maskBits[]=0, wxColour *fg=0, wxColour *bg=0);
32 wxCursor(const wxString& name,
33 long flags = wxBITMAP_TYPE_CUR_RESOURCE,
34 int hotSpotX = 0, int hotSpotY = 0);
35 ~wxCursor();
32b8ec41
VZ
36 bool operator == (const wxCursor& cursor) const;
37 bool operator != (const wxCursor& cursor) const;
38 bool Ok() const;
39
40 // implementation
41 MGLCursor *GetMGLCursor() const;
42
43private:
44 DECLARE_DYNAMIC_CLASS(wxCursor)
45};
46
47#endif // __WX_CURSOR_H__