]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/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
38 wxBrush( const wxColour
&colour
, int style
);
39 wxBrush( const wxBitmap
&stippleBitmap
);
40 wxBrush( const wxBrush
&brush
);
42 wxBrush
& operator = ( const wxBrush
& brush
);
43 bool operator == ( const wxBrush
& brush
) const;
44 bool operator != ( const wxBrush
& brush
) const;
48 wxColour
&GetColour() const;
49 wxBitmap
*GetStipple() const;
51 void SetColour( const wxColour
& col
);
52 void SetColour( unsigned char r
, unsigned char g
, unsigned char b
);
53 void SetStyle( int style
);
54 void SetStipple( const wxBitmap
& stipple
);
59 DECLARE_DYNAMIC_CLASS(wxBrush
)
62 #endif // __GTKBRUSHH__