]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk1/brush.h
Changed wxRectangle to wxRect. Sorry for the bandwidth...
[wxWidgets.git] / include / wx / gtk1 / brush.h
CommitLineData
c801d85f
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: brush.h
3// Purpose:
4// Author: Robert Roebling
dbf858b5 5// Id: $Id$
01111366 6// Copyright: (c) 1998 Robert Roebling
c801d85f
KB
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10
11#ifndef __GTKBRUSHH__
12#define __GTKBRUSHH__
13
14#ifdef __GNUG__
15#pragma interface
16#endif
17
18#include "wx/defs.h"
19#include "wx/object.h"
20#include "wx/string.h"
21#include "wx/gdiobj.h"
22#include "wx/bitmap.h"
23
24//-----------------------------------------------------------------------------
25// classes
26//-----------------------------------------------------------------------------
27
28class wxBrush;
29
30//-----------------------------------------------------------------------------
31// wxBrush
32//-----------------------------------------------------------------------------
33
34class wxBrush: public wxGDIObject
35{
36 DECLARE_DYNAMIC_CLASS(wxBrush)
37
38 public:
39
40 wxBrush(void);
debe6624 41 wxBrush( const wxColour &colour, int style );
c801d85f
KB
42 wxBrush( const wxBitmap &stippleBitmap );
43 wxBrush( const wxBrush &brush );
44 wxBrush( const wxBrush *brush );
45 ~wxBrush(void);
46 wxBrush& operator = ( const wxBrush& brush );
47 bool operator == ( const wxBrush& brush );
48 bool operator != ( const wxBrush& brush );
49 bool Ok(void) const;
50
51 int GetStyle(void) const;
52 wxColour &GetColour(void) const;
53 wxBitmap *GetStipple(void) const;
54
e55ad60e
RR
55
56 void SetColour( const wxColour& col );
e55ad60e
RR
57 void SetColour( unsigned char r, unsigned char g, unsigned char b );
58 void SetStyle( int style );
59 void SetStipple( const wxBitmap& stipple );
60
61 void Unshare(void);
62
c801d85f
KB
63 // no data :-)
64};
65
66#endif // __GTKBRUSHH__