AGW Logo

agw_title FMRendererXP

Xp-Style renderer.

hierarchy Inheritance Diagram

Inheritance diagram for: FMRendererXP

Inheritance diagram of FMRendererXP


supclasses Known Superclasses


method_summary Methods Summary

__init__Default class constructor.
DrawLeftMarginDraws the menu left margin.
DrawMenuBarBackgroundDraws the menu bar background according to the active theme.
DrawToolBarBgDraws the toolbar background according to the active theme.
GetTextColourEnableReturns the colour used for text colour when enabled.

API Class API

class FMRendererXP(FMRenderer)[source]

Xp-Style renderer.



__init__()[source]

Default class constructor.



DrawLeftMargin(item, dc, menuRect)[source]

Draws the menu left margin.

Parameters:
  • item – the FlatMenuItem to paint;
  • dc – an instance of wx.DC;
  • menuRect – an instance of wx.Rect, representing the menu client rectangle.


DrawMenuBarBackground(dc, rect)[source]

Draws the menu bar background according to the active theme.

Parameters:
  • dc – an instance of wx.DC;

  • rect – an instance of wx.Rect, representing the menubar client rectangle.



DrawToolBarBg(dc, rect)[source]

Draws the toolbar background according to the active theme.

Parameters:
  • dc – an instance of wx.DC;

  • rect – an instance of wx.Rect, representing the toolbar client rectangle.



GetTextColourEnable()[source]

Returns the colour used for text colour when enabled.

Tree

Table Of Contents

Previous topic

FMRendererVista

Next topic

FileHistory