Version: 3.3.1
wxRibbonAUIArtProvider Class Reference

#include <wx/ribbon/art.h>

+ Inheritance diagram for wxRibbonAUIArtProvider:

Public Member Functions

 wxRibbonAUIArtProvider ()
 
- Public Member Functions inherited from wxRibbonMSWArtProvider
 wxRibbonMSWArtProvider (bool set_colour_scheme=true)
 
- Public Member Functions inherited from wxRibbonArtProvider
 wxRibbonArtProvider ()
 Constructor. More...
 
virtual ~wxRibbonArtProvider ()
 Destructor. More...
 
virtual wxRibbonArtProviderClone () const =0
 Create a new art provider which is a clone of this one. More...
 
virtual void SetFlags (long flags)=0
 Set the style flags. More...
 
virtual long GetFlags () const =0
 Get the previously set style flags. More...
 
virtual int GetMetric (int id) const =0
 Get the value of a certain integer setting. More...
 
virtual void SetMetric (int id, int new_val)=0
 Set the value of a certain integer setting to the value new_val. More...
 
virtual void SetFont (int id, const wxFont &font)=0
 Set the value of a certain font setting to the value font. More...
 
virtual wxFont GetFont (int id) const =0
 Get the value of a certain font setting. More...
 
virtual wxColour GetColour (int id) const =0
 Get the value of a certain colour setting. More...
 
virtual void SetColour (int id, const wxColour &colour)=0
 Set the value of a certain colour setting to the value colour. More...
 
wxColour GetColor (int id) const
 
void SetColor (int id, const wxColour &color)
 
virtual void GetColourScheme (wxColour *primary, wxColour *secondary, wxColour *tertiary) const =0
 Get the current colour scheme. More...
 
virtual void SetColourScheme (const wxColour &primary, const wxColour &secondary, const wxColour &tertiary)=0
 Set all applicable colour settings from a few base colours. More...
 
virtual void DrawTabCtrlBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect)=0
 Draw the background of the tab region of a ribbon bar. More...
 
virtual void DrawTab (wxDC &dc, wxWindow *wnd, const wxRibbonPageTabInfo &tab)=0
 Draw a single tab in the tab region of a ribbon bar. More...
 
virtual void DrawTabSeparator (wxDC &dc, wxWindow *wnd, const wxRect &rect, double visibility)=0
 Draw a separator between two tabs in a ribbon bar. More...
 
virtual void DrawPageBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect)=0
 Draw the background of a ribbon page. More...
 
virtual void DrawScrollButton (wxDC &dc, wxWindow *wnd, const wxRect &rect, long style)=0
 Draw a ribbon-style scroll button. More...
 
virtual void DrawPanelBackground (wxDC &dc, wxRibbonPanel *wnd, const wxRect &rect)=0
 Draw the background and chrome for a ribbon panel. More...
 
virtual void DrawGalleryBackground (wxDC &dc, wxRibbonGallery *wnd, const wxRect &rect)=0
 Draw the background and chrome for a wxRibbonGallery control. More...
 
virtual void DrawGalleryItemBackground (wxDC &dc, wxRibbonGallery *wnd, const wxRect &rect, wxRibbonGalleryItem *item)=0
 Draw the background of a single item in a wxRibbonGallery control. More...
 
virtual void DrawMinimisedPanel (wxDC &dc, wxRibbonPanel *wnd, const wxRect &rect, wxBitmap &bitmap)=0
 Draw a minimised ribbon panel. More...
 
virtual void DrawButtonBarBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect)=0
 Draw the background for a wxRibbonButtonBar control. More...
 
virtual void DrawButtonBarButton (wxDC &dc, wxWindow *wnd, const wxRect &rect, wxRibbonButtonKind kind, long state, const wxString &label, const wxBitmap &bitmap_large, const wxBitmap &bitmap_small)=0
 Draw a single button for a wxRibbonButtonBar control. More...
 
virtual void DrawToolBarBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect)=0
 Draw the background for a wxRibbonToolBar control. More...
 
virtual void DrawToolGroupBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect)=0
 Draw the background for a group of tools on a wxRibbonToolBar control. More...
 
virtual void DrawTool (wxDC &dc, wxWindow *wnd, const wxRect &rect, const wxBitmap &bitmap, wxRibbonButtonKind kind, long state)=0
 Draw a single tool (for a wxRibbonToolBar control). More...
 
