__init__ | |
Clone | Create a new art provider which is a clone of this one. |
DrawButtonBarBackground | Draw the background for a RibbonButtonBar control. |
DrawButtonBarButton | Draw a single button for a RibbonButtonBar control. |
DrawGalleryBackground | Draw the background and chrome for a RibbonGallery control. |
DrawGalleryButton | |
DrawGalleryItemBackground | Draw the background of a single item in a RibbonGallery control. |
DrawMinimisedPanel | Draw a minimised ribbon panel. |
DrawPageBackground | Draw the background of a ribbon page. |
DrawPanelBackground | Draw the background and chrome for a ribbon panel. |
DrawPartialPanelBackground | |
DrawScrollButton | Draw a ribbon-style scroll button. |
DrawTab | Draw a single tab in the tab region of a ribbon bar. |
DrawTabCtrlBackground | Draw the background of the tab region of a ribbon bar. |
DrawTabSeparator | Draw a separator between two tabs in a ribbon bar. |
DrawTool | Draw a single tool (for a RibbonToolBar control). |
DrawToolBarBackground | Draw the background for a RibbonToolBar control. |
DrawToolGroupBackground | Draw the background for a group of tools on a RibbonToolBar control. |
GetBarTabWidth | Calculate the ideal and minimum width (in pixels) of a tab in a ribbon bar. |
GetColour | Get the value of a certain colour setting. |
GetPanelClientSize | Calculate the client size of a panel for a given overall size. |
GetPanelSize | Calculate the size of a panel for a given client size. |
GetScrollButtonMinimumSize | Calculate the minimum size (in pixels) of a scroll button. |
GetTabCtrlHeight | Calculate the height (in pixels) of the tab region of a ribbon bar. |
SetColour | Set the value of a certain colour setting to the value. |
SetColourScheme | Set all applicable colour settings from a few base colours. |
SetFont | Set the value of a certain font setting to the value. |
Draw the background for a RibbonButtonBar control.
Parameters: |
|
---|
Draw a single button for a RibbonButtonBar control.
Parameters: |
|
---|
Draw the background and chrome for a RibbonGallery control.
This should draw the border, brackground, scroll buttons, extension button, and any other UI elements which are not attached to a specific gallery item.
Parameters: |
|
---|
Draw the background of a single item in a RibbonGallery control.
This is painted on top of a gallery background, and behind the items bitmap. Unlike DrawButtonBarButton and DrawTool, it is not expected to draw the item bitmap - that is done by the gallery control itself.
Parameters: |
|
---|
Draw a minimised ribbon panel.
Parameters: |
|
---|
Draw the background of a ribbon page.
Parameters: |
|
---|
Draw the background and chrome for a ribbon panel.
This should draw the border, background, label, and any other items of a panel which are outside the client area of a panel. Note that when a panel is minimised, this function is not called - only DrawMinimisedPanel is called, so a background should be explicitly painted by that if required.
Parameters: |
|
---|
Draw a ribbon-style scroll button.
Parameters: |
|
---|
Draw a single tab in the tab region of a ribbon bar.
Parameters: |
|
---|
Draw the background of the tab region of a ribbon bar.
Parameters: |
|
---|
Draw a separator between two tabs in a ribbon bar.
Parameters: |
|
---|
Draw a single tool (for a RibbonToolBar control).
Parameters: |
|
---|
Draw the background for a RibbonToolBar control.
Parameters: |
|
---|
Draw the background for a group of tools on a RibbonToolBar control.
Parameters: |
|
---|
Calculate the ideal and minimum width (in pixels) of a tab in a ribbon bar.
Parameters: |
|
---|
Get the value of a certain colour setting.
can be one of the colour values of RibbonArtSetting.
Parameters: | id – the colour id. |
---|
Calculate the client size of a panel for a given overall size.
This should act as the inverse to GetPanelSize, and decrement the given size by enough to fit the panel label and other chrome.
Parameters: |
|
---|
See also
Calculate the size of a panel for a given client size.
This should increment the given size by enough to fit the panel label and other chrome.
Parameters: |
|
---|
See also
Calculate the minimum size (in pixels) of a scroll button.
Parameters: |
|
---|
Calculate the height (in pixels) of the tab region of a ribbon bar.
Note that as the tab region can contain scroll buttons, the height should be greater than or equal to the minimum height for a tab scroll button.
Parameters: |
|
---|
Set the value of a certain colour setting to the value.
can be one of the colour values of RibbonArtSetting, though not all colour settings will have an affect on every art provider.
Parameters: |
|
---|
See also
Set all applicable colour settings from a few base colours.
Uses any or all of the three given colours to create a colour scheme, and then sets all colour settings which are relevant to the art provider using that scheme. Note that some art providers may not use the tertiary colour for anything, and some may not use the secondary colour either.
Parameters: |
|
---|