Version: 3.3.0
wxAuiFlatTabArt Class Reference

#include <wx/aui/auibook.h>

+ Inheritance diagram for wxAuiFlatTabArt:

Detailed Description

An art provider for wxAuiNotebook implementing "flat" look.

This art provider is currently used as the default art provider.

Library:  wxAui
Category:  Window Docking (wxAUI)
Since
3.3.0

Public Member Functions

 wxAuiFlatTabArt ()
 Default constructor. More...
 
- Public Member Functions inherited from wxAuiTabArt
 wxAuiTabArt ()
 Constructor. More...
 
virtual wxAuiTabArtClone ()=0
 Clones the art object. More...
 
virtual void DrawBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect)=0
 Draws a background on the given area. More...
 
virtual void DrawButton (wxDC &dc, wxWindow *wnd, const wxRect &in_rect, int bitmap_id, int button_state, int orientation, wxRect *out_rect)=0
 Draws a button. More...
 
virtual void DrawTab (wxDC &dc, wxWindow *wnd, const wxAuiNotebookPage &page, const wxRect &rect, int close_button_state, wxRect *out_tab_rect, wxRect *out_button_rect, int *x_extent)
 Draws a tab. More...
 
virtual int DrawPageTab (wxDC &dc, wxWindow *wnd, wxAuiNotebookPage &page, const wxRect &rect)
 Draws a tab for the specified notebook page. More...
 
virtual int GetBestTabCtrlSize (wxWindow *, const wxAuiNotebookPageArray &, const wxSize &)=0
 Returns the tab control size. More...
 
virtual int GetIndentSize ()=0
 Returns the indent size. More...
 
virtual wxFont GetNormalFont () const
 Returns the font to use for normal, non-selected, tabs. More...
 
virtual wxFont GetSelectedFont () const
 Returns the font to use for the selected tab. More...
 
virtual wxSize GetTabSize (wxReadOnlyDC &dc, wxWindow *wnd, const wxString &caption, const wxBitmapBundle &bitmap, bool active, int close_button_state, int *x_extent)
 Returns the tab size for the given caption, bitmap and state. More...
 
virtual wxSize GetPageTabSize (wxReadOnlyDC &dc, wxWindow *wnd, const wxAuiNotebookPage &page, int *xExtent=nullptr)
 Returns the size of the tab for the specified notebook page. More...
 
virtual int GetButtonRect (wxReadOnlyDC &dc, wxWindow *wnd, const wxRect &inRect, int bitmapId, int buttonState, int orientation, wxRect *outRect=nullptr)
 Returns the rectangle for the given button. More...
 
virtual void SetFlags (unsigned int flags)=0
 Sets flags. More...
 
virtual void SetMeasuringFont (const wxFont &font)=0
 Sets the font used for calculating measurements. More...
 
virtual void SetNormalFont (const wxFont &font)=0
 Sets the normal font for drawing labels. More...
 
virtual void SetSelectedFont (const wxFont &font)=0
 Sets the font for drawing text for selected UI elements. More...
 
virtual void SetColour (const wxColour &colour)=0
 Sets the colour of the inactive tabs. More...
 
virtual void SetActiveColour (const wxColour &colour)=0
 Sets the colour of the selected tab. More...
 
virtual void SetSizingInfo (const wxSize &tab_ctrl_size, size_t tab_count, wxWindow *wnd=nullptr)=0
 Sets sizing information. More...
 

Constructor & Destructor Documentation

◆ wxAuiFlatTabArt()

wxAuiFlatTabArt::wxAuiFlatTabArt ( )

Default constructor.