2001-06-26 17:05:06 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: cursor.h
|
|
|
|
// Purpose:
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Id: $Id$
|
2002-02-14 15:30:34 -05:00
|
|
|
// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
2001-06-26 17:05:06 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __WX_CURSOR_H__
|
|
|
|
#define __WX_CURSOR_H__
|
|
|
|
|
2007-12-15 12:54:20 -05:00
|
|
|
#include "wx/gdiobj.h"
|
2001-06-26 17:05:06 -04:00
|
|
|
#include "wx/gdicmn.h"
|
|
|
|
|
|
|
|
class MGLCursor;
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxCursor
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
2008-03-26 11:06:00 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxCursor : public wxGDIObject
|
2001-06-26 17:05:06 -04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
wxCursor();
|
|
|
|
wxCursor(int cursorId);
|
|
|
|
wxCursor(const char bits[], int width, int height,
|
|
|
|
int hotSpotX=-1, int hotSpotY=-1,
|
|
|
|
const char maskBits[]=0, wxColour *fg=0, wxColour *bg=0);
|
|
|
|
wxCursor(const wxString& name,
|
|
|
|
long flags = wxBITMAP_TYPE_CUR_RESOURCE,
|
|
|
|
int hotSpotX = 0, int hotSpotY = 0);
|
2006-09-05 16:47:48 -04:00
|
|
|
virtual ~wxCursor();
|
2001-06-26 17:05:06 -04:00
|
|
|
|
|
|
|
// implementation
|
|
|
|
MGLCursor *GetMGLCursor() const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxCursor)
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __WX_CURSOR_H__
|