#include <wx/aui/auibar.h>
wxMSW-specific implementation of wxAuiToolBarArt.
This class is available only in wxMSW port as it uses native functions and is used for rendering wxAuiToolBar by default in it.
Note that native toolbar rendering functions don't respect dark mode, which is why this class behaves in the same way as wxAuiGenericToolBarArt when dark mode is used.
Public Member Functions | |
| wxAuiMSWToolBarArt () | |
| 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 wxAuiGenericToolBarArt | |
| wxAuiGenericToolBarArt () | |
| Default constructor. | |
| 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. | |
| wxAuiMSWToolBarArt::wxAuiMSWToolBarArt | ( | ) |
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 wxAuiGenericToolBarArt.
|
overridevirtual |
Set the text direction for rendering text.
Currently vertical text directions are only supported for non-drop down items.
Reimplemented from wxAuiGenericToolBarArt.