#include <wx/aui/auibook.h>
Default art provider for wxAuiNotebook.
|
Public Member Functions | |
wxAuiDefaultTabArt () | |
virtual | ~wxAuiDefaultTabArt () |
wxAuiTabArt * | Clone () |
Clones the art object. More... | |
void | SetFlags (unsigned int flags) |
Sets flags. More... | |
void | SetSizingInfo (const wxSize &tabCtrlSize, size_t tabCount) |
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) |
Returns the tab size for the given caption, bitmap and state. More... | |
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... | |
Public Member Functions inherited from wxAuiTabArt | |
wxAuiTabArt () | |
Constructor. More... | |
Protected Attributes | |
wxFont | m_normalFont |
The font used for all tabs. More... | |
wxFont | m_selectedFont |
wxFont | m_measuringFont |
The font used on the selected tab. More... | |
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 |