Another standard tab art provider for wxAuiNotebook.
wxAuiSimpleTabArt is derived from wxAuiTabArt demonstrating how to write a completely new tab art class. It can also be used as alternative to wxAuiDefaultTabArt.
Appearance:
Generic Appearance
|
|
| wxAuiSimpleTabArt () |
|
virtual | ~wxAuiSimpleTabArt () |
|
wxAuiTabArt * | Clone () |
| Clones the art object.
|
|
void | SetFlags (unsigned int flags) |
| Sets flags.
|
|
void | SetSizingInfo (const wxSize &tabCtrlSize, size_t tabCount) |
| Sets sizing information.
|
|
void | SetNormalFont (const wxFont &font) |
| Sets the normal font for drawing labels.
|
|
void | SetSelectedFont (const wxFont &font) |
| Sets the font for drawing text for selected UI elements.
|
|
void | SetMeasuringFont (const wxFont &font) |
| Sets the font used for calculating measurements.
|
|
void | SetColour (const wxColour &colour) |
| Sets the colour of the inactive tabs.
|
|
void | SetActiveColour (const wxColour &colour) |
| Sets the colour of the selected tab.
|
|
void | DrawBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect) |
| Draws a background on the given area.
|
|
void | DrawTab (wxDC &dc, wxWindow *wnd, const wxAuiNotebookPage &pane, const wxRect &inRect, int closeButtonState, wxRect *outTabRect, wxRect *outButtonRect, int *xExtent) |
| Draws a tab.
|
|
void | DrawButton (wxDC &dc, wxWindow *wnd, const wxRect &inRect, int bitmapId, int buttonState, int orientation, wxRect *outRect) |
| Draws a button.
|
|
int | GetIndentSize () |
| Returns the indent size.
|
|
wxSize | GetTabSize (wxDC &dc, wxWindow *wnd, const wxString &caption, const wxBitmap &bitmap, bool active, int closeButtonState, int *xExtent) |
| Returns the tab size for the given caption, bitmap and state.
|
|
int | ShowDropDown (wxWindow *wnd, const wxAuiNotebookPageArray &items, int activeIdx) |
|
int | GetBestTabCtrlSize (wxWindow *wnd, const wxAuiNotebookPageArray &pages, const wxSize &requiredBmpSize) |
| Returns the tab control size.
|
|
| wxAuiTabArt () |
| Constructor.
|
|