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
b251a5b6
Commit
b251a5b6
authored
Nov 01, 2010
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restore minor changes lost in my recent commit.
parent
3be88ac2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
menubar_pcbframe.cpp
pcbnew/menubar_pcbframe.cpp
+12
-12
No files found.
pcbnew/menubar_pcbframe.cpp
View file @
b251a5b6
...
@@ -367,7 +367,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
...
@@ -367,7 +367,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
text
=
AddHotkeyName
(
_
(
"Module"
),
s_Pcbnew_Editor_Hokeys_Descr
,
text
=
AddHotkeyName
(
_
(
"Module"
),
s_Pcbnew_Editor_Hokeys_Descr
,
HK_ADD_MODULE
,
false
);
HK_ADD_MODULE
,
false
);
item
=
new
wxMenuItem
(
placeMenu
,
ID_COMPONENT_BUTT
,
text
,
item
=
new
wxMenuItem
(
placeMenu
,
ID_COMPONENT_BUTT
,
text
,
_
(
"
Place a module
"
),
wxITEM_NORMAL
);
_
(
"
Add modules
"
),
wxITEM_NORMAL
);
item
->
SetBitmap
(
module_xpm
);
item
->
SetBitmap
(
module_xpm
);
placeMenu
->
Append
(
item
);
placeMenu
->
Append
(
item
);
...
@@ -376,7 +376,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
...
@@ -376,7 +376,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
text
=
AddHotkeyName
(
_
(
"Track"
),
s_Pcbnew_Editor_Hokeys_Descr
,
text
=
AddHotkeyName
(
_
(
"Track"
),
s_Pcbnew_Editor_Hokeys_Descr
,
HK_ADD_NEW_TRACK
,
false
);
HK_ADD_NEW_TRACK
,
false
);
item
=
new
wxMenuItem
(
placeMenu
,
ID_TRACK_BUTT
,
text
,
item
=
new
wxMenuItem
(
placeMenu
,
ID_TRACK_BUTT
,
text
,
_
(
"
Place a track
"
),
wxITEM_NORMAL
);
_
(
"
Add tracks and vias
"
),
wxITEM_NORMAL
);
item
->
SetBitmap
(
add_tracks_xpm
);
item
->
SetBitmap
(
add_tracks_xpm
);
placeMenu
->
Append
(
item
);
placeMenu
->
Append
(
item
);
...
@@ -384,35 +384,35 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
...
@@ -384,35 +384,35 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
// Zone
// Zone
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_ZONES_BUTT
,
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_ZONES_BUTT
,
_
(
"Zone"
),
_
(
"Zone"
),
_
(
"
Place a filled zone
"
));
_
(
"
Add filled zones
"
));
item
->
SetBitmap
(
add_zone_xpm
);
item
->
SetBitmap
(
add_zone_xpm
);
placeMenu
->
Append
(
item
);
placeMenu
->
Append
(
item
);
// Text
// Text
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_ADD_TEXT_BUTT
,
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_ADD_TEXT_BUTT
,
_
(
"Text"
),
_
(
"Text"
),
_
(
"
Place
text"
)
);
_
(
"
Add text on copper layers or graphic
text"
)
);
item
->
SetBitmap
(
add_text_xpm
);
item
->
SetBitmap
(
add_text_xpm
);
placeMenu
->
Append
(
item
);
placeMenu
->
Append
(
item
);
// Graphic Arc
// Graphic Arc
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_ARC_BUTT
,
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_ARC_BUTT
,
_
(
"Arc"
),
_
(
"Arc"
),
_
(
"
Place a
graphic arc"
)
);
_
(
"
Add
graphic arc"
)
);
item
->
SetBitmap
(
add_arc_xpm
);
item
->
SetBitmap
(
add_arc_xpm
);
placeMenu
->
Append
(
item
);
placeMenu
->
Append
(
item
);
// Graphic Circle
// Graphic Circle
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_CIRCLE_BUTT
,
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_CIRCLE_BUTT
,
_
(
"Circle"
),
_
(
"Circle"
),
_
(
"
Place a
graphic circle"
));
_
(
"
Add
graphic circle"
));
item
->
SetBitmap
(
add_circle_xpm
);
item
->
SetBitmap
(
add_circle_xpm
);
placeMenu
->
Append
(
item
);
placeMenu
->
Append
(
item
);
// Line or Polygon
// Line or Polygon
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_ADD_LINE_BUTT
,
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_ADD_LINE_BUTT
,
_
(
"Line or Polygon"
),
_
(
"Line or Polygon"
),
_
(
"
Place a
graphic line or polygon"
));
_
(
"
Add
graphic line or polygon"
));
item
->
SetBitmap
(
add_dashed_line_xpm
);
item
->
SetBitmap
(
add_dashed_line_xpm
);
placeMenu
->
Append
(
item
);
placeMenu
->
Append
(
item
);
placeMenu
->
AppendSeparator
();
placeMenu
->
AppendSeparator
();
...
@@ -420,14 +420,14 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
...
@@ -420,14 +420,14 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
// Dimension
// Dimension
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_DIMENSION_BUTT
,
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_DIMENSION_BUTT
,
_
(
"Dimension"
),
_
(
"Dimension"
),
_
(
"
Place a
dimension"
)
);
_
(
"
Add
dimension"
)
);
item
->
SetBitmap
(
add_dimension_xpm
);
item
->
SetBitmap
(
add_dimension_xpm
);
placeMenu
->
Append
(
item
);
placeMenu
->
Append
(
item
);
// Layer alignment target
// Layer alignment target
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_MIRE_BUTT
,
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_MIRE_BUTT
,
_
(
"Layer alignment target"
),
_
(
"Layer alignment target"
),
_
(
"
Place a
layer alignment target"
));
_
(
"
Add
layer alignment target"
));
item
->
SetBitmap
(
add_mires_xpm
);
item
->
SetBitmap
(
add_mires_xpm
);
placeMenu
->
Append
(
item
);
placeMenu
->
Append
(
item
);
placeMenu
->
AppendSeparator
();
placeMenu
->
AppendSeparator
();
...
@@ -435,14 +435,14 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
...
@@ -435,14 +435,14 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
// Drill & Place Offset
// Drill & Place Offset
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_PLACE_OFFSET_COORD_BUTT
,
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_PLACE_OFFSET_COORD_BUTT
,
_
(
"Drill and Place Offset"
),
_
(
"Drill and Place Offset"
),
_
(
"Place the o
ffset adjus
t for drill and place files"
));
_
(
"Place the o
rigin poin
t for drill and place files"
));
item
->
SetBitmap
(
pcb_offset_xpm
);
item
->
SetBitmap
(
pcb_offset_xpm
);
placeMenu
->
Append
(
item
);
placeMenu
->
Append
(
item
);
// Grid Origin
// Grid Origin
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_PLACE_GRID_COORD_BUTT
,
item
=
new
wxMenuItem
(
placeMenu
,
ID_PCB_PLACE_GRID_COORD_BUTT
,
_
(
"Grid Origin"
),
_
(
"Grid Origin"
),
_
(
"
Plac
e origin point for the grid"
));
_
(
"
Set th
e origin point for the grid"
));
item
->
SetBitmap
(
grid_select_axis_xpm
);
item
->
SetBitmap
(
grid_select_axis_xpm
);
placeMenu
->
Append
(
item
);
placeMenu
->
Append
(
item
);
...
@@ -578,7 +578,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
...
@@ -578,7 +578,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
/* Contents */
/* Contents */
item
=
new
wxMenuItem
(
helpMenu
,
ID_GENERAL_HELP
,
item
=
new
wxMenuItem
(
helpMenu
,
ID_GENERAL_HELP
,
_
(
"&Contents"
),
_
(
"&Contents"
),
_
(
"Open the
PCBnew manual
"
)
);
_
(
"Open the
on line PCBnew documentation
"
)
);
item
->
SetBitmap
(
online_help_xpm
);
item
->
SetBitmap
(
online_help_xpm
);
helpMenu
->
Append
(
item
);
helpMenu
->
Append
(
item
);
...
...
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