1998-05-20 14:01:55 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: cursor.h
|
|
|
|
// Purpose:
|
|
|
|
// Author: Robert Roebling
|
1998-10-26 10:56:58 +00:00
|
|
|
// Id: $Id$
|
|
|
|
// Copyright: (c) 1998 Robert Roebling
|
1998-12-09 17:30:17 +00:00
|
|
|
// Licence: wxWindows licence
|
1998-05-20 14:01:55 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __GTKCURSORH__
|
|
|
|
#define __GTKCURSORH__
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/defs.h"
|
|
|
|
#include "wx/object.h"
|
|
|
|
#include "wx/gdicmn.h"
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxCursor
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
class wxCursor: public wxObject
|
|
|
|
{
|
1999-11-22 19:44:25 +00:00
|
|
|
public:
|
1998-05-20 14:01:55 +00:00
|
|
|
|
1998-12-09 17:30:17 +00:00
|
|
|
wxCursor();
|
1998-07-04 15:17:59 +00:00
|
|
|
wxCursor( int cursorId );
|
1998-05-20 14:01:55 +00:00
|
|
|
wxCursor( const wxCursor &cursor );
|
1998-12-09 17:30:17 +00:00
|
|
|
~wxCursor();
|
1998-05-20 14:01:55 +00:00
|
|
|
wxCursor& operator = ( const wxCursor& cursor );
|
1998-12-09 17:30:17 +00:00
|
|
|
bool operator == ( const wxCursor& cursor ) const;
|
|
|
|
bool operator != ( const wxCursor& cursor ) const;
|
|
|
|
bool Ok() const;
|
|
|
|
|
1999-11-22 19:44:25 +00:00
|
|
|
// implementation
|
|
|
|
|
1998-12-09 17:30:17 +00:00
|
|
|
GdkCursor *GetCursor() const;
|
1998-05-20 14:01:55 +00:00
|
|
|
|
1999-11-22 19:44:25 +00:00
|
|
|
private:
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxCursor)
|
1998-05-20 14:01:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __GTKCURSORH__
|