#include <wx/aui/auibar.h>
wxAuiToolBarArt is part of the wxAUI class framework.
See also wxAuiToolBar and wxAUI Overview.
Public Member Functions | |
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 (wxDC &dc, wxWindow *wnd, const wxAuiToolBarItem &item)=0 |
virtual wxSize | GetToolSize (wxDC &dc, wxWindow *wnd, const wxAuiToolBarItem &item)=0 |
virtual int | GetElementSizeForWindow (int elementId, const wxWindow *window) |
Get the element size scaled by the DPI of the given window. More... | |
virtual int | GetElementSize (int elementId)=0 |
Returns the size of the given element in DIPs. More... | |
virtual void | SetElementSize (int elementId, int size)=0 |
Sets the size of the given element in DIPs. More... | |
virtual int | ShowDropDown (wxWindow *wnd, const wxAuiToolBarItemArray &items)=0 |
wxAuiToolBarArt::wxAuiToolBarArt | ( | ) |
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Returns the size of the given element in DIPs.
This function is typically more convenient to override, as it can just return the same value as was passed to SetElementSize(), but it shouldn't usually be called, use GetElementSizeForWindow() instead.
elementId | One of wxAuiToolBarArtSetting elements. |
Implemented in wxAuiDefaultToolBarArt.
|
virtual |
Get the element size scaled by the DPI of the given window.
This function should be used to get the size of the element in pixels.
The default version delegates to GetElementSize(), override this function if a different behaviour (e.g. to use some smarter algorithm for scaling instead of just multiplying by the DPI factor) is needed.
elementId | One of wxAuiToolBarArtSetting elements. |
window | A valid window, typically wxAuiToolBar itself. |
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Sets the size of the given element in DIPs.
Note that this function takes the size in DPI-independent pixels and this size will be scaled by the factor depending on the DPI being actually used by GetElementSizeForWindow(). In particular, do not use wxWindow::FromDIP() for the size argument passed to this function.
elementId | One of wxAuiToolBarArtSetting elements. |
size | The size of the element in DIPs. |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.
|
pure virtual |
Implemented in wxAuiDefaultToolBarArt.