wxRibbonArtProvider
Methods
Clone
Create a new art provider which is a clone of this one.
DrawButtonBarBackground
Draw the background for a wxRibbonButtonBar control.
DrawGalleryBackground
Draw the background and chrome for a wxRibbonGallery control.
DrawGalleryItemBackground
Draw the background of a single item in a wxRibbonGallery 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.
DrawScrollButton
Draw a ribbon-style scroll button.
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 wxRibbonToolBar control).
DrawToolBarBackground
Draw the background for a wxRibbonToolBar control.
DrawToolGroupBackground
Draw the background for a group of tools on a wxRibbonToolBar control.
GetBarTabWidth
Calculate the ideal and minimum width (in pixels) of a tab in a ribbon bar.
GetColor
GetColour
Get the value of a certain colour setting.
GetColourScheme
Get the current colour scheme.
GetFlags
Get the previously set style flags.
GetFont
Get the value of a certain font setting.
GetGalleryClientSize
Calculate the client size of a wxRibbonGallery control for a given size.
GetGallerySize
Calculate the size of a wxRibbonGallery control for a given client size.
GetMetric
Get the value of a certain integer setting.
GetMinimisedPanelMinimumSize
Calculate the size of a minimised ribbon panel.
GetPageBackgroundRedrawArea
Calculate the portion of a page background which needs to be redrawn when a page is resized.
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.
GetToolSize
Calculate the size of a tool within a wxRibbonToolBar.
SetColor
SetColourScheme
Set all applicable colour settings from a few base colours.
SetFlags
Set the style flags.
SetFont
Set the value of a certain font setting to the value font.
SetMetric
Set the value of a certain integer setting to the value new_val.
DrawButtonBarButton
Draw a single button for a wxRibbonButtonBar control.
GetButtonBarButtonSize
Calculate the size of a button within a wxRibbonButtonBar.
Clone
wxRibbonArtProvider
&
Clone
( )
Create a new art provider which is a clone of this one.
DrawButtonBarBackground
DrawButtonBarBackground
(
wxDC
&
$dc
,
wxWindow
&
$wnd
,
wxRect
$rect
)
Draw the background for a wxRibbonButtonBar control.
DrawGalleryBackground
DrawGalleryBackground
(
wxDC
&
$dc
,
wxRibbonGallery
&
$wnd
,
wxRect
$rect
)
Draw the background and chrome for a wxRibbonGallery control.
DrawGalleryItemBackground
DrawGalleryItemBackground
(
wxDC
&
$dc
,
wxRibbonGallery
&
$wnd
,
wxRect
$rect
,
wxRibbonGalleryItem
&
$item
)
Draw the background of a single item in a wxRibbonGallery control.
DrawMinimisedPanel
DrawMinimisedPanel
(
wxDC
&
$dc
,
wxRibbonPanel
&
$wnd
,
wxRect
$rect
,
wxBitmap
&
$bitmap
)
Draw a minimised ribbon panel.
DrawPageBackground
DrawPageBackground
(
wxDC
&
$dc
,
wxWindow
&
$wnd
,
wxRect
$rect
)
Draw the background of a ribbon page.
DrawPanelBackground
DrawPanelBackground
(
wxDC
&
$dc
,
wxRibbonPanel
&
$wnd
,
wxRect
$rect
)
Draw the background and chrome for a ribbon panel.
DrawScrollButton
DrawScrollButton
(
wxDC
&
$dc
,
wxWindow
&
$wnd
,
wxRect
$rect
,
integer
$style
)
Draw a ribbon-style scroll button.
DrawTabCtrlBackground
DrawTabCtrlBackground
(
wxDC
&
$dc
,
wxWindow
&
$wnd
,
wxRect
$rect
)
Draw the background of the tab region of a ribbon bar.
DrawTabSeparator
DrawTabSeparator
(
wxDC
&
$dc
,
wxWindow
&
$wnd
,
wxRect
$rect
,
float
$visibility
)
Draw a separator between two tabs in a ribbon bar.
DrawTool
DrawTool
(
wxDC
&
$dc
,
wxWindow
&
$wnd
,
wxRect
$rect
,
wxBitmap
$bitmap
,
wxRibbonButtonKind
$kind
,
integer
$state
)
Draw a single tool (for a wxRibbonToolBar control).
DrawToolBarBackground
DrawToolBarBackground
(
wxDC
&
$dc
,
wxWindow
&
$wnd
,
wxRect
$rect
)
Draw the background for a wxRibbonToolBar control.
DrawToolGroupBackground
DrawToolGroupBackground
(
wxDC
&
$dc
,
wxWindow
&
$wnd
,
wxRect
$rect
)
Draw the background for a group of tools on a wxRibbonToolBar control.
GetBarTabWidth
GetBarTabWidth
(
wxDC
&
$dc
,
wxWindow
&
$wnd
,
string
$label
,
wxBitmap
$bitmap
,
integer &
$ideal
,
integer &
$small_begin_need_separator
,
integer &
$small_must_have_separator
,
integer &
$minimum
)
Calculate the ideal and minimum width (in pixels) of a tab in a ribbon bar.
GetColor
wxColour
GetColor
(
integer
$id
)
GetColour
wxColour
GetColour
(
integer
$id
)
Get the value of a certain colour setting.
GetColourScheme
GetColourScheme
(
wxColour
&
$primary
,
wxColour
&
$secondary
,
wxColour
&
$tertiary
)
Get the current colour scheme.
GetFlags
integer
GetFlags
( )
Get the previously set style flags.
GetFont
wxFont
GetFont
(
integer
$id
)
Get the value of a certain font setting.
GetGalleryClientSize
wxSize
GetGalleryClientSize
(
wxDC
&
$dc
,
wxRibbonGallery
$wnd
,
wxSize
$size
,
wxPoint
&
$client_offset
,
wxRect
&
$scroll_up_button
,
wxRect
&
$scroll_down_button
,
wxRect
&
$extension_button
)
Calculate the client size of a wxRibbonGallery control for a given size.
GetGallerySize
wxSize
GetGallerySize
(
wxDC
&
$dc
,
wxRibbonGallery
$wnd
,
wxSize
$client_size
)
Calculate the size of a wxRibbonGallery control for a given client size.
GetMetric
integer
GetMetric
(
integer
$id
)
Get the value of a certain integer setting.
GetMinimisedPanelMinimumSize
wxSize
GetMinimisedPanelMinimumSize
(
wxDC
&
$dc
,
wxRibbonPanel
$wnd
,
wxSize
&
$desired_bitmap_size
,
wxDirection
&
$expanded_panel_direction
)
Calculate the size of a minimised ribbon panel.
GetPageBackgroundRedrawArea
wxRect
GetPageBackgroundRedrawArea
(
wxDC
&
$dc
,
wxRibbonPage
$wnd
,
wxSize
$page_old_size
,
wxSize
$page_new_size
)
Calculate the portion of a page background which needs to be redrawn when a page is resized.
GetPanelClientSize
wxSize
GetPanelClientSize
(
wxDC
&
$dc
,
wxRibbonPanel
$wnd
,
wxSize
$size
,
wxPoint
&
$client_offset
)
Calculate the client size of a panel for a given overall size.
GetPanelSize
wxSize
GetPanelSize
(
wxDC
&
$dc
,
wxRibbonPanel
$wnd
,
wxSize
$client_size
,
wxPoint
&
$client_offset
)
Calculate the size of a panel for a given client size.
GetScrollButtonMinimumSize
wxSize
GetScrollButtonMinimumSize
(
wxDC
&
$dc
,
wxWindow
&
$wnd
,
integer
$style
)
Calculate the minimum size (in pixels) of a scroll button.
GetToolSize
wxSize
GetToolSize
(
wxDC
&
$dc
,
wxWindow
&
$wnd
,
wxSize
$bitmap_size
,
wxRibbonButtonKind
$kind
,
bool
$is_first
,
bool
$is_last
,
wxRect
&
$dropdown_region
)
Calculate the size of a tool within a wxRibbonToolBar.
SetColor
SetColor
(
integer
$id
,
wxColour
$color
)
SetColourScheme
SetColourScheme
(
wxColour
$primary
,
wxColour
$secondary
,
wxColour
$tertiary
)
Set all applicable colour settings from a few base colours.
SetFlags
SetFlags
(
integer
$flags
)
Set the style flags.
SetFont
SetFont
(
integer
$id
,
wxFont
$font
)
Set the value of a certain font setting to the value font.
SetMetric
SetMetric
(
integer
$id
,
integer
$new_val
)
Set the value of a certain integer setting to the value new_val.
DrawButtonBarButton
DrawButtonBarButton
(
wxDC
&
$dc
,
wxWindow
&
$wnd
,
wxRect
$rect
,
wxRibbonButtonKind
$kind
,
integer
$state
,
string
$label
,
wxBitmap
$bitmap_large
,
wxBitmap
$bitmap_small
)
Draw a single button for a wxRibbonButtonBar control.
GetButtonBarButtonSize
bool
GetButtonBarButtonSize
(
wxDC
&
$dc
,
wxWindow
&
$wnd
,
wxRibbonButtonKind
$kind
,
wxRibbonButtonBarButtonState
$size
,
string
$label
,
wxSize
$bitmap_size_large
,
wxSize
$bitmap_size_small
,
wxSize
&
$button_size
,
wxRect
&
$normal_region
,
wxRect
&
$dropdown_region
)
Calculate the size of a button within a wxRibbonButtonBar.