]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: cursor.h | |
3 | // Purpose: | |
4 | // Author: Robert Roebling | |
5 | // Id: $Id$ | |
6 | // Copyright: (c) 1998 Robert Roebling | |
7 | // Licence: wxWindows licence | |
8 | ///////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | ||
11 | #ifndef __GTKCURSORH__ | |
12 | #define __GTKCURSORH__ | |
13 | ||
14 | #ifdef __GNUG__ | |
15 | #pragma interface | |
16 | #endif | |
17 | ||
18 | #include "wx/defs.h" | |
19 | #include "wx/object.h" | |
20 | #include "wx/gdicmn.h" | |
21 | ||
22 | //----------------------------------------------------------------------------- | |
23 | // wxCursor | |
24 | //----------------------------------------------------------------------------- | |
25 | ||
26 | class wxCursor: public wxObject | |
27 | { | |
28 | DECLARE_DYNAMIC_CLASS(wxCursor) | |
29 | ||
30 | public: | |
31 | ||
32 | wxCursor(); | |
33 | wxCursor( int cursorId ); | |
34 | wxCursor( const wxCursor &cursor ); | |
35 | ~wxCursor(); | |
36 | wxCursor& operator = ( const wxCursor& cursor ); | |
37 | bool operator == ( const wxCursor& cursor ) const; | |
38 | bool operator != ( const wxCursor& cursor ) const; | |
39 | bool Ok() const; | |
40 | ||
41 | GdkCursor *GetCursor() const; | |
42 | ||
43 | // no data :-) | |
44 | }; | |
45 | ||
46 | #endif // __GTKCURSORH__ |