#include <wx/aui/auibar.h>
Default generic implementation of wxAuiToolBarArt.
This class is used by default under all non-MSW platforms for rendering wxAuiToolBar.
Public Member Functions | |
| wxAuiGenericToolBarArt () | |
| Default constructor. | |
| virtual void | SetTextDirection (wxAuiTextDirection direction) override |
| Set the text direction for rendering text. | |
| virtual wxAuiTextDirection | GetTextDirection () const override |
| Return the direction used for rendering text. | |
| Public Member Functions inherited from wxAuiToolBarArt | |
| wxAuiToolBarArt () | |
| virtual wxAuiToolBarArt * | Clone ()=0 |
| virtual void | SetFlags (unsigned int flags)=0 |
| virtual unsigned int | GetFlags ()=0 |
| virtual void | SetFont (const wxFont &font)=0 |
| virtual wxFont | GetFont ()=0 |
| virtual void | SetTextOrientation (int orientation)=0 |
| virtual int | GetTextOrientation ()=0 |
| virtual void | DrawBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect)=0 |
| virtual void | DrawPlainBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect)=0 |
| virtual void | DrawLabel (wxDC &dc, wxWindow *wnd, const wxAuiToolBarItem &item, const wxRect &rect)=0 |
| virtual void | DrawButton (wxDC &dc, wxWindow *wnd, const wxAuiToolBarItem &item, const wxRect &rect)=0 |
| virtual void | DrawDropDownButton (wxDC &dc, wxWindow *wnd, const wxAuiToolBarItem &item, const wxRect &rect)=0 |
| virtual void | DrawControlLabel (wxDC &dc, wxWindow *wnd, const wxAuiToolBarItem &item, const wxRect &rect)=0 |
| virtual void | DrawSeparator (wxDC &dc, wxWindow *wnd, const wxRect &rect)=0 |
| virtual void | DrawGripper (wxDC &dc, wxWindow *wnd, const wxRect &rect)=0 |
| virtual void | DrawOverflowButton (wxDC &dc, wxWindow *wnd, const wxRect &rect, int state)=0 |
| virtual wxSize | GetLabelSize (wxReadOnlyDC &dc, wxWindow *wnd, const wxAuiToolBarItem &item)=0 |
| Return the size of the label for the given item. | |
| virtual wxSize | GetToolSize (wxReadOnlyDC &dc, wxWindow *wnd, const wxAuiToolBarItem &item)=0 |
| Return the size of the given item. | |
| virtual int | GetElementSizeForWindow (int elementId, const wxWindow *window) |
| Get the element size scaled by the DPI of the given window. | |
| virtual int | GetElementSize (int elementId)=0 |
| Returns the size of the given element in DIPs. | |
| virtual void | SetElementSize (int elementId, int size)=0 |
| Sets the size of the given element in DIPs. | |
| virtual int | ShowDropDown (wxWindow *wnd, const wxAuiToolBarItemArray &items)=0 |
| Show a drop down menu with the given items. | |
| wxAuiGenericToolBarArt::wxAuiGenericToolBarArt | ( | ) |
Default constructor.
|
overridevirtual |
Return the direction used for rendering text.
This is the direction last set using SetTextDirection() or wxAuiTextDirection::LeftToRight if it was never called.
Reimplemented from wxAuiToolBarArt.
Reimplemented in wxAuiMSWToolBarArt.
|
overridevirtual |
Set the text direction for rendering text.
Currently vertical text directions are only supported for non-drop down items.
Reimplemented from wxAuiToolBarArt.
Reimplemented in wxAuiMSWToolBarArt.