Removed some more KICAD_GAL ifdefs.
This commit is contained in:
parent
180c72ef83
commit
d51b8a8744
|
@ -198,28 +198,22 @@ void PCB_EDIT_FRAME::OnSelectOptionToolbar( wxCommandEvent& event )
|
|||
|
||||
case ID_TB_OPTIONS_SHOW_ZONES:
|
||||
DisplayOpt.DisplayZonesMode = 0;
|
||||
#ifdef KICAD_GAL
|
||||
recache = true;
|
||||
if( !IsGalCanvasActive() )
|
||||
#endif /* KICAD_GAL */
|
||||
m_canvas->Refresh();
|
||||
break;
|
||||
|
||||
case ID_TB_OPTIONS_SHOW_ZONES_DISABLE:
|
||||
DisplayOpt.DisplayZonesMode = 1;
|
||||
#ifdef KICAD_GAL
|
||||
recache = true;
|
||||
if( !IsGalCanvasActive() )
|
||||
#endif /* KICAD_GAL */
|
||||
m_canvas->Refresh();
|
||||
break;
|
||||
|
||||
case ID_TB_OPTIONS_SHOW_ZONES_OUTLINES_ONLY:
|
||||
DisplayOpt.DisplayZonesMode = 2;
|
||||
#ifdef KICAD_GAL
|
||||
recache = true;
|
||||
if( !IsGalCanvasActive() )
|
||||
#endif /* KICAD_GAL */
|
||||
m_canvas->Refresh();
|
||||
break;
|
||||
|
||||
|
|
|
@ -237,9 +237,7 @@ EDA_HOTKEY* board_edit_Hotkey_List[] =
|
|||
&HkRecordMacros6, &HkCallMacros6, &HkRecordMacros7, &HkCallMacros7,
|
||||
&HkRecordMacros8, &HkCallMacros8, &HkRecordMacros9, &HkCallMacros9,
|
||||
&HkSwitchHighContrastMode,
|
||||
#ifdef KICAD_GAL
|
||||
&HkCanvasDefault, &HkCanvasCairo, &HkCanvasOpenGL, &HkCanvasOpenGLShaders,
|
||||
#endif
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue