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. More...
|
| |
| void | SetFlags (unsigned int flags) |
| | Sets flags. More...
|
| |
| void | SetSizingInfo (const wxSize &tabCtrlSize, size_t tabCount, wxWindow *wnd=NULL) |
| | Sets sizing information. More...
|
| |
| void | SetNormalFont (const wxFont &font) |
| | Sets the normal font for drawing labels. More...
|
| |
| void | SetSelectedFont (const wxFont &font) |
| | Sets the font for drawing text for selected UI elements. More...
|
| |
| void | SetMeasuringFont (const wxFont &font) |
| | Sets the font used for calculating measurements. More...
|
| |
| void | SetColour (const wxColour &colour) |
| | Sets the colour of the inactive tabs. More...
|
| |
| void | SetActiveColour (const wxColour &colour) |
| | Sets the colour of the selected tab. More...
|
| |
| void | DrawBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect) |
| | Draws a background on the given area. More...
|
| |
| void | DrawTab (wxDC &dc, wxWindow *wnd, const wxAuiNotebookPage &pane, const wxRect &inRect, int closeButtonState, wxRect *outTabRect, wxRect *outButtonRect, int *xExtent) |
| | Draws a tab. More...
|
| |
| void | DrawButton (wxDC &dc, wxWindow *wnd, const wxRect &inRect, int bitmapId, int buttonState, int orientation, wxRect *outRect) |
| | Draws a button. More...
|
| |
| int | GetIndentSize () |
| | Returns the indent size. More...
|
| |
| wxSize | GetTabSize (wxDC &dc, wxWindow *wnd, const wxString &caption, const wxBitmap &bitmap, bool active, int closeButtonState, int *xExtent) |
| |
| int | ShowDropDown (wxWindow *wnd, const wxAuiNotebookPageArray &items, int activeIdx) |
| |
| int | GetBestTabCtrlSize (wxWindow *wnd, const wxAuiNotebookPageArray &pages, const wxSize &requiredBmpSize) |
| | Returns the tab control size. More...
|
| |
| | wxAuiTabArt () |
| | Constructor. More...
|
| |
| virtual wxSize | GetTabSize (wxDC &dc, wxWindow *wnd, const wxString &caption, const wxBitmapBundle &bitmap, bool active, int close_button_state, int *x_extent)=0 |
| | Returns the tab size for the given caption, bitmap and state. More...
|
| |