43 EVT_CLOSE( GERBVIEW_FRAME::OnCloseWindow )
87void GERBVIEW_FRAME::OnSelectHighlightChoice( wxCommandEvent& event )
91 switch( event.GetId() )
94 settings->m_componentHighlightString = m_SelComponentBox->GetStringSelection();
98 settings->m_netHighlightString = m_SelNetnameBox->GetStringSelection();
102 settings->m_attributeHighlightString = m_SelAperAttributesBox->GetStringSelection();
108 GetCanvas()->Refresh();
123 settings->m_dcodeHighlightValue = d_code;
142 settings->m_dcodeHighlightValue = dcodeSelected;
162 pane_info.Caption(
_(
"Layers Manager" ) );
virtual void OnSize(wxSizeEvent &aEvent)
The base class for create windows for drawing purpose.
void ShowChangedLanguage() override
Redraw the menus and what not in current language.
virtual EDA_DRAW_PANEL_GAL * GetCanvas() const
Return a pointer to GAL-based canvas of given EDA draw frame.
virtual KIGFX::VIEW * GetView() const
Return a pointer to the #VIEW instance used in the panel.
virtual void Refresh(bool aEraseBackground=true, const wxRect *aRect=nullptr) override
Hold the image data and parameters for one gerber file and layer parameters.
void OnQuit(wxCommandEvent &event)
Called on request of application quit.
void ShowChangedLanguage() override
void syncLayerBox(bool aRebuildLayerBox=false)
Update the currently "selected" layer within m_SelLayerBox.
int GetActiveLayer() const
Return the active layer.
DCODE_SELECTION_BOX * m_DCodeSelector
GERBER_LAYER_WIDGET * m_LayersManager
void SetActiveLayer(int aLayer, bool doLayerWidgetUpdate=true)
change the currently active layer to aLayer and update the GERBER_LAYER_WIDGET.
GERBER_FILE_IMAGE * GetGbrImage(int aIdx) const
void OnSelectActiveLayer(wxCommandEvent &event)
Select the active layer:
void ReFillLayerWidget()
Change out all the layers in m_Layers; called upon loading new gerber files.
void OnClearGbrFileHistory(wxCommandEvent &aEvent)
void OnSelectActiveDCode(wxCommandEvent &event)
Select the active DCode for the current active layer.
void OnGbrFileHistory(wxCommandEvent &event)
Delete the current data and loads a Gerber file selected from history list on current layer.
Methods for drawing GerbView specific items.
void UpdateAllItems(int aUpdateFlags)
Update all items in the view according to the given flags.
PAINTER * GetPainter() const
Return the painter object used by the view for drawing #VIEW_ITEMS.
GERBVIEW_FRAME::OnZipFileHistory GERBVIEW_FRAME::OnSelectHighlightChoice EVT_UPDATE_UI(ID_TOOLBARH_GERBVIEW_SELECT_ACTIVE_LAYER, GERBVIEW_FRAME::OnUpdateLayerSelectBox) void GERBVIEW_FRAME
EVT_MENU_RANGE(ID_GERBVIEW_DRILL_FILE1, ID_GERBVIEW_DRILL_FILEMAX, GERBVIEW_FRAME::OnDrlFileHistory) EVT_MENU_RANGE(ID_GERBVIEW_ZIP_FILE1
@ ID_GBR_AUX_TOOLBAR_PCB_NET_CHOICE
@ ID_TOOLBARH_GERBVIEW_SELECT_ACTIVE_LAYER
@ ID_GERBVIEW_DRILL_FILEMAX
@ ID_GERBVIEW_JOB_FILE_LIST_CLEAR
@ ID_GBR_AUX_TOOLBAR_PCB_CMP_CHOICE
@ ID_GERBVIEW_DRILL_FILE1
@ ID_TOOLBARH_GERBER_SELECT_ACTIVE_DCODE
@ ID_GBR_AUX_TOOLBAR_PCB_APERATTRIBUTES_CHOICE
@ ID_GERBVIEW_JOB_FILEMAX
@ ID_GERBVIEW_ZIP_FILE_LIST_CLEAR
@ ID_GERBVIEW_DRILL_FILE_LIST_CLEAR
@ COLOR
Color has changed.