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 86 of file events_called_functions.cpp.

93 {
94  auto settings = static_cast<KIGFX::GERBVIEW_PAINTER*>( GetCanvas()->GetView()->GetPainter() )->GetSettings();
95 
96  switch( event.GetId() )
97  {
99  settings->m_componentHighlightString = m_SelComponentBox->GetStringSelection();
100  break;
101 
103  settings->m_netHighlightString = m_SelNetnameBox->GetStringSelection();
104  break;
105 
107  settings->m_attributeHighlightString = m_SelAperAttributesBox->GetStringSelection();
108  break;
109 
110  }
111 
112  GetCanvas()->GetView()->UpdateAllItems( KIGFX::COLOR );
113  GetCanvas()->Refresh();
114 }
Visibility flag has changed.
Definition: view_item.h:58

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 56 of file events_called_functions.cpp.

◆ ID_TB_OPTIONS_SHOW_GBR_MODE_2