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

#include <wx_panel.h>

Inheritance diagram for WX_PANEL:
APPEARANCE_CONTROLS_3D_BASE APPEARANCE_CONTROLS_BASE HIERARCHY_PANE PANEL_SCH_SELECTION_FILTER_BASE PANEL_SELECTION_FILTER_BASE APPEARANCE_CONTROLS_3D APPEARANCE_CONTROLS PANEL_SCH_SELECTION_FILTER PANEL_SELECTION_FILTER

Public Member Functions

 WX_PANEL (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
 ~WX_PANEL ()
 
void SetBorders (bool aLeft, bool aRight, bool aTop, bool aBottom)
 
void SetBorderColor (const KIGFX::COLOR4D &aColor)
 

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

Definition at line 30 of file wx_panel.h.

Constructor & Destructor Documentation

◆ WX_PANEL()

WX_PANEL::WX_PANEL ( 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 28 of file wx_panel.cpp.

References OnPaint().

◆ ~WX_PANEL()

WX_PANEL::~WX_PANEL ( )

Definition at line 41 of file wx_panel.cpp.

References OnPaint().

Member Function Documentation

◆ OnPaint()

void WX_PANEL::OnPaint ( wxPaintEvent &  event)
private

◆ SetBorderColor()

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

Definition at line 47 of file wx_panel.h.

References m_borderColor.

Referenced by SYMBOL_TREE_SYNCHRONIZING_ADAPTER::ShowPreview().

◆ SetBorders()

Member Data Documentation

◆ m_borderColor

KIGFX::COLOR4D WX_PANEL::m_borderColor
private

Definition at line 61 of file wx_panel.h.

Referenced by OnPaint(), and SetBorderColor().

◆ m_bottomBorder

bool WX_PANEL::m_bottomBorder
private

Definition at line 59 of file wx_panel.h.

Referenced by OnPaint(), and SetBorders().

◆ m_leftBorder

bool WX_PANEL::m_leftBorder
private

Definition at line 56 of file wx_panel.h.

Referenced by OnPaint(), and SetBorders().

◆ m_rightBorder

bool WX_PANEL::m_rightBorder
private

Definition at line 57 of file wx_panel.h.

Referenced by OnPaint(), and SetBorders().

◆ m_topBorder

bool WX_PANEL::m_topBorder
private

Definition at line 58 of file wx_panel.h.

Referenced by OnPaint(), and SetBorders().


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