Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
d51b8a87
Commit
d51b8a87
authored
Jul 07, 2013
by
Maciej Sumiński
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed some more KICAD_GAL ifdefs.
parent
180c72ef
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
dialog_general_options.cpp
pcbnew/dialogs/dialog_general_options.cpp
+0
-6
hotkeys.cpp
pcbnew/hotkeys.cpp
+0
-2
No files found.
pcbnew/dialogs/dialog_general_options.cpp
View file @
d51b8a87
...
@@ -198,28 +198,22 @@ void PCB_EDIT_FRAME::OnSelectOptionToolbar( wxCommandEvent& event )
...
@@ -198,28 +198,22 @@ void PCB_EDIT_FRAME::OnSelectOptionToolbar( wxCommandEvent& event )
case
ID_TB_OPTIONS_SHOW_ZONES
:
case
ID_TB_OPTIONS_SHOW_ZONES
:
DisplayOpt
.
DisplayZonesMode
=
0
;
DisplayOpt
.
DisplayZonesMode
=
0
;
#ifdef KICAD_GAL
recache
=
true
;
recache
=
true
;
if
(
!
IsGalCanvasActive
()
)
if
(
!
IsGalCanvasActive
()
)
#endif
/* KICAD_GAL */
m_canvas
->
Refresh
();
m_canvas
->
Refresh
();
break
;
break
;
case
ID_TB_OPTIONS_SHOW_ZONES_DISABLE
:
case
ID_TB_OPTIONS_SHOW_ZONES_DISABLE
:
DisplayOpt
.
DisplayZonesMode
=
1
;
DisplayOpt
.
DisplayZonesMode
=
1
;
#ifdef KICAD_GAL
recache
=
true
;
recache
=
true
;
if
(
!
IsGalCanvasActive
()
)
if
(
!
IsGalCanvasActive
()
)
#endif
/* KICAD_GAL */
m_canvas
->
Refresh
();
m_canvas
->
Refresh
();
break
;
break
;
case
ID_TB_OPTIONS_SHOW_ZONES_OUTLINES_ONLY
:
case
ID_TB_OPTIONS_SHOW_ZONES_OUTLINES_ONLY
:
DisplayOpt
.
DisplayZonesMode
=
2
;
DisplayOpt
.
DisplayZonesMode
=
2
;
#ifdef KICAD_GAL
recache
=
true
;
recache
=
true
;
if
(
!
IsGalCanvasActive
()
)
if
(
!
IsGalCanvasActive
()
)
#endif
/* KICAD_GAL */
m_canvas
->
Refresh
();
m_canvas
->
Refresh
();
break
;
break
;
...
...
pcbnew/hotkeys.cpp
View file @
d51b8a87
...
@@ -237,9 +237,7 @@ EDA_HOTKEY* board_edit_Hotkey_List[] =
...
@@ -237,9 +237,7 @@ EDA_HOTKEY* board_edit_Hotkey_List[] =
&
HkRecordMacros6
,
&
HkCallMacros6
,
&
HkRecordMacros7
,
&
HkCallMacros7
,
&
HkRecordMacros6
,
&
HkCallMacros6
,
&
HkRecordMacros7
,
&
HkCallMacros7
,
&
HkRecordMacros8
,
&
HkCallMacros8
,
&
HkRecordMacros9
,
&
HkCallMacros9
,
&
HkRecordMacros8
,
&
HkCallMacros8
,
&
HkRecordMacros9
,
&
HkCallMacros9
,
&
HkSwitchHighContrastMode
,
&
HkSwitchHighContrastMode
,
#ifdef KICAD_GAL
&
HkCanvasDefault
,
&
HkCanvasCairo
,
&
HkCanvasOpenGL
,
&
HkCanvasOpenGLShaders
,
&
HkCanvasDefault
,
&
HkCanvasCairo
,
&
HkCanvasOpenGL
,
&
HkCanvasOpenGLShaders
,
#endif
NULL
NULL
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment