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