KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANEL_ZONE_GAL_CONTAINER Class Reference
Inheritance diagram for PANEL_ZONE_GAL_CONTAINER:

Public Member Functions

 PANEL_ZONE_GAL_CONTAINER (wxWindow *aParent, int aLayer)
 
int GetLayer () const
 
void TakeGAL (PANEL_ZONE_GAL *&now)
 
void InitZoneGAL (PANEL_ZONE_GAL *aGal)
 Initialize the gal , shall only be called once while the gal is first constructed.
 
void ResetZoneGAL (PANEL_ZONE_GAL *aGal)
 Reuse the only one zone gal between different container.
 

Private Attributes

wxBoxSizer * m_sizer
 
PANEL_ZONE_GALm_gal {}
 
int m_layer
 

Detailed Description

Definition at line 59 of file pane_zone_viewer.cpp.

Constructor & Destructor Documentation

◆ PANEL_ZONE_GAL_CONTAINER()

PANEL_ZONE_GAL_CONTAINER::PANEL_ZONE_GAL_CONTAINER ( wxWindow *  aParent,
int  aLayer 
)
inline

Definition at line 66 of file pane_zone_viewer.cpp.

References m_sizer.

Member Function Documentation

◆ GetLayer()

int PANEL_ZONE_GAL_CONTAINER::GetLayer ( ) const
inline

Definition at line 71 of file pane_zone_viewer.cpp.

References m_layer.

Referenced by PANE_ZONE_VIEWER::OnNotebook().

◆ InitZoneGAL()

void PANEL_ZONE_GAL_CONTAINER::InitZoneGAL ( PANEL_ZONE_GAL aGal)
inline

Initialize the gal , shall only be called once while the gal is first constructed.

Parameters
aGalThe zone gal

Definition at line 87 of file pane_zone_viewer.cpp.

References m_gal, and m_sizer.

◆ ResetZoneGAL()

void PANEL_ZONE_GAL_CONTAINER::ResetZoneGAL ( PANEL_ZONE_GAL aGal)
inline

Reuse the only one zone gal between different container.

Parameters
aGalThe zone gal

Definition at line 101 of file pane_zone_viewer.cpp.

References m_gal, m_sizer, and TakeGAL().

Referenced by PANE_ZONE_VIEWER::OnNotebook().

◆ TakeGAL()

void PANEL_ZONE_GAL_CONTAINER::TakeGAL ( PANEL_ZONE_GAL *&  now)
inline

Definition at line 72 of file pane_zone_viewer.cpp.

References m_gal, and m_sizer.

Referenced by ResetZoneGAL().

Member Data Documentation

◆ m_gal

PANEL_ZONE_GAL* PANEL_ZONE_GAL_CONTAINER::m_gal {}
private

Definition at line 62 of file pane_zone_viewer.cpp.

Referenced by InitZoneGAL(), ResetZoneGAL(), and TakeGAL().

◆ m_layer

int PANEL_ZONE_GAL_CONTAINER::m_layer
private

Definition at line 63 of file pane_zone_viewer.cpp.

Referenced by GetLayer().

◆ m_sizer

wxBoxSizer* PANEL_ZONE_GAL_CONTAINER::m_sizer
private

Definition at line 61 of file pane_zone_viewer.cpp.

Referenced by InitZoneGAL(), PANEL_ZONE_GAL_CONTAINER(), ResetZoneGAL(), and TakeGAL().


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