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.

92 {
93  auto settings = static_cast<KIGFX::GERBVIEW_PAINTER*>( GetCanvas()->GetView()->GetPainter() )->GetSettings();
94 
95  switch( event.GetId() )
96  {
98  settings->m_componentHighlightString = m_SelComponentBox->GetStringSelection();
99  break;
100 
102  settings->m_netHighlightString = m_SelNetnameBox->GetStringSelection();
103  break;
104 
106  settings->m_attributeHighlightString = m_SelAperAttributesBox->GetStringSelection();
107  break;
108 
109  }
110 
111  GetCanvas()->GetView()->UpdateAllItems( KIGFX::COLOR );
112  GetCanvas()->Refresh();
113 }
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