]>
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 | |
c801d85f KB |
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 | // classes | |
24 | //----------------------------------------------------------------------------- | |
25 | ||
26 | class wxWindow; | |
27 | ||
28 | class wxCursor; | |
29 | ||
30 | //----------------------------------------------------------------------------- | |
31 | // wxCursor | |
32 | //----------------------------------------------------------------------------- | |
33 | ||
34 | class wxCursor: public wxObject | |
35 | { | |
36 | DECLARE_DYNAMIC_CLASS(wxCursor) | |
37 | ||
38 | public: | |
39 | ||
40 | wxCursor(void); | |
debe6624 | 41 | wxCursor( int cursorId ); |
c801d85f KB |
42 | wxCursor( const wxCursor &cursor ); |
43 | wxCursor( const wxCursor *cursor ); | |
44 | ~wxCursor(void); | |
45 | wxCursor& operator = ( const wxCursor& cursor ); | |
46 | bool operator == ( const wxCursor& cursor ); | |
47 | bool operator != ( const wxCursor& cursor ); | |
48 | bool Ok(void) const; | |
49 | ||
50 | private: | |
51 | public: | |
52 | ||
53 | friend wxWindow; | |
54 | ||
55 | GdkCursor *GetCursor(void) const; | |
56 | ||
57 | // no data :-) | |
58 | }; | |
59 | ||
60 | #endif // __GTKCURSORH__ |