KiCad PCB EDA Suite
|
#include <pane_zone_viewer.h>
Public Member Functions | |
PANE_ZONE_VIEWER (wxWindow *aParent, PCB_BASE_FRAME *aPcbFrame) | |
~PANE_ZONE_VIEWER () override | |
void | ActivateSelectedZone (ZONE *new_zone) override |
void | OnNotebook (wxNotebookEvent &aEvent) |
PANEL_ZONE_GAL * | GetZoneGAL () const |
ZONE * | GetZone () const |
void | OnZoneSelectionChanged (ZONE *aZone) |
Inform the subscriber about the zone selection change. | |
ZONE * | GetSelectedZone () const |
Private Attributes | |
PCB_BASE_FRAME * | m_pcbFrame |
std::unordered_map< int, PANEL_ZONE_GAL_CONTAINER * > | m_zoneContainers |
PANEL_ZONE_GAL * | m_zoneGAL {} |
ZONE * | m_zone {} |
Definition at line 42 of file pane_zone_viewer.h.
PANE_ZONE_VIEWER::PANE_ZONE_VIEWER | ( | wxWindow * | aParent, |
PCB_BASE_FRAME * | aPcbFrame ) |
Definition at line 114 of file pane_zone_viewer.cpp.
References color, COLOR_SETTINGS::GetColor(), PCB_BASE_FRAME::GetColorSettings(), ZONE_MANAGER_PREFERENCE::HEIGHT, m_pcbFrame, COLOR_SWATCH::MakeBitmap(), OnNotebook(), PCB_LAYER_ID_COUNT, COLOR4D::UNSPECIFIED, COLOR4D::WHITE, and ZONE_MANAGER_PREFERENCE::WIDTH.
|
overridedefault |
|
overridevirtual |
Implements ZONE_SELECTION_CHANGE_NOTIFIER.
Definition at line 138 of file pane_zone_viewer.cpp.
References ZONE::GetFirstLayer(), ZONE::GetLayerSet(), m_pcbFrame, m_zoneContainers, m_zoneGAL, and LSET::UIOrder().
|
inlineinherited |
Definition at line 54 of file zone_selection_change_notifier.h.
References m_zone.
|
inlineinherited |
Definition at line 40 of file zone_selection_change_notifier.h.
References m_zone.
|
inline |
Definition at line 52 of file pane_zone_viewer.h.
References m_zoneGAL.
void PANE_ZONE_VIEWER::OnNotebook | ( | wxNotebookEvent & | aEvent | ) |
Definition at line 182 of file pane_zone_viewer.cpp.
References PANEL_ZONE_GAL_CONTAINER::GetLayer(), m_zoneGAL, and PANEL_ZONE_GAL_CONTAINER::ResetZoneGAL().
Referenced by PANE_ZONE_VIEWER().
|
inlineinherited |
Inform the subscriber about the zone selection change.
aZone | The current zone selection from the publisher |
Definition at line 46 of file zone_selection_change_notifier.h.
References ActivateSelectedZone(), and m_zone.
|
private |
Definition at line 55 of file pane_zone_viewer.h.
Referenced by ActivateSelectedZone(), and PANE_ZONE_VIEWER().
|
privateinherited |
Definition at line 60 of file zone_selection_change_notifier.h.
Referenced by GetSelectedZone(), GetZone(), and OnZoneSelectionChanged().
|
private |
Definition at line 56 of file pane_zone_viewer.h.
Referenced by ActivateSelectedZone().
|
private |
Definition at line 57 of file pane_zone_viewer.h.
Referenced by ActivateSelectedZone(), GetZoneGAL(), and OnNotebook().