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 39 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, COLOR_SWATCH::MakeBitmap(), OnNotebook(), and ZONE_MANAGER_PREFERENCE::WIDTH.
|
overridedefault |
|
overridevirtual |
Implements ZONE_SELECTION_CHANGE_NOTIFIER.
Definition at line 138 of file pane_zone_viewer.cpp.
References PANEL_ZONE_GAL::ActivateSelectedZone(), PCB_BASE_FRAME::GetBoard(), ZONE::GetFirstLayer(), EDA_DRAW_FRAME::GetGalDisplayOptions(), BOARD::GetLayerName(), ZONE::GetLayerSet(), m_pcbFrame, m_zoneContainers, m_zoneGAL, and LSET::Seq().
Referenced by DIALOG_ZONE_MANAGER::PostProcessZoneViewSelectionChange().
|
inlineinherited |
Definition at line 54 of file zone_selection_change_notifier.h.
References ZONE_SELECTION_CHANGE_NOTIFIER::m_zone.
|
inlineinherited |
Definition at line 40 of file zone_selection_change_notifier.h.
References ZONE_SELECTION_CHANGE_NOTIFIER::m_zone.
Referenced by DIALOG_ZONE_MANAGER::OnZoneNameUpdate().
|
inline |
Definition at line 49 of file pane_zone_viewer.h.
References m_zoneGAL.
Referenced by DIALOG_ZONE_MANAGER::FitCanvasToScreen(), and DIALOG_ZONE_MANAGER::OnUpdateDisplayedZonesClick().
void PANE_ZONE_VIEWER::OnNotebook | ( | wxNotebookEvent & | aEvent | ) |
Definition at line 183 of file pane_zone_viewer.cpp.
References PANEL_ZONE_GAL_CONTAINER::GetLayer(), m_zoneGAL, PANEL_ZONE_GAL::OnLayerSelected(), 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 ZONE_SELECTION_CHANGE_NOTIFIER::ActivateSelectedZone(), and ZONE_SELECTION_CHANGE_NOTIFIER::m_zone.
|
private |
Definition at line 53 of file pane_zone_viewer.h.
Referenced by ActivateSelectedZone().
|
privateinherited |
Definition at line 60 of file zone_selection_change_notifier.h.
Referenced by ZONE_SELECTION_CHANGE_NOTIFIER::GetSelectedZone(), ZONE_SELECTION_CHANGE_NOTIFIER::GetZone(), and ZONE_SELECTION_CHANGE_NOTIFIER::OnZoneSelectionChanged().
|
private |
Definition at line 54 of file pane_zone_viewer.h.
Referenced by ActivateSelectedZone().
|
private |
Definition at line 55 of file pane_zone_viewer.h.
Referenced by ActivateSelectedZone(), GetZoneGAL(), and OnNotebook().