]>
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
36 DECLARE_DYNAMIC_CLASS(wxBrush
)
41 wxBrush( const wxColour
&colour
, int style
);
42 wxBrush( const wxBitmap
&stippleBitmap
);
43 wxBrush( const wxBrush
&brush
);
45 wxBrush
& operator = ( const wxBrush
& brush
);
46 bool operator == ( const wxBrush
& brush
);
47 bool operator != ( const wxBrush
& brush
);
51 wxColour
&GetColour() const;
52 wxBitmap
*GetStipple() const;
54 void SetColour( const wxColour
& col
);
55 void SetColour( unsigned char r
, unsigned char g
, unsigned char b
);
56 void SetStyle( int style
);
57 void SetStipple( const wxBitmap
& stipple
);
64 #endif // __GTKBRUSHH__