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