|
KiCad PCB EDA Suite
|
#include <zone_preview_notebook.h>
Public Member Functions | |
| ZONE_PREVIEW_NOTEBOOK (wxWindow *aParent, PCB_BASE_FRAME *aPcbFrame) | |
| ~ZONE_PREVIEW_NOTEBOOK () override=default | |
| void | OnZoneSelectionChanged (ZONE *new_zone) |
| void | OnPageChanged (wxNotebookEvent &aEvent) |
| void | FitCanvasToScreen () |
Private Attributes | |
| PCB_BASE_FRAME * | m_pcbFrame |
Definition at line 36 of file zone_preview_notebook.h.
| ZONE_PREVIEW_NOTEBOOK::ZONE_PREVIEW_NOTEBOOK | ( | wxWindow * | aParent, |
| PCB_BASE_FRAME * | aPcbFrame ) |
Definition at line 74 of file zone_preview_notebook.cpp.
References color, COLOR_SETTINGS::GetColor(), PCB_BASE_FRAME::GetColorSettings(), HEIGHT, m_pcbFrame, COLOR_SWATCH::MakeBitmap(), OnPageChanged(), PCB_LAYER_ID_COUNT, COLOR4D::UNSPECIFIED, COLOR4D::WHITE, and WIDTH.
|
overridedefault |
| void ZONE_PREVIEW_NOTEBOOK::FitCanvasToScreen | ( | ) |
Definition at line 151 of file zone_preview_notebook.cpp.
References ZONE_PREVIEW_NOTEBOOK_PAGE::GetCanvas(), and ZONE_PREVIEW_CANVAS::ZoomFitScreen().
| void ZONE_PREVIEW_NOTEBOOK::OnPageChanged | ( | wxNotebookEvent & | aEvent | ) |
Definition at line 141 of file zone_preview_notebook.cpp.
Referenced by ZONE_PREVIEW_NOTEBOOK().
| void ZONE_PREVIEW_NOTEBOOK::OnZoneSelectionChanged | ( | ZONE * | new_zone | ) |
Definition at line 101 of file zone_preview_notebook.cpp.
References ZONE_PREVIEW_NOTEBOOK_PAGE::GetCanvas(), BOARD::GetLayerName(), ZONE::GetLayerSet(), m_pcbFrame, LSET::UIOrder(), UNDEFINED_LAYER, and ZONE_PREVIEW_CANVAS::ZoomFitScreen().
|
private |
Definition at line 49 of file zone_preview_notebook.h.
Referenced by OnZoneSelectionChanged(), and ZONE_PREVIEW_NOTEBOOK().