KiCad PCB EDA Suite
|
Class APPEARANCE_CONTROLS_3D_BASE. More...
#include <appearance_controls_3D_base.h>
Public Member Functions | |
APPEARANCE_CONTROLS_3D_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString) | |
~APPEARANCE_CONTROLS_3D_BASE () | |
void | SetBorders (bool aLeft, bool aRight, bool aTop, bool aBottom) |
void | SetBorderColor (const KIGFX::COLOR4D &aColor) |
Protected Member Functions | |
virtual void | OnSetFocus (wxFocusEvent &event) |
virtual void | OnSize (wxSizeEvent &event) |
virtual void | onLayerPresetChanged (wxCommandEvent &event) |
virtual void | onViewportChanged (wxCommandEvent &event) |
virtual void | onUpdateViewportsCb (wxUpdateUIEvent &event) |
Protected Attributes | |
wxBoxSizer * | m_sizerOuter |
wxPanel * | m_panelLayers |
wxBoxSizer * | m_panelLayersSizer |
wxScrolledCanvas * | m_windowLayers |
wxStaticLine * | m_staticline1 |
wxStaticText * | m_presetsLabel |
wxChoice * | m_cbLayerPresets |
wxStaticText * | m_viewportsLabel |
wxChoice * | m_cbViewports |
Private Member Functions | |
void | OnPaint (wxPaintEvent &event) |
Private Attributes | |
bool | m_leftBorder |
bool | m_rightBorder |
bool | m_topBorder |
bool | m_bottomBorder |
KIGFX::COLOR4D | m_borderColor |
Class APPEARANCE_CONTROLS_3D_BASE.
Definition at line 33 of file appearance_controls_3D_base.h.
APPEARANCE_CONTROLS_3D_BASE::APPEARANCE_CONTROLS_3D_BASE | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize( -1,-1 ) , |
||
long | style = wxTAB_TRAVERSAL , |
||
const wxString & | name = wxEmptyString |
||
) |
Definition at line 12 of file appearance_controls_3D_base.cpp.
References _, m_cbLayerPresets, m_cbViewports, m_panelLayers, m_panelLayersSizer, m_presetsLabel, m_sizerOuter, m_staticline1, m_viewportsLabel, m_windowLayers, onLayerPresetChanged(), OnSetFocus(), OnSize(), onUpdateViewportsCb(), and onViewportChanged().
APPEARANCE_CONTROLS_3D_BASE::~APPEARANCE_CONTROLS_3D_BASE | ( | ) |
Definition at line 88 of file appearance_controls_3D_base.cpp.
References m_cbLayerPresets, m_cbViewports, m_panelLayers, onLayerPresetChanged(), OnSetFocus(), OnSize(), onUpdateViewportsCb(), and onViewportChanged().
|
inlineprotectedvirtual |
Reimplemented in APPEARANCE_CONTROLS_3D.
Definition at line 51 of file appearance_controls_3D_base.h.
Referenced by APPEARANCE_CONTROLS_3D_BASE(), and ~APPEARANCE_CONTROLS_3D_BASE().
|
privateinherited |
Definition at line 47 of file wx_panel.cpp.
References WX_PANEL::m_borderColor, WX_PANEL::m_bottomBorder, WX_PANEL::m_leftBorder, WX_PANEL::m_rightBorder, WX_PANEL::m_topBorder, KIGFX::COLOR4D::Mix(), KIGFX::COLOR4D::ToColour(), and KIGFX::COLOR4D::UNSPECIFIED.
Referenced by WX_PANEL::WX_PANEL(), and WX_PANEL::~WX_PANEL().
|
inlineprotectedvirtual |
Reimplemented in APPEARANCE_CONTROLS_3D.
Definition at line 49 of file appearance_controls_3D_base.h.
Referenced by APPEARANCE_CONTROLS_3D_BASE(), and ~APPEARANCE_CONTROLS_3D_BASE().
|
inlineprotectedvirtual |
Reimplemented in APPEARANCE_CONTROLS_3D.
Definition at line 50 of file appearance_controls_3D_base.h.
Referenced by APPEARANCE_CONTROLS_3D_BASE(), and ~APPEARANCE_CONTROLS_3D_BASE().
|
inlineprotectedvirtual |
Reimplemented in APPEARANCE_CONTROLS_3D.
Definition at line 53 of file appearance_controls_3D_base.h.
Referenced by APPEARANCE_CONTROLS_3D_BASE(), and ~APPEARANCE_CONTROLS_3D_BASE().
|
inlineprotectedvirtual |
Reimplemented in APPEARANCE_CONTROLS_3D.
Definition at line 52 of file appearance_controls_3D_base.h.
Referenced by APPEARANCE_CONTROLS_3D_BASE(), and ~APPEARANCE_CONTROLS_3D_BASE().
|
inlineinherited |
Definition at line 47 of file wx_panel.h.
References WX_PANEL::m_borderColor.
Referenced by SYMBOL_TREE_SYNCHRONIZING_ADAPTER::ShowPreview().
|
inlineinherited |
Definition at line 39 of file wx_panel.h.
References WX_PANEL::m_bottomBorder, WX_PANEL::m_leftBorder, WX_PANEL::m_rightBorder, and WX_PANEL::m_topBorder.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_3D::APPEARANCE_CONTROLS_3D(), PAGED_DIALOG::PAGED_DIALOG(), PANEL_COLOR_SETTINGS::PANEL_COLOR_SETTINGS(), PANEL_PACKAGES_VIEW::PANEL_PACKAGES_VIEW(), PANEL_SCH_SELECTION_FILTER::PANEL_SCH_SELECTION_FILTER(), PANEL_SELECTION_FILTER::PANEL_SELECTION_FILTER(), PANEL_SETUP_BOARD_STACKUP::PANEL_SETUP_BOARD_STACKUP(), PANEL_SETUP_NETCLASSES::PANEL_SETUP_NETCLASSES(), and SYMBOL_TREE_SYNCHRONIZING_ADAPTER::ShowPreview().
|
privateinherited |
Definition at line 61 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorderColor().
|
privateinherited |
Definition at line 59 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().
|
protected |
Definition at line 44 of file appearance_controls_3D_base.h.
Referenced by APPEARANCE_CONTROLS_3D::APPEARANCE_CONTROLS_3D(), APPEARANCE_CONTROLS_3D_BASE(), APPEARANCE_CONTROLS_3D::onLayerPresetChanged(), APPEARANCE_CONTROLS_3D::rebuildLayerPresetsWidget(), APPEARANCE_CONTROLS_3D::updateLayerPresetWidget(), and ~APPEARANCE_CONTROLS_3D_BASE().
|
protected |
Definition at line 46 of file appearance_controls_3D_base.h.
Referenced by APPEARANCE_CONTROLS_3D::APPEARANCE_CONTROLS_3D(), APPEARANCE_CONTROLS_3D_BASE(), APPEARANCE_CONTROLS_3D::ApplyViewport(), APPEARANCE_CONTROLS_3D::onUpdateViewportsCb(), APPEARANCE_CONTROLS_3D::onViewportChanged(), APPEARANCE_CONTROLS_3D::rebuildViewportsWidget(), and ~APPEARANCE_CONTROLS_3D_BASE().
|
privateinherited |
Definition at line 56 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().
|
protected |
Definition at line 39 of file appearance_controls_3D_base.h.
Referenced by APPEARANCE_CONTROLS_3D::APPEARANCE_CONTROLS_3D(), APPEARANCE_CONTROLS_3D_BASE(), APPEARANCE_CONTROLS_3D::OnDarkModeToggle(), and ~APPEARANCE_CONTROLS_3D_BASE().
|
protected |
Definition at line 40 of file appearance_controls_3D_base.h.
Referenced by APPEARANCE_CONTROLS_3D::APPEARANCE_CONTROLS_3D(), and APPEARANCE_CONTROLS_3D_BASE().
|
protected |
Definition at line 43 of file appearance_controls_3D_base.h.
Referenced by APPEARANCE_CONTROLS_3D::APPEARANCE_CONTROLS_3D(), APPEARANCE_CONTROLS_3D_BASE(), and APPEARANCE_CONTROLS_3D::rebuildLayerPresetsWidget().
|
privateinherited |
Definition at line 57 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().
|
protected |
Definition at line 38 of file appearance_controls_3D_base.h.
Referenced by APPEARANCE_CONTROLS_3D_BASE(), and APPEARANCE_CONTROLS_3D::rebuildLayers().
|
protected |
Definition at line 42 of file appearance_controls_3D_base.h.
Referenced by APPEARANCE_CONTROLS_3D_BASE().
|
privateinherited |
Definition at line 58 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().
|
protected |
Definition at line 45 of file appearance_controls_3D_base.h.
Referenced by APPEARANCE_CONTROLS_3D::APPEARANCE_CONTROLS_3D(), APPEARANCE_CONTROLS_3D_BASE(), and APPEARANCE_CONTROLS_3D::rebuildViewportsWidget().
|
protected |
Definition at line 41 of file appearance_controls_3D_base.h.
Referenced by APPEARANCE_CONTROLS_3D::APPEARANCE_CONTROLS_3D(), APPEARANCE_CONTROLS_3D_BASE(), APPEARANCE_CONTROLS_3D::OnDarkModeToggle(), and APPEARANCE_CONTROLS_3D::rebuildLayers().