]>
Commit | Line | Data |
---|---|---|
c801d85f KB |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: cursor.h | |
3 | // Purpose: | |
4 | // Author: Robert Roebling | |
dbf858b5 RR |
5 | // Id: $Id$ |
6 | // Copyright: (c) 1998 Robert Roebling | |
8bbe427f | 7 | // Licence: wxWindows licence |
c801d85f KB |
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 | ||
c801d85f KB |
22 | //----------------------------------------------------------------------------- |
23 | // wxCursor | |
24 | //----------------------------------------------------------------------------- | |
25 | ||
26 | class wxCursor: public wxObject | |
27 | { | |
28 | DECLARE_DYNAMIC_CLASS(wxCursor) | |
29 | ||
30 | public: | |
31 | ||
8bbe427f | 32 | wxCursor(); |
debe6624 | 33 | wxCursor( int cursorId ); |
c801d85f | 34 | wxCursor( const wxCursor &cursor ); |
8bbe427f | 35 | ~wxCursor(); |
c801d85f | 36 | wxCursor& operator = ( const wxCursor& cursor ); |
8bbe427f VZ |
37 | bool operator == ( const wxCursor& cursor ) const; |
38 | bool operator != ( const wxCursor& cursor ) const; | |
39 | bool Ok() const; | |
40 | ||
41 | GdkCursor *GetCursor() const; | |
c801d85f KB |
42 | |
43 | // no data :-) | |
44 | }; | |
45 | ||
46 | #endif // __GTKCURSORH__ |