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
813d303c
Commit
813d303c
authored
Nov 10, 2007
by
CHARRAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove eeconfig.h error, and wxWidget version dependent trivial compile warning
parent
abd7e400
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
315 additions
and
308 deletions
+315
-308
eeconfig.h
eeschema/eeconfig.h
+293
-293
netlist.h
eeschema/netlist.h
+21
-14
zones.cpp
pcbnew/zones.cpp
+1
-1
No files found.
eeschema/eeconfig.h
View file @
813d303c
This diff is collapsed.
Click to expand it.
eeschema/netlist.h
View file @
813d303c
...
...
@@ -13,7 +13,7 @@
#define ISBUS 1
#define CUSTOMPANEL_COUNTMAX 8 // Max number of netlist plugins
/* Id to select netlist type */
typedef
enum
{
NET_TYPE_UNINIT
=
0
,
...
...
@@ -21,8 +21,13 @@ typedef enum {
NET_TYPE_ORCADPCB2
,
NET_TYPE_CADSTAR
,
NET_TYPE_SPICE
,
NET_TYPE_CUSTOM1
// NET_TYPE_CUSTOM1 is the first id for user netlist format
}
TypeNetForm
;
NET_TYPE_CUSTOM1
,
/* NET_TYPE_CUSTOM1
* is the first id for user netlist format
* NET_TYPE_CUSTOM1+CUSTOMPANEL_COUNTMAX-1
* is the last id for user netlist format
*/
NET_TYPE_CUSTOM_MAX
=
NET_TYPE_CUSTOM1
+
CUSTOMPANEL_COUNTMAX
-
1
}
TypeNetForm
;
/* Max pin number per component and footprint */
...
...
@@ -44,10 +49,10 @@ enum NetObjetType { /* Type des objets de Net */
};
enum
IsConnectType
{
/* Valeur du Flag de connection */
UNCONNECT
,
/* Pin ou Label non connecte */
NOCONNECT
,
/* Pin volontairement non connectee (Symb. NoConnect utilise) */
CONNECT
/* connexion normale */
enum
IsConnectType
{
/* Valeur du Flag de connection */
UNCONNECT
,
/* Pin ou Label non connecte */
NOCONNECT
,
/* Pin volontairement non connectee (Symb. NoConnect utilise) */
CONNECT
/* connexion normale */
};
...
...
@@ -62,9 +67,9 @@ public:
SCH_SCREEN
*
m_Screen
;
/* Ecran d'appartenance */
NetObjetType
m_Type
;
int
m_ElectricalType
;
/* Pour Pins et sheet labels: type electrique */
private
:
private
:
int
m_NetCode
;
/* pour elements simples */
public
:
public
:
int
m_BusNetCode
;
/* pour connexions type bus */
int
m_Member
;
/* pour les labels type BUSWIRE ( labels de bus eclate )
* numero de membre */
...
...
@@ -75,8 +80,9 @@ public:
const
wxString
*
m_Label
;
/* Tous types Labels:pointeur sur la wxString definissant le label */
wxPoint
m_Start
,
m_End
;
#if defined(DEBUG)
#if defined
(DEBUG)
void
Show
(
std
::
ostream
&
out
,
int
ndx
);
#endif
void
SetNet
(
int
aNetCode
)
{
m_NetCode
=
aNetCode
;
}
...
...
@@ -108,8 +114,10 @@ eda_global int g_NbrObjNet;
eda_global
ObjetNetListStruct
*
g_TabObjNet
;
/* Prototypes: */
void
WriteNetList
(
WinEDA_SchematicFrame
*
frame
,
const
wxString
&
FileNameNL
,
bool
use_netnames
);
void
FreeTabNetList
(
ObjetNetListStruct
*
TabNetItems
,
int
NbrNetItems
);
void
WriteNetList
(
WinEDA_SchematicFrame
*
frame
,
const
wxString
&
FileNameNL
,
bool
use_netnames
);
void
FreeTabNetList
(
ObjetNetListStruct
*
TabNetItems
,
int
NbrNetItems
);
/** Function ReturnUserNetlistTypeName
* to retrieve user netlist type names
...
...
@@ -118,8 +126,7 @@ void FreeTabNetList( ObjetNetListStruct* TabNetItems, int NbrNetItems );
* this function must be called first with "first_item" = true
* and after with "first_item" = false to get all the other existing netlist names
*/
#define CUSTOMPANEL_COUNTMAX 8 // Max number of netlist plugins
wxString
ReturnUserNetlistTypeName
(
bool
first_item
);
wxString
ReturnUserNetlistTypeName
(
bool
first_item
);
#endif
pcbnew/zones.cpp
View file @
813d303c
...
...
@@ -249,7 +249,7 @@ void WinEDA_ZoneFrame::CreateControls()
static
const
int
GridList
[
4
]
=
{
50
,
100
,
250
,
500
};
int
selection
=
0
;
for
(
int
ii
=
0
;
ii
<
m_GridCtrl
->
GetCount
();
ii
++
)
for
(
unsigned
ii
=
0
;
ii
<
(
unsigned
)
m_GridCtrl
->
GetCount
();
ii
++
)
{
wxString
msg
=
ReturnStringFromValue
(
g_UnitMetric
,
GridList
[
ii
],
...
...
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