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
3ae0df15
Commit
3ae0df15
authored
Sep 26, 2010
by
Andrey Fedorushkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add new pin style to schema file, minor change kicad command frame icon
parent
897ec5b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
class_pin.cpp
eeschema/class_pin.cpp
+14
-0
commandframe.cpp
kicad/commandframe.cpp
+2
-2
No files found.
eeschema/class_pin.cpp
View file @
3ae0df15
...
@@ -645,6 +645,12 @@ bool LIB_PIN::Save( FILE* ExportFile )
...
@@ -645,6 +645,12 @@ bool LIB_PIN::Save( FILE* ExportFile )
if
(
m_PinShape
&
LOWLEVEL_OUT
if
(
m_PinShape
&
LOWLEVEL_OUT
&&
fprintf
(
ExportFile
,
"V"
)
<
0
)
&&
fprintf
(
ExportFile
,
"V"
)
<
0
)
return
false
;
return
false
;
if
(
m_PinShape
&
CLOCK_FALL
&&
fprintf
(
ExportFile
,
"F"
)
<
0
)
return
false
;
if
(
m_PinShape
&
NONLOGIC
&&
fprintf
(
ExportFile
,
"X"
)
<
0
)
return
false
;
if
(
fprintf
(
ExportFile
,
"
\n
"
)
<
0
)
if
(
fprintf
(
ExportFile
,
"
\n
"
)
<
0
)
return
false
;
return
false
;
...
@@ -756,6 +762,14 @@ bool LIB_PIN::Load( char* line, wxString& errorMsg )
...
@@ -756,6 +762,14 @@ bool LIB_PIN::Load( char* line, wxString& errorMsg )
m_PinShape
|=
LOWLEVEL_OUT
;
m_PinShape
|=
LOWLEVEL_OUT
;
break
;
break
;
case
'F'
:
m_PinShape
|=
CLOCK_FALL
;
break
;
case
'X'
:
m_PinShape
|=
NONLOGIC
;
break
;
default
:
default
:
errorMsg
.
Printf
(
wxT
(
"unknown pin attribute [%c]"
),
errorMsg
.
Printf
(
wxT
(
"unknown pin attribute [%c]"
),
pinAttrs
[
j
]
);
pinAttrs
[
j
]
);
...
...
kicad/commandframe.cpp
View file @
3ae0df15
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
#include "kicad.h"
#include "kicad.h"
#include "../bitmap2component/bitmap2component
_16x16
.xpm"
#include "../bitmap2component/bitmap2component.xpm"
RIGHT_KM_FRAME
::
RIGHT_KM_FRAME
(
WinEDA_MainFrame
*
parent
)
:
RIGHT_KM_FRAME
::
RIGHT_KM_FRAME
(
WinEDA_MainFrame
*
parent
)
:
wxSashLayoutWindow
(
parent
,
wxID_ANY
)
wxSashLayoutWindow
(
parent
,
wxID_ANY
)
...
@@ -82,7 +82,7 @@ void RIGHT_KM_FRAME::CreateCommandToolbar( void )
...
@@ -82,7 +82,7 @@ void RIGHT_KM_FRAME::CreateCommandToolbar( void )
btn
=
AddBitmapButton
(
ID_TO_GERBVIEW
,
wxBitmap
(
icon_gerbview_xpm
)
);
btn
=
AddBitmapButton
(
ID_TO_GERBVIEW
,
wxBitmap
(
icon_gerbview_xpm
)
);
btn
->
SetToolTip
(
_
(
"GerbView (Gerber viewer)"
)
);
btn
->
SetToolTip
(
_
(
"GerbView (Gerber viewer)"
)
);
btn
=
AddBitmapButton
(
ID_TO_BITMAP_CONVERTER
,
wxBitmap
(
bitmap2component_
16x16_
xpm
)
);
btn
=
AddBitmapButton
(
ID_TO_BITMAP_CONVERTER
,
wxBitmap
(
bitmap2component_xpm
)
);
btn
->
SetToolTip
(
_
(
"Bitmap2Component (a tool to build a logo from a bitmap)
\n
\
btn
->
SetToolTip
(
_
(
"Bitmap2Component (a tool to build a logo from a bitmap)
\n
\
Creates a component (for Eeschema) or a footprint (for Pcbnew) that shows a B&W picture"
)
);
Creates a component (for Eeschema) or a footprint (for Pcbnew) that shows a B&W picture"
)
);
}
}
...
...
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