]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk1/brush.h
changed the notebook control to use AddPage() interface (Julian's version
[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);
42 wxBrush( const wxColour &colour, const int style );
43 wxBrush( const wxString &colourName, const int style );
44 wxBrush( const wxBitmap &stippleBitmap );
45 wxBrush( const wxBrush &brush );
46 wxBrush( const wxBrush *brush );
47 ~wxBrush(void);
48 wxBrush& operator = ( const wxBrush& brush );
49 bool operator == ( const wxBrush& brush );
50 bool operator != ( const wxBrush& brush );
51 bool Ok(void) const;
52
53 int GetStyle(void) const;
54 wxColour &GetColour(void) const;
55 wxBitmap *GetStipple(void) const;
56
57 // no data :-)
58};
59
60#endif // __GTKBRUSHH__