#include <wx/aui/auibar.h>
wxAuiDefaultToolBarArt is part of the wxAUI class framework.
See also wxAuiToolBarArt , wxAuiToolBar and wxAUI Overview.
Public Member Functions | |
| wxAuiDefaultToolBarArt () | |
| virtual | ~wxAuiDefaultToolBarArt () |
| virtual wxAuiToolBarArt * | Clone () |
| virtual void | SetFlags (unsigned int flags) |
| virtual unsigned int | GetFlags () |
| virtual void | SetFont (const wxFont &font) |
| virtual wxFont | GetFont () |
| virtual void | SetTextOrientation (int orientation) |
| virtual int | GetTextOrientation () |
| virtual void | DrawBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect) |
| virtual void | DrawPlainBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect) |
| virtual void | DrawLabel (wxDC &dc, wxWindow *wnd, const wxAuiToolBarItem &item, const wxRect &rect) |
| virtual void | DrawButton (wxDC &dc, wxWindow *wnd, const wxAuiToolBarItem &item, const wxRect &rect) |
| virtual void | DrawDropDownButton (wxDC &dc, wxWindow *wnd, const wxAuiToolBarItem &item, const wxRect &rect) |
| virtual void | DrawControlLabel (wxDC &dc, wxWindow *wnd, const wxAuiToolBarItem &item, const wxRect &rect) |
| virtual void | DrawSeparator (wxDC &dc, wxWindow *wnd, const wxRect &rect) |
| virtual void | DrawGripper (wxDC &dc, wxWindow *wnd, const wxRect &rect) |
| virtual void | DrawOverflowButton (wxDC &dc, wxWindow *wnd, const wxRect &rect, int state) |
| virtual wxSize | GetLabelSize (wxReadOnlyDC &dc, wxWindow *wnd, const wxAuiToolBarItem &item) |
| Return the size of the label for the given item. | |
| virtual wxSize | GetToolSize (wxReadOnlyDC &dc, wxWindow *wnd, const wxAuiToolBarItem &item) |
| Return the size of the given item. | |
| virtual int | GetElementSize (int elementId) |
| Return the size of the element. | |
| virtual void | SetElementSize (int elementId, int size) |
| Change the size of the element. | |
| virtual int | ShowDropDown (wxWindow *wnd, const wxAuiToolBarItemArray &items) |
| Show a drop down menu with the given items. | |
| Public Member Functions inherited from wxAuiToolBarArt | |
| wxAuiToolBarArt () | |
| virtual void | SetTextDirection (wxAuiTextDirection direction) |
| Set the text direction for rendering text. | |
| virtual wxAuiTextDirection | GetTextDirection () const |
| Return the direction used for rendering text. | |
| virtual int | GetElementSizeForWindow (int elementId, const wxWindow *window) |
| Get the element size scaled by the DPI of the given window. | |
| wxAuiDefaultToolBarArt::wxAuiDefaultToolBarArt | ( | ) |
|
virtual |
|
virtual |
Implements wxAuiToolBarArt.
|
virtual |
Implements wxAuiToolBarArt.
|
virtual |
Implements wxAuiToolBarArt.
|
virtual |
Implements wxAuiToolBarArt.
|
virtual |
Implements wxAuiToolBarArt.
|
virtual |
Implements wxAuiToolBarArt.
|
virtual |
Implements wxAuiToolBarArt.
|
virtual |
Implements wxAuiToolBarArt.
|
virtual |
Implements wxAuiToolBarArt.
|
virtual |
Implements wxAuiToolBarArt.
|
virtual |
Return the size of the element.
Implement the base class pure virtual function by returning the default element size or the last value passed to SetElementSize().
Implements wxAuiToolBarArt.
|
virtual |
Implements wxAuiToolBarArt.
|
virtual |
Implements wxAuiToolBarArt.
|
virtual |
Return the size of the label for the given item.
Note that the type of dc was wxDC until wxWidgets 3.3.0, where it was changed to wxReadOnlyDC as this function doesn't modify the DC contents.
Implements wxAuiToolBarArt.
|
virtual |
Implements wxAuiToolBarArt.
|
virtual |
Return the size of the given item.
Note that the type of dc was wxDC until wxWidgets 3.3.0, where it was changed to wxReadOnlyDC as this function doesn't modify the DC contents.
Implements wxAuiToolBarArt.
|
virtual |
Change the size of the element.
Implements the base class pure virtual function by storing the value to be returned by GetElementSize() and used by GetElementSizeForWindow().
As for the base class function, size is in DIPs, not pixels, so wxWindow::FromDIP() should not be used for it.
Implements wxAuiToolBarArt.
|
virtual |
Implements wxAuiToolBarArt.
|
virtual |
Implements wxAuiToolBarArt.
|
virtual |
Implements wxAuiToolBarArt.
|
virtual |
Show a drop down menu with the given items.
Implements wxAuiToolBarArt.