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.
 
void UpdateColoursFromSystem () override
 
int ShowDropDown (wxWindow *wnd, const wxAuiToolBarItemArray &items) override
 

Private Member Functions

void saturateHighlightColor ()
 

Detailed Description

Definition at line 26 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 29 of file wx_aui_art_providers.h.

References saturateHighlightColor().

◆ ~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 88 of file wx_aui_art_providers.cpp.

References KIPLATFORM::UI::IsDarkTheme().

◆ GetToolSize()

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

Definition at line 38 of file wx_aui_art_providers.cpp.

References Pgm().

◆ saturateHighlightColor()

void WX_AUI_TOOLBAR_ART::saturateHighlightColor ( )
private

◆ ShowDropDown()

int WX_AUI_TOOLBAR_ART::ShowDropDown ( wxWindow * wnd,
const wxAuiToolBarItemArray & items )
override

Definition at line 226 of file wx_aui_art_providers.cpp.

References ToolbarCommandCapture::GetCommandId(), and text.

◆ UpdateColoursFromSystem()

void WX_AUI_TOOLBAR_ART::UpdateColoursFromSystem ( )
override

Definition at line 194 of file wx_aui_art_providers.cpp.

References saturateHighlightColor().


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