virtual void DrawToggleButton (wxDC &dc, wxRibbonBar *wnd, const wxRect &rect, wxRibbonDisplayMode mode)=0
 Draw toggle button on wxRibbonBar. More...
 
virtual void DrawHelpButton (wxDC &dc, wxRibbonBar *wnd, const wxRect &rect)=0
 Draw help button on wxRibbonBar. More...
 
virtual void GetBarTabWidth (wxReadOnlyDC &dc, wxWindow *wnd, const wxString &label, const wxBitmap &bitmap, int *ideal, int *small_begin_need_separator, int *small_must_have_separator, int *minimum)=0
 Calculate the ideal and minimum width (in pixels) of a tab in a ribbon bar. More...
 
virtual int GetTabCtrlHeight (wxReadOnlyDC &dc, wxWindow *wnd, const wxRibbonPageTabInfoArray &pages)=0
 Calculate the height (in pixels) of the tab region of a ribbon bar. More...
 
virtual wxSize GetScrollButtonMinimumSize (wxReadOnlyDC &dc, wxWindow *wnd, long style)=0
 Calculate the minimum size (in pixels) of a scroll button. More...
 
virtual wxSize GetPanelSize (wxReadOnlyDC &dc, const wxRibbonPanel *wnd, wxSize client_size, wxPoint *client_offset)=0
 Calculate the size of a panel for a given client size. More...
 
virtual wxSize GetPanelClientSize (wxReadOnlyDC &dc, const wxRibbonPanel *wnd, wxSize size, wxPoint *client_offset)=0
 Calculate the client size of a panel for a given overall size. More...
 
virtual wxRect GetPanelExtButtonArea (wxReadOnlyDC &dc, const wxRibbonPanel *wnd, wxRect rect)=0
 Calculate the position and size of the panel extension button. More...
 
virtual wxSize GetGallerySize (wxReadOnlyDC &dc, const wxRibbonGallery *wnd, wxSize client_size)=0
 Calculate the size of a wxRibbonGallery control for a given client size. More...
 
virtual wxSize GetGalleryClientSize (wxReadOnlyDC &dc, const wxRibbonGallery *wnd, wxSize size, wxPoint *client_offset, wxRect *scroll_up_button, wxRect *scroll_down_button, wxRect *extension_button)=0
 Calculate the client size of a wxRibbonGallery control for a given size. More...
 
virtual wxRect GetPageBackgroundRedrawArea (wxReadOnlyDC &dc, const wxRibbonPage *wnd, wxSize page_old_size, wxSize page_new_size)=0
 Calculate the portion of a page background which needs to be redrawn when a page is resized. More...
 
virtual bool GetButtonBarButtonSize (wxReadOnlyDC &dc, wxWindow *wnd, wxRibbonButtonKind kind, wxRibbonButtonBarButtonState size, const wxString &label, wxCoord text_min_width, wxSize bitmap_size_large, wxSize bitmap_size_small, wxSize *button_size, wxRect *normal_region, wxRect *dropdown_region)=0
 Calculate the size of a button within a wxRibbonButtonBar. More...
 
virtual wxCoord GetButtonBarButtonTextWidth (wxReadOnlyDC &dc, const wxString &label, wxRibbonButtonKind kind, wxRibbonButtonBarButtonState size)=0
 Gets the width of the string if it is used as a wxRibbonButtonBar button label. More...
 
virtual wxSize GetMinimisedPanelMinimumSize (wxReadOnlyDC &dc, const wxRibbonPanel *wnd, wxSize *desired_bitmap_size, wxDirection *expanded_panel_direction)=0
 Calculate the size of a minimised ribbon panel. More...
 
virtual wxSize GetToolSize (wxReadOnlyDC &dc, wxWindow *wnd, wxSize bitmap_size, wxRibbonButtonKind kind, bool is_first, bool is_last, wxRect *dropdown_region)=0
 Calculate the size of a tool within a wxRibbonToolBar. More...
 
virtual wxRect GetBarToggleButtonArea (const wxRect &rect)=0
 Calculate the position and size of the ribbon's toggle button. More...
 
virtual wxRect GetRibbonHelpButtonArea (const wxRect &rect)=0
 Calculate the position and size of the ribbon's help button. More...
 

Constructor & Destructor Documentation

◆ wxRibbonAUIArtProvider()

wxRibbonAUIArtProvider::wxRibbonAUIArtProvider ( )