]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk1/brush.h
fixed docs to accomodate more strict wxHTML Help controller
[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
8bbe427f 7// Licence: wxWindows licence
c801d85f
KB
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{
738f9e5a 36public:
8bbe427f 37 wxBrush();
debe6624 38 wxBrush( const wxColour &colour, int style );
c801d85f
KB
39 wxBrush( const wxBitmap &stippleBitmap );
40 wxBrush( const wxBrush &brush );
8bbe427f 41 ~wxBrush();
c801d85f 42 wxBrush& operator = ( const wxBrush& brush );
f6bcfd97
BP
43 bool operator == ( const wxBrush& brush ) const;
44 bool operator != ( const wxBrush& brush ) const;
8bbe427f
VZ
45 bool Ok() const;
46
47 int GetStyle() const;
48 wxColour &GetColour() const;
49 wxBitmap *GetStipple() const;
50
e55ad60e 51 void SetColour( const wxColour& col );
e55ad60e
RR
52 void SetColour( unsigned char r, unsigned char g, unsigned char b );
53 void SetStyle( int style );
54 void SetStipple( const wxBitmap& stipple );
8bbe427f
VZ
55
56 void Unshare();
57
738f9e5a
RR
58private:
59 DECLARE_DYNAMIC_CLASS(wxBrush)
c801d85f
KB
60};
61
62#endif // __GTKBRUSHH__