Base class for all theme renderers.
__init__ |
Default class constructor. Intentionally empty. |
DrawBitmapArea |
Draws the area below a bitmap and the bitmap itself using a gradient shading. |
DrawBitmapBorders |
Draws borders for a bitmap. |
DrawButtonBorders |
Draws borders for buttons. |
GetFont |
Returns the font used for text. |
GetMenuFaceColour |
Returns the foreground colour for the menu. |
GetTextColourDisable |
Returns the colour used for text colour when disabled. |
GetTextColourEnable |
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.
Parameters: |
---|
DrawBitmapBorders
(self, dc, rect, penColour, bitmapBorderUpperLeftPen)¶Draws borders for a bitmap.
Parameters: |
---|
DrawButtonBorders
(self, dc, rect, penColour, brushColour)¶Draws borders for buttons.
Parameters: |
---|
GetMenuFaceColour
(self)¶Returns the foreground colour for the menu.
Returns: | An instance of wx.Colour . |
---|
GetTextColourDisable
(self)¶Returns the colour used for text colour when disabled.
Returns: | An instance of wx.Colour . |
---|