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
04ffd0a4
Commit
04ffd0a4
authored
May 03, 2015
by
unknown
Committed by
jean-pierre charras
May 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i18n pcbnew GAL popup menu entries
parent
722435f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
common_actions.cpp
pcbnew/tools/common_actions.cpp
+4
-4
selection_tool.cpp
pcbnew/tools/selection_tool.cpp
+2
-2
No files found.
pcbnew/tools/common_actions.cpp
View file @
04ffd0a4
...
@@ -183,11 +183,11 @@ TOOL_ACTION COMMON_ACTIONS::arcPosture( "pcbnew.InteractiveDrawing.arcPosture",
...
@@ -183,11 +183,11 @@ TOOL_ACTION COMMON_ACTIONS::arcPosture( "pcbnew.InteractiveDrawing.arcPosture",
// View Controls
// View Controls
TOOL_ACTION
COMMON_ACTIONS
::
zoomIn
(
"common.Control.zoomIn"
,
TOOL_ACTION
COMMON_ACTIONS
::
zoomIn
(
"common.Control.zoomIn"
,
AS_GLOBAL
,
WXK_F1
,
AS_GLOBAL
,
WXK_F1
,
"Zoom In"
,
""
,
zoom_in_xpm
);
_
(
"Zoom In"
)
,
""
,
zoom_in_xpm
);
TOOL_ACTION
COMMON_ACTIONS
::
zoomOut
(
"common.Control.zoomOut"
,
TOOL_ACTION
COMMON_ACTIONS
::
zoomOut
(
"common.Control.zoomOut"
,
AS_GLOBAL
,
WXK_F2
,
AS_GLOBAL
,
WXK_F2
,
"Zoom Out"
,
""
,
zoom_out_xpm
);
_
(
"Zoom Out"
)
,
""
,
zoom_out_xpm
);
TOOL_ACTION
COMMON_ACTIONS
::
zoomInCenter
(
"common.Control.zoomInCenter"
,
TOOL_ACTION
COMMON_ACTIONS
::
zoomInCenter
(
"common.Control.zoomInCenter"
,
AS_GLOBAL
,
0
,
AS_GLOBAL
,
0
,
...
@@ -199,11 +199,11 @@ TOOL_ACTION COMMON_ACTIONS::zoomOutCenter( "common.Control.zoomOutCenter",
...
@@ -199,11 +199,11 @@ TOOL_ACTION COMMON_ACTIONS::zoomOutCenter( "common.Control.zoomOutCenter",
TOOL_ACTION
COMMON_ACTIONS
::
zoomCenter
(
"common.Control.zoomCenter"
,
TOOL_ACTION
COMMON_ACTIONS
::
zoomCenter
(
"common.Control.zoomCenter"
,
AS_GLOBAL
,
WXK_F4
,
AS_GLOBAL
,
WXK_F4
,
"Center"
,
""
,
zoom_center_on_screen_xpm
);
_
(
"Center"
)
,
""
,
zoom_center_on_screen_xpm
);
TOOL_ACTION
COMMON_ACTIONS
::
zoomFitScreen
(
"common.Control.zoomFitScreen"
,
TOOL_ACTION
COMMON_ACTIONS
::
zoomFitScreen
(
"common.Control.zoomFitScreen"
,
AS_GLOBAL
,
WXK_HOME
,
AS_GLOBAL
,
WXK_HOME
,
"Zoom Auto"
,
""
,
zoom_fit_in_page_xpm
);
_
(
"Zoom Auto"
)
,
""
,
zoom_fit_in_page_xpm
);
TOOL_ACTION
COMMON_ACTIONS
::
zoomPreset
(
"common.Control.zoomPreset"
,
TOOL_ACTION
COMMON_ACTIONS
::
zoomPreset
(
"common.Control.zoomPreset"
,
AS_GLOBAL
,
0
,
AS_GLOBAL
,
0
,
...
...
pcbnew/tools/selection_tool.cpp
View file @
04ffd0a4
...
@@ -98,9 +98,9 @@ bool SELECTION_TOOL::Init()
...
@@ -98,9 +98,9 @@ bool SELECTION_TOOL::Init()
m_menu
.
AddItem
(
COMMON_ACTIONS
::
zoomOut
,
SELECTION_CONDITIONS
::
ShowAlways
,
1000
);
m_menu
.
AddItem
(
COMMON_ACTIONS
::
zoomOut
,
SELECTION_CONDITIONS
::
ShowAlways
,
1000
);
m_menu
.
AddItem
(
COMMON_ACTIONS
::
zoomFitScreen
,
SELECTION_CONDITIONS
::
ShowAlways
,
1000
);
m_menu
.
AddItem
(
COMMON_ACTIONS
::
zoomFitScreen
,
SELECTION_CONDITIONS
::
ShowAlways
,
1000
);
m_menu
.
AddMenu
(
new
ZOOM_MENU
(
getEditFrame
<
PCB_BASE_FRAME
>
()
),
"Zoom"
,
m_menu
.
AddMenu
(
new
ZOOM_MENU
(
getEditFrame
<
PCB_BASE_FRAME
>
()
),
_
(
"Zoom"
)
,
false
,
SELECTION_CONDITIONS
::
ShowAlways
,
1000
);
false
,
SELECTION_CONDITIONS
::
ShowAlways
,
1000
);
m_menu
.
AddMenu
(
new
GRID_MENU
(
getEditFrame
<
PCB_BASE_FRAME
>
()
),
"Grid"
,
m_menu
.
AddMenu
(
new
GRID_MENU
(
getEditFrame
<
PCB_BASE_FRAME
>
()
),
_
(
"Grid"
)
,
false
,
SELECTION_CONDITIONS
::
ShowAlways
,
1000
);
false
,
SELECTION_CONDITIONS
::
ShowAlways
,
1000
);
return
true
;
return
true
;
...
...
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