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

Class APPEARANCE_CONTROLS_3D_BASE. More...

#include <appearance_controls_3D_base.h>

Inheritance diagram for APPEARANCE_CONTROLS_3D_BASE:
WX_PANEL APPEARANCE_CONTROLS_3D

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
 

Detailed Description

Constructor & Destructor Documentation

◆ APPEARANCE_CONTROLS_3D_BASE()

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 
)

◆ ~APPEARANCE_CONTROLS_3D_BASE()

APPEARANCE_CONTROLS_3D_BASE::~APPEARANCE_CONTROLS_3D_BASE ( )

Member Function Documentation

◆ onLayerPresetChanged()

virtual void APPEARANCE_CONTROLS_3D_BASE::onLayerPresetChanged ( wxCommandEvent &  event)
inlineprotectedvirtual

◆ OnPaint()

◆ OnSetFocus()

virtual void APPEARANCE_CONTROLS_3D_BASE::OnSetFocus ( wxFocusEvent &  event)
inlineprotectedvirtual

◆ OnSize()

virtual void APPEARANCE_CONTROLS_3D_BASE::OnSize ( wxSizeEvent &  event)
inlineprotectedvirtual

◆ onUpdateViewportsCb()

virtual void APPEARANCE_CONTROLS_3D_BASE::onUpdateViewportsCb ( wxUpdateUIEvent &  event)
inlineprotectedvirtual

◆ onViewportChanged()

virtual void APPEARANCE_CONTROLS_3D_BASE::onViewportChanged ( wxCommandEvent &  event)
inlineprotectedvirtual

◆ SetBorderColor()

void WX_PANEL::SetBorderColor ( const KIGFX::COLOR4D aColor)
inlineinherited

Definition at line 47 of file wx_panel.h.

References WX_PANEL::m_borderColor.

Referenced by SYMBOL_TREE_SYNCHRONIZING_ADAPTER::ShowPreview().

◆ SetBorders()

Member Data Documentation

◆ m_borderColor

KIGFX::COLOR4D WX_PANEL::m_borderColor
privateinherited

Definition at line 61 of file wx_panel.h.

Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorderColor().

◆ m_bottomBorder

bool WX_PANEL::m_bottomBorder
privateinherited

Definition at line 59 of file wx_panel.h.

Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().

◆ m_cbLayerPresets

◆ m_cbViewports

◆ m_leftBorder

bool WX_PANEL::m_leftBorder
privateinherited

Definition at line 56 of file wx_panel.h.

Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().

◆ m_panelLayers

◆ m_panelLayersSizer

wxBoxSizer* APPEARANCE_CONTROLS_3D_BASE::m_panelLayersSizer
protected

◆ m_presetsLabel

wxStaticText* APPEARANCE_CONTROLS_3D_BASE::m_presetsLabel
protected

◆ m_rightBorder

bool WX_PANEL::m_rightBorder
privateinherited

Definition at line 57 of file wx_panel.h.

Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().

◆ m_sizerOuter

wxBoxSizer* APPEARANCE_CONTROLS_3D_BASE::m_sizerOuter
protected

◆ m_staticline1

wxStaticLine* APPEARANCE_CONTROLS_3D_BASE::m_staticline1
protected

Definition at line 42 of file appearance_controls_3D_base.h.

Referenced by APPEARANCE_CONTROLS_3D_BASE().

◆ m_topBorder

bool WX_PANEL::m_topBorder
privateinherited

Definition at line 58 of file wx_panel.h.

Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().

◆ m_viewportsLabel

wxStaticText* APPEARANCE_CONTROLS_3D_BASE::m_viewportsLabel
protected

◆ m_windowLayers

wxScrolledCanvas* APPEARANCE_CONTROLS_3D_BASE::m_windowLayers
protected

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