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
6f841123
Commit
6f841123
authored
Oct 07, 2008
by
jerryjacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Menu and statusbar strings made more clear
parent
f95e968c
Changes
16
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
321 additions
and
248 deletions
+321
-248
cvframe.cpp
cvpcb/cvframe.cpp
+16
-5
tool_cvpcb.cpp
cvpcb/tool_cvpcb.cpp
+2
-2
dialog_edit_component_in_lib.cpp
eeschema/dialog_edit_component_in_lib.cpp
+1
-1
edit_component_in_schematic.cpp
eeschema/edit_component_in_schematic.cpp
+3
-3
menubar.cpp
eeschema/menubar.cpp
+7
-7
plothpgl.cpp
eeschema/plothpgl.cpp
+2
-2
plotps.cpp
eeschema/plotps.cpp
+3
-3
tool_gerber.cpp
gerbview/tool_gerber.cpp
+4
-2
kicad.mo
internat/nl/kicad.mo
+0
-0
kicad.po
internat/nl/kicad.po
+244
-206
buildmnu.cpp
kicad/buildmnu.cpp
+1
-1
treeprj_frame.cpp
kicad/treeprj_frame.cpp
+2
-2
menubarmodedit.cpp
pcbnew/menubarmodedit.cpp
+14
-4
menubarpcb.cpp
pcbnew/menubarpcb.cpp
+2
-2
drawframe.cpp
share/drawframe.cpp
+19
-8
kicad.pro
template/kicad.pro
+1
-0
No files found.
cvpcb/cvframe.cpp
View file @
6f841123
...
@@ -421,14 +421,25 @@ void WinEDA_CvpcbFrame::AddFontSelectionMenu( wxMenu* main_menu )
...
@@ -421,14 +421,25 @@ void WinEDA_CvpcbFrame::AddFontSelectionMenu( wxMenu* main_menu )
{
{
wxMenu
*
fontmenu
=
new
wxMenu
();
wxMenu
*
fontmenu
=
new
wxMenu
();
ADD_MENUITEM
(
fontmenu
,
ID_PREFERENCES_FONT_DIALOG
,
_
(
"font for dialog boxes"
),
ADD_MENUITEM
(
fontmenu
,
ID_PREFERENCES_FONT_DIALOG
,
_
(
"Dialog boxes"
),
fonts_xpm
);
fonts_xpm
);
ADD_MENUITEM
(
fontmenu
,
ID_PREFERENCES_FONT_INFOSCREEN
,
_
(
"font for Lists"
),
ADD_MENUITEM
(
fontmenu
,
ID_PREFERENCES_FONT_INFOSCREEN
,
_
(
"Lists"
),
fonts_xpm
);
fonts_xpm
);
ADD_MENUITEM
(
fontmenu
,
ID_PREFERENCES_FONT_STATUS
,
_
(
"font for Status Line"
),
ADD_MENUITEM
(
fontmenu
,
ID_PREFERENCES_FONT_STATUS
,
_
(
"Status box"
),
fonts_xpm
);
fonts_xpm
);
ADD_MENUITEM_WITH_HELP_AND_SUBMENU
(
main_menu
,
fontmenu
,
ID_PREFERENCES_FONT
,
_
(
"&Font"
),
ADD_MENUITEM_WITH_HELP_AND_SUBMENU
(
main_menu
,
fontmenu
,
ID_PREFERENCES_FONT
,
_
(
"&Font"
),
_
(
_
(
"Choose font type and size for dialogs, infos and status box"
),
"Choose font type and size for dialogs, infos and status box"
),
fonts_xpm
);
fonts_xpm
);
...
...
cvpcb/tool_cvpcb.cpp
View file @
6f841123
...
@@ -156,8 +156,8 @@ wxMenuBar * menuBar = GetMenuBar();
...
@@ -156,8 +156,8 @@ wxMenuBar * menuBar = GetMenuBar();
_
(
"Open the cvpcb manual"
));
_
(
"Open the cvpcb manual"
));
item
->
SetBitmap
(
help_xpm
);
item
->
SetBitmap
(
help_xpm
);
helpMenu
->
Append
(
item
);
helpMenu
->
Append
(
item
);
item
=
new
wxMenuItem
(
helpMenu
,
ID_CVPCB_DISPLAY_LICENCE
,
_
(
"&About"
),
item
=
new
wxMenuItem
(
helpMenu
,
ID_CVPCB_DISPLAY_LICENCE
,
_
(
"&About
cvpcb
"
),
_
(
"About
this application
"
));
_
(
"About
cvpcb schematic to pcb converter
"
));
item
->
SetBitmap
(
info_xpm
);
item
->
SetBitmap
(
info_xpm
);
helpMenu
->
Append
(
item
);
helpMenu
->
Append
(
item
);
...
...
eeschema/dialog_edit_component_in_lib.cpp
View file @
6f841123
...
@@ -144,7 +144,7 @@ void WinEDA_PartPropertiesFrame::CreateControls()
...
@@ -144,7 +144,7 @@ void WinEDA_PartPropertiesFrame::CreateControls()
m_PanelBasicBoxSizer
->
Add
(
itemBoxSizer7
,
0
,
wxALIGN_LEFT
|
wxALL
,
5
);
m_PanelBasicBoxSizer
->
Add
(
itemBoxSizer7
,
0
,
wxALIGN_LEFT
|
wxALL
,
5
);
wxBoxSizer
*
itemBoxSizer8
=
new
wxBoxSizer
(
wxVERTICAL
);
wxBoxSizer
*
itemBoxSizer8
=
new
wxBoxSizer
(
wxVERTICAL
);
itemBoxSizer7
->
Add
(
itemBoxSizer8
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
5
);
itemBoxSizer7
->
Add
(
itemBoxSizer8
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
5
);
wxStaticText
*
itemStaticText9
=
new
wxStaticText
(
m_PanelBasic
,
wxID_STATIC
,
_
(
"Number of
U
nits:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
wxStaticText
*
itemStaticText9
=
new
wxStaticText
(
m_PanelBasic
,
wxID_STATIC
,
_
(
"Number of
u
nits:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
itemBoxSizer8
->
Add
(
itemStaticText9
,
0
,
wxGROW
|
wxLEFT
|
wxRIGHT
|
wxTOP
|
wxADJUST_MINSIZE
,
5
);
itemBoxSizer8
->
Add
(
itemStaticText9
,
0
,
wxGROW
|
wxLEFT
|
wxRIGHT
|
wxTOP
|
wxADJUST_MINSIZE
,
5
);
SelNumberOfUnits
=
new
wxSpinCtrl
(
m_PanelBasic
,
ID_SPINCTRL1
,
_T
(
"1"
),
wxDefaultPosition
,
wxDefaultSize
,
wxSP_ARROW_KEYS
,
1
,
16
,
1
);
SelNumberOfUnits
=
new
wxSpinCtrl
(
m_PanelBasic
,
ID_SPINCTRL1
,
_T
(
"1"
),
wxDefaultPosition
,
wxDefaultSize
,
wxSP_ARROW_KEYS
,
1
,
16
,
1
);
...
...
eeschema/edit_component_in_schematic.cpp
View file @
6f841123
...
@@ -756,7 +756,7 @@ void WinEDA_SchematicFrame::EditComponentReference( SCH_COMPONENT* Cmp, wxDC* DC
...
@@ -756,7 +756,7 @@ void WinEDA_SchematicFrame::EditComponentReference( SCH_COMPONENT* Cmp, wxDC* DC
flag
=
1
;
flag
=
1
;
wxString
ref
=
Cmp
->
GetRef
(
GetSheet
());
wxString
ref
=
Cmp
->
GetRef
(
GetSheet
());
Get_Message
(
_
(
"Reference"
),
_
(
"Component
R
eference"
),
ref
,
this
);
Get_Message
(
_
(
"Reference"
),
_
(
"Component
r
eference"
),
ref
,
this
);
if
(
!
ref
.
IsEmpty
()
)
// New text entered
if
(
!
ref
.
IsEmpty
()
)
// New text entered
{
{
...
@@ -794,7 +794,7 @@ void WinEDA_SchematicFrame::EditComponentValue( SCH_COMPONENT* Cmp, wxDC* DC )
...
@@ -794,7 +794,7 @@ void WinEDA_SchematicFrame::EditComponentValue( SCH_COMPONENT* Cmp, wxDC* DC )
SCH_CMP_FIELD
*
TextField
=
Cmp
->
GetField
(
VALUE
);
SCH_CMP_FIELD
*
TextField
=
Cmp
->
GetField
(
VALUE
);
message
=
TextField
->
m_Text
;
message
=
TextField
->
m_Text
;
if
(
Get_Message
(
_
(
"Value"
),
_
(
"Component
V
alue"
),
message
,
this
)
)
if
(
Get_Message
(
_
(
"Value"
),
_
(
"Component
v
alue"
),
message
,
this
)
)
message
.
Empty
();
//allow the user to remove the value.
message
.
Empty
();
//allow the user to remove the value.
if
(
!
message
.
IsEmpty
()
&&
!
message
.
IsEmpty
())
if
(
!
message
.
IsEmpty
()
&&
!
message
.
IsEmpty
())
...
@@ -834,7 +834,7 @@ void WinEDA_SchematicFrame::EditComponentFootprint( SCH_COMPONENT* Cmp, wxDC* DC
...
@@ -834,7 +834,7 @@ void WinEDA_SchematicFrame::EditComponentFootprint( SCH_COMPONENT* Cmp, wxDC* DC
if
(
message
.
IsEmpty
()
)
if
(
message
.
IsEmpty
()
)
wasEmpty
=
true
;
wasEmpty
=
true
;
if
(
Get_Message
(
_
(
"Footprint"
),
_
(
"Component
F
ootprint"
),
message
,
this
)
)
if
(
Get_Message
(
_
(
"Footprint"
),
_
(
"Component
f
ootprint"
),
message
,
this
)
)
message
.
Empty
();
// allow the user to remove the value.
message
.
Empty
();
// allow the user to remove the value.
// save old cmp in undo list if not already in edit, or moving ...
// save old cmp in undo list if not already in edit, or moving ...
...
...
eeschema/menubar.cpp
View file @
6f841123
...
@@ -335,8 +335,8 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
...
@@ -335,8 +335,8 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
item
=
new
wxMenuItem
(
item
=
new
wxMenuItem
(
placeMenu
,
placeMenu
,
ID_LINE_COMMENT_BUTT
,
ID_LINE_COMMENT_BUTT
,
_
(
"Graphic line or pol
i
gon"
),
_
(
"Graphic line or pol
y
gon"
),
_
(
"Place
the graphic line or poligon
"
),
_
(
"Place
graphic lines or polygons
"
),
wxITEM_NORMAL
wxITEM_NORMAL
);
);
item
->
SetBitmap
(
add_dashed_line_xpm
);
item
->
SetBitmap
(
add_dashed_line_xpm
);
...
@@ -346,7 +346,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
...
@@ -346,7 +346,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
placeMenu
,
placeMenu
,
ID_TEXT_COMMENT_BUTT
,
ID_TEXT_COMMENT_BUTT
,
_
(
"Graphic text (comment)"
),
_
(
"Graphic text (comment)"
),
_
(
"Place
the
graphic text (comment)"
),
_
(
"Place graphic text (comment)"
),
wxITEM_NORMAL
wxITEM_NORMAL
);
);
item
->
SetBitmap
(
add_text_xpm
);
item
->
SetBitmap
(
add_text_xpm
);
...
@@ -356,7 +356,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
...
@@ -356,7 +356,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
wxMenu
*
configmenu
=
new
wxMenu
;
wxMenu
*
configmenu
=
new
wxMenu
;
item
=
new
wxMenuItem
(
configmenu
,
ID_CONFIG_REQ
,
item
=
new
wxMenuItem
(
configmenu
,
ID_CONFIG_REQ
,
_
(
"&Library"
),
_
(
"&Library"
),
_
(
"
Setting Libraries, Directories and others...
"
)
);
_
(
"
Library preferences
"
)
);
item
->
SetBitmap
(
library_xpm
);
item
->
SetBitmap
(
library_xpm
);
configmenu
->
Append
(
item
);
configmenu
->
Append
(
item
);
...
@@ -366,10 +366,10 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
...
@@ -366,10 +366,10 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
item
->
SetBitmap
(
palette_xpm
);
item
->
SetBitmap
(
palette_xpm
);
configmenu
->
Append
(
item
);
configmenu
->
Append
(
item
);
// ADD_MENUITEM(configmenu, ID_OPTIONS_SETUP, _("&Options"), preference_xpm);
// Options
item
=
new
wxMenuItem
(
configmenu
,
ID_OPTIONS_SETUP
,
item
=
new
wxMenuItem
(
configmenu
,
ID_OPTIONS_SETUP
,
_
(
"&Options"
),
_
(
"&Options"
),
_
(
"
Select g
eneral options..."
)
);
_
(
"
G
eneral options..."
)
);
item
->
SetBitmap
(
preference_xpm
);
item
->
SetBitmap
(
preference_xpm
);
configmenu
->
Append
(
item
);
configmenu
->
Append
(
item
);
...
@@ -399,7 +399,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
...
@@ -399,7 +399,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
helpMenu
->
Append
(
item
);
helpMenu
->
Append
(
item
);
item
=
new
wxMenuItem
(
helpMenu
,
ID_KICAD_ABOUT
,
item
=
new
wxMenuItem
(
helpMenu
,
ID_KICAD_ABOUT
,
_
(
"&About
"
),
_
(
"About this application
"
)
);
_
(
"&About
eeschema"
),
_
(
"About eeschema schematic designer
"
)
);
item
->
SetBitmap
(
info_xpm
);
item
->
SetBitmap
(
info_xpm
);
helpMenu
->
Append
(
item
);
helpMenu
->
Append
(
item
);
...
...
eeschema/plothpgl.cpp
View file @
6f841123
...
@@ -280,12 +280,12 @@ void WinEDA_PlotHPGLFrame::CreateControls()
...
@@ -280,12 +280,12 @@ void WinEDA_PlotHPGLFrame::CreateControls()
wxBoxSizer
*
itemBoxSizer20
=
new
wxBoxSizer
(
wxVERTICAL
);
wxBoxSizer
*
itemBoxSizer20
=
new
wxBoxSizer
(
wxVERTICAL
);
itemBoxSizer3
->
Add
(
itemBoxSizer20
,
0
,
wxALIGN_TOP
|
wxLEFT
|
wxTOP
|
wxBOTTOM
,
5
);
itemBoxSizer3
->
Add
(
itemBoxSizer20
,
0
,
wxALIGN_TOP
|
wxLEFT
|
wxTOP
|
wxBOTTOM
,
5
);
wxButton
*
itemButton21
=
new
wxButton
(
itemDialog1
,
ID_PLOT_HPGL_CURRENT_EXECUTE
,
_
(
"&Plot
P
age"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
wxButton
*
itemButton21
=
new
wxButton
(
itemDialog1
,
ID_PLOT_HPGL_CURRENT_EXECUTE
,
_
(
"&Plot
p
age"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
itemButton21
->
SetDefault
();
itemButton21
->
SetDefault
();
itemButton21
->
SetForegroundColour
(
wxColour
(
0
,
128
,
0
));
itemButton21
->
SetForegroundColour
(
wxColour
(
0
,
128
,
0
));
itemBoxSizer20
->
Add
(
itemButton21
,
0
,
wxGROW
|
wxALL
,
5
);
itemBoxSizer20
->
Add
(
itemButton21
,
0
,
wxGROW
|
wxALL
,
5
);
wxButton
*
itemButton22
=
new
wxButton
(
itemDialog1
,
ID_PLOT_HPGL_ALL_EXECUTE
,
_
(
"Plot
A
&LL"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
wxButton
*
itemButton22
=
new
wxButton
(
itemDialog1
,
ID_PLOT_HPGL_ALL_EXECUTE
,
_
(
"Plot
a
&LL"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
itemButton22
->
SetForegroundColour
(
wxColour
(
0
,
0
,
255
));
itemButton22
->
SetForegroundColour
(
wxColour
(
0
,
0
,
255
));
itemBoxSizer20
->
Add
(
itemButton22
,
0
,
wxGROW
|
wxALL
,
5
);
itemBoxSizer20
->
Add
(
itemButton22
,
0
,
wxGROW
|
wxALL
,
5
);
...
...
eeschema/plotps.cpp
View file @
6f841123
...
@@ -215,16 +215,16 @@ void WinEDA_PlotPSFrame::CreateControls()
...
@@ -215,16 +215,16 @@ void WinEDA_PlotPSFrame::CreateControls()
wxBoxSizer
*
itemBoxSizer10
=
new
wxBoxSizer
(
wxVERTICAL
);
wxBoxSizer
*
itemBoxSizer10
=
new
wxBoxSizer
(
wxVERTICAL
);
itemBoxSizer3
->
Add
(
itemBoxSizer10
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
5
);
itemBoxSizer3
->
Add
(
itemBoxSizer10
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
5
);
wxButton
*
itemButton11
=
new
wxButton
(
itemDialog1
,
ID_PLOT_PS_CURRENT_EXECUTE
,
_
(
"&Plot
P
age"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
wxButton
*
itemButton11
=
new
wxButton
(
itemDialog1
,
ID_PLOT_PS_CURRENT_EXECUTE
,
_
(
"&Plot
p
age"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
itemButton11
->
SetDefault
();
itemButton11
->
SetDefault
();
itemButton11
->
SetForegroundColour
(
wxColour
(
0
,
128
,
0
));
itemButton11
->
SetForegroundColour
(
wxColour
(
0
,
128
,
0
));
itemBoxSizer10
->
Add
(
itemButton11
,
0
,
wxGROW
|
wxALL
,
5
);
itemBoxSizer10
->
Add
(
itemButton11
,
0
,
wxGROW
|
wxALL
,
5
);
wxButton
*
itemButton12
=
new
wxButton
(
itemDialog1
,
ID_PLOT_PS_ALL_EXECUTE
,
_
(
"Plot
A
&LL"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
wxButton
*
itemButton12
=
new
wxButton
(
itemDialog1
,
ID_PLOT_PS_ALL_EXECUTE
,
_
(
"Plot
a
&LL"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
itemButton12
->
SetForegroundColour
(
wxColour
(
179
,
0
,
0
));
itemButton12
->
SetForegroundColour
(
wxColour
(
179
,
0
,
0
));
itemBoxSizer10
->
Add
(
itemButton12
,
0
,
wxGROW
|
wxALL
,
5
);
itemBoxSizer10
->
Add
(
itemButton12
,
0
,
wxGROW
|
wxALL
,
5
);
m_btClose
=
new
wxButton
(
itemDialog1
,
wxID_CANCEL
,
_
(
"Close"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_btClose
=
new
wxButton
(
itemDialog1
,
wxID_CANCEL
,
_
(
"
&
Close"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_btClose
->
SetForegroundColour
(
wxColour
(
0
,
0
,
255
));
m_btClose
->
SetForegroundColour
(
wxColour
(
0
,
0
,
255
));
itemBoxSizer10
->
Add
(
m_btClose
,
0
,
wxGROW
|
wxALL
,
5
);
itemBoxSizer10
->
Add
(
m_btClose
,
0
,
wxGROW
|
wxALL
,
5
);
...
...
gerbview/tool_gerber.cpp
View file @
6f841123
...
@@ -148,8 +148,10 @@ void WinEDA_GerberFrame::ReCreateMenuBar( void )
...
@@ -148,8 +148,10 @@ void WinEDA_GerberFrame::ReCreateMenuBar( void )
wxMenu
*
helpMenu
=
new
wxMenu
;
wxMenu
*
helpMenu
=
new
wxMenu
;
ADD_MENUITEM_WITH_HELP
(
helpMenu
,
ID_GENERAL_HELP
,
_
(
"&Contents"
),
ADD_MENUITEM_WITH_HELP
(
helpMenu
,
ID_GENERAL_HELP
,
_
(
"&Contents"
),
_
(
"Open the gerbview manual"
),
help_xpm
);
_
(
"Open the gerbview manual"
),
help_xpm
);
ADD_MENUITEM_WITH_HELP
(
helpMenu
,
ID_KICAD_ABOUT
,
_
(
"&About"
),
ADD_MENUITEM_WITH_HELP
(
helpMenu
,
_
(
"About this application"
),
info_xpm
);
ID_KICAD_ABOUT
,
_
(
"&About gerbview"
),
_
(
"About gerbview gerber and drill viewer"
),
info_xpm
);
menuBar
->
Append
(
m_FilesMenu
,
_
(
"&File"
)
);
menuBar
->
Append
(
m_FilesMenu
,
_
(
"&File"
)
);
menuBar
->
Append
(
configmenu
,
_
(
"&Preferences"
)
);
menuBar
->
Append
(
configmenu
,
_
(
"&Preferences"
)
);
...
...
internat/nl/kicad.mo
View file @
6f841123
No preview for this file type
internat/nl/kicad.po
View file @
6f841123
This diff is collapsed.
Click to expand it.
kicad/buildmnu.cpp
View file @
6f841123
...
@@ -192,7 +192,7 @@ void WinEDA_MainFrame::ReCreateMenuBar()
...
@@ -192,7 +192,7 @@ void WinEDA_MainFrame::ReCreateMenuBar()
helpMenu
->
Append
(
item
);
helpMenu
->
Append
(
item
);
item
=
new
wxMenuItem
(
helpMenu
,
ID_KICAD_ABOUT
,
item
=
new
wxMenuItem
(
helpMenu
,
ID_KICAD_ABOUT
,
_
(
"&About
"
),
_
(
"About this application
"
));
_
(
"&About
kicad"
),
_
(
"About kicad project manager
"
));
item
->
SetBitmap
(
info_xpm
);
item
->
SetBitmap
(
info_xpm
);
helpMenu
->
Append
(
item
);
helpMenu
->
Append
(
item
);
...
...
kicad/treeprj_frame.cpp
View file @
6f841123
...
@@ -875,8 +875,8 @@ void WinEDA_PrjFrame::OnRenameFile( wxCommandEvent& )
...
@@ -875,8 +875,8 @@ void WinEDA_PrjFrame::OnRenameFile( wxCommandEvent& )
return
;
return
;
wxString
buffer
=
m_TreeProject
->
GetItemText
(
curr_item
);
wxString
buffer
=
m_TreeProject
->
GetItemText
(
curr_item
);
wxString
msg
=
_
(
"Change
F
ilename: "
)
+
tree_data
->
m_FileName
;
wxString
msg
=
_
(
"Change
f
ilename: "
)
+
tree_data
->
m_FileName
;
if
(
Get_Message
(
msg
,
_
(
"Change
F
ilename"
),
buffer
,
this
)
!=
0
)
if
(
Get_Message
(
msg
,
_
(
"Change
f
ilename"
),
buffer
,
this
)
!=
0
)
return
;
//Abort command
return
;
//Abort command
if
(
tree_data
->
Rename
(
buffer
,
true
)
)
if
(
tree_data
->
Rename
(
buffer
,
true
)
)
...
...
pcbnew/menubarmodedit.cpp
View file @
6f841123
...
@@ -57,12 +57,22 @@ wxMenuItem * item;
...
@@ -57,12 +57,22 @@ wxMenuItem * item;
// Menu Help: //
// Menu Help: //
////////////////
////////////////
wxMenu
*
helpMenu
=
new
wxMenu
;
wxMenu
*
helpMenu
=
new
wxMenu
;
item
=
new
wxMenuItem
(
helpMenu
,
ID_GENERAL_HELP
,
_
(
"&Contents"
),
_
(
"Open the pcbnew manual"
));
item
->
SetBitmap
(
help_xpm
);
// Contents
item
=
new
wxMenuItem
(
helpMenu
,
ID_GENERAL_HELP
,
_
(
"&Contents"
),
// Menu entry name
_
(
"Open the pcbnew manual"
));
// Statusbar message
item
->
SetBitmap
(
help_xpm
);
helpMenu
->
Append
(
item
);
helpMenu
->
Append
(
item
);
item
=
new
wxMenuItem
(
helpMenu
,
ID_KICAD_ABOUT
,
_
(
"&About"
),
_
(
"About this application"
));
item
->
SetBitmap
(
info_xpm
);
// About pcbnew
item
=
new
wxMenuItem
(
helpMenu
,
ID_KICAD_ABOUT
,
_
(
"&About pcbnew"
),
// Menu entry name
_
(
"About pcbnew PCB designer"
));
// Statusbar message
item
->
SetBitmap
(
info_xpm
);
helpMenu
->
Append
(
item
);
helpMenu
->
Append
(
item
);
//////////////////////
//////////////////////
...
...
pcbnew/menubarpcb.cpp
View file @
6f841123
...
@@ -73,7 +73,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
...
@@ -73,7 +73,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
m_FilesMenu
->
Append
(
item
);
m_FilesMenu
->
Append
(
item
);
item
=
new
wxMenuItem
(
m_FilesMenu
,
ID_MENU_SAVE_BOARD_AS
,
item
=
new
wxMenuItem
(
m_FilesMenu
,
ID_MENU_SAVE_BOARD_AS
,
_
(
"Save board as.."
),
_
(
"Save board as..
.
"
),
_
(
"Save current board as.."
)
);
_
(
"Save current board as.."
)
);
item
->
SetBitmap
(
save_as_xpm
);
item
->
SetBitmap
(
save_as_xpm
);
m_FilesMenu
->
Append
(
item
);
m_FilesMenu
->
Append
(
item
);
...
@@ -293,7 +293,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
...
@@ -293,7 +293,7 @@ void WinEDA_PcbFrame::ReCreateMenuBar()
item
->
SetBitmap
(
help_xpm
);
item
->
SetBitmap
(
help_xpm
);
helpMenu
->
Append
(
item
);
helpMenu
->
Append
(
item
);
item
=
new
wxMenuItem
(
helpMenu
,
ID_KICAD_ABOUT
,
_
(
"&About
"
),
_
(
"About this application
"
));
item
=
new
wxMenuItem
(
helpMenu
,
ID_KICAD_ABOUT
,
_
(
"&About
pcbnew"
),
_
(
"About pcbnew PCB designer
"
));
item
->
SetBitmap
(
info_xpm
);
item
->
SetBitmap
(
info_xpm
);
helpMenu
->
Append
(
item
);
helpMenu
->
Append
(
item
);
...
...
share/drawframe.cpp
View file @
6f841123
...
@@ -131,18 +131,29 @@ void WinEDA_DrawFrame::AddFontSelectionMenu( wxMenu* main_menu )
...
@@ -131,18 +131,29 @@ void WinEDA_DrawFrame::AddFontSelectionMenu( wxMenu* main_menu )
{
{
wxMenu
*
fontmenu
=
new
wxMenu
();
wxMenu
*
fontmenu
=
new
wxMenu
();
ADD_MENUITEM
(
fontmenu
,
ID_PREFERENCES_FONT_DIALOG
,
_
(
"font for dialog boxes"
),
ADD_MENUITEM
(
fontmenu
,
ID_PREFERENCES_FONT_DIALOG
,
_
(
"Dialog boxes"
),
fonts_xpm
);
fonts_xpm
);
ADD_MENUITEM
(
fontmenu
,
ID_PREFERENCES_FONT_INFOSCREEN
,
_
(
"font for info display"
),
ADD_MENUITEM
(
fontmenu
,
ID_PREFERENCES_FONT_INFOSCREEN
,
_
(
"Lists"
),
fonts_xpm
);
fonts_xpm
);
ADD_MENUITEM
(
fontmenu
,
ID_PREFERENCES_FONT_STATUS
,
_
(
"font for Status Line"
),
ADD_MENUITEM
(
fontmenu
,
ID_PREFERENCES_FONT_STATUS
,
_
(
"Status box"
),
fonts_xpm
);
fonts_xpm
);
ADD_MENUITEM_WITH_HELP_AND_SUBMENU
(
main_menu
,
fontmenu
,
ID_PREFERENCES_FONT
,
_
(
"&Font"
),
_
(
"Choose font type and size for dialogs, infos and status box"
),
fonts_xpm
);
}
ADD_MENUITEM_WITH_HELP_AND_SUBMENU
(
main_menu
,
fontmenu
,
ID_PREFERENCES_FONT
,
_
(
"&Font"
),
_
(
"Choose font type and size for dialogs, infos and status box"
),
fonts_xpm
);
}
/********************************************************************/
/********************************************************************/
void
WinEDA_DrawFrame
::
ProcessFontPreferences
(
wxCommandEvent
&
event
)
void
WinEDA_DrawFrame
::
ProcessFontPreferences
(
wxCommandEvent
&
event
)
...
...
template/kicad.pro
View file @
6f841123
...
@@ -79,6 +79,7 @@ LibName5=divers
...
@@ -79,6 +79,7 @@ LibName5=divers
LibName6
=
libcms
LibName6
=
libcms
LibName7
=
display
LibName7
=
display
LibName8
=
valves
LibName8
=
valves
LibName9
=
led
[
eeschema
]
[
eeschema
]
version
=
1
version
=
1
LibDir
=
LibDir
=
...
...
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