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
670df702
Commit
670df702
authored
Jan 11, 2015
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cvpcb: very minor fixes.
parent
97232952
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
18 deletions
+17
-18
cvframe.cpp
cvpcb/cvframe.cpp
+11
-10
config_params.h
include/config_params.h
+1
-1
kicad.pro
template/kicad.pro
+5
-7
No files found.
cvpcb/cvframe.cpp
View file @
670df702
...
@@ -687,32 +687,33 @@ void CVPCB_MAINFRAME::DisplayStatus()
...
@@ -687,32 +687,33 @@ void CVPCB_MAINFRAME::DisplayStatus()
}
}
msg
.
Empty
();
msg
.
Empty
();
wxString
filters
;
if
(
m_footprintListBox
)
if
(
m_footprintListBox
)
{
{
if
(
m_mainToolBar
->
GetToolToggled
(
ID_CVPCB_FOOTPRINT_DISPLAY_FILTERED_LIST
)
)
if
(
m_mainToolBar
->
GetToolToggled
(
ID_CVPCB_FOOTPRINT_DISPLAY_FILTERED_LIST
)
)
msg
=
_
(
"key words"
);
filters
=
_
(
"key words"
);
if
(
m_mainToolBar
->
GetToolToggled
(
ID_CVPCB_FOOTPRINT_DISPLAY_PIN_FILTERED_LIST
)
)
if
(
m_mainToolBar
->
GetToolToggled
(
ID_CVPCB_FOOTPRINT_DISPLAY_PIN_FILTERED_LIST
)
)
{
{
if
(
!
msg
.
IsEmpty
()
)
if
(
!
filters
.
IsEmpty
()
)
msg
+=
wxT
(
",
"
);
filters
+=
wxT
(
"+
"
);
msg
+=
_
(
"pin count"
);
filters
+=
_
(
"pin count"
);
}
}
if
(
m_mainToolBar
->
GetToolToggled
(
ID_CVPCB_FOOTPRINT_DISPLAY_BY_LIBRARY_LIST
)
)
if
(
m_mainToolBar
->
GetToolToggled
(
ID_CVPCB_FOOTPRINT_DISPLAY_BY_LIBRARY_LIST
)
)
{
{
if
(
!
msg
.
IsEmpty
()
)
if
(
!
filters
.
IsEmpty
()
)
msg
+=
wxT
(
",
"
);
filters
+=
wxT
(
"+
"
);
msg
+=
_
(
"library"
);
filters
+=
_
(
"library"
);
}
}
if
(
msg
.
IsEmpty
()
)
if
(
filters
.
IsEmpty
()
)
msg
=
_
(
"No filtering"
);
msg
=
_
(
"No filtering"
);
else
else
msg
=
_
(
"Filtered by "
)
+
msg
;
msg
.
Printf
(
_
(
"Filtered by %s"
),
GetChars
(
filters
)
)
;
msg
<<
wxT
(
": "
)
<<
m_footprintListBox
->
GetCount
();
msg
<<
wxT
(
": "
)
<<
m_footprintListBox
->
GetCount
();
...
@@ -750,7 +751,7 @@ void CVPCB_MAINFRAME::UpdateTitle()
...
@@ -750,7 +751,7 @@ void CVPCB_MAINFRAME::UpdateTitle()
PROJECT
&
prj
=
Prj
();
PROJECT
&
prj
=
Prj
();
wxFileName
fn
=
prj
.
GetProjectFullName
();
wxFileName
fn
=
prj
.
GetProjectFullName
();
if
(
fn
.
IsOk
()
&&
fn
.
FileExists
()
)
if
(
fn
.
IsOk
()
&&
!
prj
.
GetProjectFullName
().
IsEmpty
()
&&
fn
.
FileExists
()
)
{
{
title
+=
wxString
::
Format
(
_
(
"Project: '%s' (netlist: '%s')"
),
title
+=
wxString
::
Format
(
_
(
"Project: '%s' (netlist: '%s')"
),
GetChars
(
fn
.
GetFullPath
()
),
GetChars
(
fn
.
GetFullPath
()
),
...
...
include/config_params.h
View file @
670df702
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
#define GROUP_SCH_LIBS wxT( "/eeschema/libraries" ) /// library list section
#define GROUP_SCH_LIBS wxT( "/eeschema/libraries" ) /// library list section
#define GROUP_CVP wxT("/cvpcb")
#define GROUP_CVP wxT("/cvpcb")
#define GROUP_CVP_EQU wxT("/cvpcb/
librari
es")
#define GROUP_CVP_EQU wxT("/cvpcb/
equfil
es")
#define CONFIG_VERSION 1
#define CONFIG_VERSION 1
...
...
template/kicad.pro
View file @
670df702
update
=
30
/
03
/
2013
13
:
45
:
59
update
=
11
/
01
/
2015
18
:
31
:
38
version
=
1
version
=
1
last_client
=
pcbnew
last_client
=
kicad
[
general
]
[
general
]
version
=
1
version
=
1
RootSch
=
RootSch
=
BoardNm
=
BoardNm
=
[
cvpcb
]
version
=
1
NetIExt
=
net
[
cvpcb
/
libraries
]
EquName1
=
devcms
[
eeschema
]
[
eeschema
]
version
=
1
version
=
1
LibDir
=
LibDir
=
...
@@ -68,3 +63,6 @@ SolderMaskMinWidth=0.000000000000
...
@@ -68,3 +63,6 @@ SolderMaskMinWidth=0.000000000000
DrawSegmentWidth
=
0.200000000000
DrawSegmentWidth
=
0.200000000000
BoardOutlineThickness
=
0.100000000000
BoardOutlineThickness
=
0.100000000000
ModuleOutlineThickness
=
0.150000000000
ModuleOutlineThickness
=
0.150000000000
[
cvpcb
]
version
=
1
NetIExt
=
net
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