]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/cursor.h
Removed wxPropertyGridManager::GetChildrentCount() member functions - now use page...
[wxWidgets.git] / include / wx / gtk / cursor.h
CommitLineData
c801d85f
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: cursor.h
3// Purpose:
4// Author: Robert Roebling
dbf858b5
RR
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
65571936 7// Licence: wxWindows licence
c801d85f
KB
8/////////////////////////////////////////////////////////////////////////////
9
0416c418
PC
10#ifndef _WX_GTK_CURSOR_H_
11#define _WX_GTK_CURSOR_H_
c801d85f 12
8f884a0d 13#include "wx/gdiobj.h"
f4efd805 14#include "wx/gdicmn.h"
c801d85f 15
b5dbe15d
VS
16class WXDLLIMPEXP_FWD_CORE wxColour;
17class WXDLLIMPEXP_FWD_CORE wxImage;
7eff657c 18
c801d85f
KB
19//-----------------------------------------------------------------------------
20// wxCursor
21//-----------------------------------------------------------------------------
22
8f884a0d 23class WXDLLIMPEXP_CORE wxCursor : public wxGDIObject
c801d85f 24{
20e05ffb 25public:
8bbe427f 26 wxCursor();
d4f392ea 27 wxCursor( wxStockCursor cursorId );
7eff657c
JS
28#if wxUSE_IMAGE
29 wxCursor( const wxImage & image );
30#endif
f4efd805
FM
31 wxCursor( const char bits[], int width, int height,
32 int hotSpotX = -1, int hotSpotY = -1,
8f884a0d 33 const char maskBits[] = NULL,
f4efd805 34 const wxColour* fg = NULL, const wxColour* bg = NULL);
d3c7fc99 35 virtual ~wxCursor();
8bbe427f 36
20e05ffb
RR
37 // implementation
38
8bbe427f 39 GdkCursor *GetCursor() const;
c801d85f 40
8f884a0d
VZ
41protected:
42 virtual wxGDIRefData *CreateGDIRefData() const;
43 virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
44
20e05ffb
RR
45private:
46 DECLARE_DYNAMIC_CLASS(wxCursor)
c801d85f
KB
47};
48
0416c418 49#endif // _WX_GTK_CURSOR_H_