]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/brush.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
19 #include "wx/object.h"
20 #include "wx/string.h"
21 #include "wx/gdiobj.h"
22 #include "wx/bitmap.h"
24 //-----------------------------------------------------------------------------
26 //-----------------------------------------------------------------------------
30 //-----------------------------------------------------------------------------
32 //-----------------------------------------------------------------------------
34 class wxBrush
: public wxGDIObject
36 DECLARE_DYNAMIC_CLASS(wxBrush
)
41 wxBrush( const wxColour
&colour
, int style
);
42 wxBrush( const wxBitmap
&stippleBitmap
);
43 wxBrush( const wxBrush
&brush
);
44 wxBrush( const wxBrush
*brush
);
46 wxBrush
& operator = ( const wxBrush
& brush
);
47 bool operator == ( const wxBrush
& brush
);
48 bool operator != ( const wxBrush
& brush
);
51 int GetStyle(void) const;
52 wxColour
&GetColour(void) const;
53 wxBitmap
*GetStipple(void) const;
56 void SetColour( const wxColour
& col
);
57 void SetColour( unsigned char r
, unsigned char g
, unsigned char b
);
58 void SetStyle( int style
);
59 void SetStipple( const wxBitmap
& stipple
);
66 #endif // __GTKBRUSHH__