#include <wx/aui/auibook.h>
Default art provider for wxAuiNotebook.
|
Public Member Functions | |
wxAuiDefaultTabArt () | |
virtual | ~wxAuiDefaultTabArt () |
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. | |
Public Member Functions inherited from wxAuiTabArt | |
wxAuiTabArt () | |
Constructor. | |
Protected Attributes | |
wxFont | m_normalFont |
The font used for all tabs. | |
wxFont | m_selectedFont |
wxFont | m_measuringFont |
The font used on the selected tab. | |
wxColour | m_baseColour |
wxPen | m_baseColourPen |
wxPen | m_borderPen |
wxBrush | m_baseColourBrush |
wxColour | m_activeColour |
wxBitmap | m_activeCloseBmp |
wxBitmap | m_disabledCloseBmp |
wxBitmap | m_activeLeftBmp |
wxBitmap | m_disabledLeftBmp |
wxBitmap | m_activeRightBmp |
wxBitmap | m_disabledRightBmp |
wxBitmap | m_activeWindowListBmp |
wxBitmap | m_disabledWindowListBmp |
int | m_fixedTabWidth |
int | m_tabCtrlHeight |
unsigned int | m_flags |
wxAuiDefaultTabArt::wxAuiDefaultTabArt | ( | ) |
|
virtual |
|
virtual |
Clones the art object.
Implements wxAuiTabArt.
Draws a background on the given area.
Implements wxAuiTabArt.
|
virtual |
Draws a button.
Implements wxAuiTabArt.
|
virtual |
Draws a tab.
Implements wxAuiTabArt.
|
virtual |
Returns the tab control size.
Implements wxAuiTabArt.
|
virtual |
Returns the indent size.
Implements wxAuiTabArt.
|
virtual |
Returns the tab size for the given caption, bitmap and state.
Implements wxAuiTabArt.
|
virtual |
|
virtual |
|
virtual |
Sets flags.
Implements wxAuiTabArt.
|
virtual |
Sets the font used for calculating measurements.
Implements wxAuiTabArt.
|
virtual |
Sets the normal font for drawing labels.
Implements wxAuiTabArt.
|
virtual |
Sets the font for drawing text for selected UI elements.
Implements wxAuiTabArt.
|
virtual |
Sets sizing information.
Implements wxAuiTabArt.
int wxAuiDefaultTabArt::ShowDropDown | ( | wxWindow * | wnd, |
const wxAuiNotebookPageArray & | items, | ||
int | activeIdx | ||
) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
The font used on the selected tab.
|
protected |
The font used for all tabs.
|
protected |
|
protected |