KiCad PCB EDA Suite
Loading...
Searching...
No Matches
WX_AUI_TOOLBAR_ART Class Reference

#include <wx_aui_art_providers.h>

Inheritance diagram for WX_AUI_TOOLBAR_ART:

Public Member Functions

 WX_AUI_TOOLBAR_ART ()
 
virtual ~WX_AUI_TOOLBAR_ART ()=default
 
wxSize GetToolSize (wxDC &aDc, wxWindow *aWindow, const wxAuiToolBarItem &aItem) override
 
void DrawButton (wxDC &aDc, wxWindow *aWindow, const wxAuiToolBarItem &aItem, const wxRect &aRect) override
 Unfortunately we need to re-implement this to actually be able to control the size.
 

Detailed Description

Definition at line 27 of file wx_aui_art_providers.h.

Constructor & Destructor Documentation

◆ WX_AUI_TOOLBAR_ART()

WX_AUI_TOOLBAR_ART::WX_AUI_TOOLBAR_ART ( )
inline

Definition at line 30 of file wx_aui_art_providers.h.

◆ ~WX_AUI_TOOLBAR_ART()

virtual WX_AUI_TOOLBAR_ART::~WX_AUI_TOOLBAR_ART ( )
virtualdefault

Member Function Documentation

◆ DrawButton()

void WX_AUI_TOOLBAR_ART::DrawButton ( wxDC &  aDc,
wxWindow *  aWindow,
const wxAuiToolBarItem &  aItem,
const wxRect &  aRect 
)
override

Unfortunately we need to re-implement this to actually be able to control the size.

Definition at line 85 of file wx_aui_art_providers.cpp.

References KIPLATFORM::UI::GetPixelScaleFactor(), GetToolSize(), KIPLATFORM::UI::IsDarkTheme(), and scale.

◆ GetToolSize()

wxSize WX_AUI_TOOLBAR_ART::GetToolSize ( wxDC &  aDc,
wxWindow *  aWindow,
const wxAuiToolBarItem &  aItem 
)
override

The documentation for this class was generated from the following files: