Base class for all theme renderers.
wx.lib.agw.artmanager.RendererMSOffice2007
, wx.lib.agw.artmanager.RendererXP
Default class constructor. Intentionally empty. |
|
Draws the area below a bitmap and the bitmap itself using a gradient shading. |
|
Draws borders for a bitmap. |
|
Draws borders for buttons. |
|
Returns the font used for text. |
|
Returns the foreground colour for the menu. |
|
Returns the colour used for text colour when disabled. |
|
Returns the colour used for text colour when enabled. |
RendererBase
(object)¶Base class for all theme renderers.
__init__
(self)¶Default class constructor. Intentionally empty.
DrawBitmapArea
(self, dc, xpm_name, rect, baseColour, flipSide)¶Draws the area below a bitmap and the bitmap itself using a gradient shading.
DrawBitmapBorders
(self, dc, rect, penColour, bitmapBorderUpperLeftPen)¶Draws borders for a bitmap.
DrawButtonBorders
(self, dc, rect, penColour, brushColour)¶Draws borders for buttons.
GetMenuFaceColour
(self)¶Returns the foreground colour for the menu.
An instance of wx.Colour
.
GetTextColourDisable
(self)¶Returns the colour used for text colour when disabled.
An instance of wx.Colour
.