KiCad PCB EDA Suite
events_called_functions.cpp File Reference

Go to the source code of this file.

Functions

 EVT_MENU_RANGE (ID_GERBVIEW_DRILL_FILE1, ID_GERBVIEW_DRILL_FILEMAX, GERBVIEW_FRAME::OnDrlFileHistory) EVT_MENU_RANGE(ID_GERBVIEW_ZIP_FILE1
 
GERBVIEW_FRAME::OnZipFileHistory EVT_MENU_RANGE (ID_GERBVIEW_JOB_FILE1, ID_GERBVIEW_JOB_FILEMAX, GERBVIEW_FRAME::OnJobFileHistory) EVT_TOOL_RANGE(ID_TB_OPTIONS_SHOW_GBR_MODE_0
 
GERBVIEW_FRAME::OnZipFileHistory GERBVIEW_FRAME::OnSelectDisplayMode EVT_CHOICE (ID_GBR_AUX_TOOLBAR_PCB_APERATTRIBUTES_CHOICE, GERBVIEW_FRAME::OnSelectHighlightChoice) EVT_UPDATE_UI(ID_TOOLBARH_GERBVIEW_SELECT_ACTIVE_LAYER
 
GERBVIEW_FRAME::OnZipFileHistory GERBVIEW_FRAME::OnSelectDisplayMode GERBVIEW_FRAME::OnUpdateLayerSelectBox EVT_UPDATE_UI_RANGE (ID_TB_OPTIONS_SHOW_GBR_MODE_0, ID_TB_OPTIONS_SHOW_GBR_MODE_2, GERBVIEW_FRAME::OnUpdateDrawMode) void GERBVIEW_FRAME
 

Variables

 ID_GERBVIEW_ZIP_FILEMAX
 
GERBVIEW_FRAME::OnZipFileHistory ID_TB_OPTIONS_SHOW_GBR_MODE_2
 

Function Documentation

◆ EVT_CHOICE()

◆ EVT_MENU_RANGE() [1/2]

◆ EVT_MENU_RANGE() [2/2]

◆ EVT_UPDATE_UI_RANGE()

Definition at line 85 of file events_called_functions.cpp.

95{
96 auto settings = static_cast<KIGFX::GERBVIEW_PAINTER*>( GetCanvas()->GetView()->GetPainter() )->GetSettings();
97
98 switch( event.GetId() )
99 {
101 settings->m_componentHighlightString = m_SelComponentBox->GetStringSelection();
102 break;
103
105 settings->m_netHighlightString = m_SelNetnameBox->GetStringSelection();
106 break;
107
109 settings->m_attributeHighlightString = m_SelAperAttributesBox->GetStringSelection();
110 break;
111
112 }
113
114 GetCanvas()->GetView()->UpdateAllItems( KIGFX::COLOR );
115 GetCanvas()->Refresh();
116}
Methods for drawing GerbView specific items.
@ ID_GBR_AUX_TOOLBAR_PCB_NET_CHOICE
Definition: gerbview_id.h:44
@ ID_GBR_AUX_TOOLBAR_PCB_CMP_CHOICE
Definition: gerbview_id.h:43
@ ID_GBR_AUX_TOOLBAR_PCB_APERATTRIBUTES_CHOICE
Definition: gerbview_id.h:45
@ COLOR
Color has changed.
Definition: view_item.h:48

References KIGFX::COLOR, ID_GBR_AUX_TOOLBAR_PCB_APERATTRIBUTES_CHOICE, ID_GBR_AUX_TOOLBAR_PCB_CMP_CHOICE, and ID_GBR_AUX_TOOLBAR_PCB_NET_CHOICE.

Variable Documentation

◆ ID_GERBVIEW_ZIP_FILEMAX

ID_GERBVIEW_ZIP_FILEMAX

Definition at line 54 of file events_called_functions.cpp.

◆ ID_TB_OPTIONS_SHOW_GBR_MODE_2