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
cbb714f9
Commit
cbb714f9
authored
Nov 10, 2007
by
CHARRAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More comprehensive dialog in netlist plugin interface. Some cleanup
parent
89a872b8
Changes
9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1076 additions
and
1890 deletions
+1076
-1890
change_log.txt
change_log.txt
+7
-0
dialog_eeschema_config.cpp
eeschema/dialog_eeschema_config.cpp
+58
-68
dialog_eeschema_config.h
eeschema/dialog_eeschema_config.h
+8
-8
dialog_eeschema_config.pjd
eeschema/dialog_eeschema_config.pjd
+530
-345
dialog_set_status.pjd
eeschema/dialog_set_status.pjd
+0
-1175
dialog_set_status.rc
eeschema/dialog_set_status.rc
+0
-1
netform.cpp
eeschema/netform.cpp
+3
-14
netlist.h
eeschema/netlist.h
+14
-12
netlist_control.cpp
eeschema/netlist_control.cpp
+456
-267
No files found.
change_log.txt
View file @
cbb714f9
...
...
@@ -4,6 +4,13 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with
email address.
2007-Nov-10 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+eeschema:
More comprehensive dialog in netlist plugin interface.
Eeschema configuration now shows the plugin netlist list
2007-Nov-09 UPDATE Geoff Harland <gharlandau@yahoo.com.au>
================================================================================
+ 3d-viewer
...
...
eeschema/dialog_eeschema_config.cpp
View file @
cbb714f9
This diff is collapsed.
Click to expand it.
eeschema/dialog_eeschema_config.h
View file @
cbb714f9
...
...
@@ -40,10 +40,10 @@
#define ID_DIALOG 10000
#define SAVE_CFG 10001
#define FORMAT_NETLIST 10006
#define
DEL_LIB 10002
#define ADD_LIB 100
03
#define INSERT_LIB 100
04
#define ID_LIST
_LIBS 10005
#define
REMOVE_LIB 10009
#define ADD_LIB 100
10
#define INSERT_LIB 100
11
#define ID_LIST
BOX 10012
#define ID_TEXTCTRL 10007
#define ID_LIB_PATH_SEL 10008
#define SYMBOL_KICONFIGEESCHEMAFRAME_STYLE wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|MAYBE_RESIZE_BORDER
...
...
@@ -89,11 +89,11 @@ public:
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for SAVE_CFG
void
OnSaveCfgClick
(
wxCommandEvent
&
event
);
/// wxEVT_COMMAND_
RADIO
BOX_SELECTED event handler for FORMAT_NETLIST
/// wxEVT_COMMAND_
LIST
BOX_SELECTED event handler for FORMAT_NETLIST
void
OnFormatNetlistSelected
(
wxCommandEvent
&
event
);
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for
DEL
_LIB
void
On
Del
LibClick
(
wxCommandEvent
&
event
);
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for
REMOVE
_LIB
void
On
Remove
LibClick
(
wxCommandEvent
&
event
);
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for ADD_LIB
void
OnAddLibClick
(
wxCommandEvent
&
event
);
...
...
@@ -124,7 +124,7 @@ public:
void
ChangeSetup
();
////@begin KiConfigEeschemaFrame member variables
wx
Radio
Box
*
m_NetFormatBox
;
wx
List
Box
*
m_NetFormatBox
;
wxStaticBoxSizer
*
m_FileExtList
;
wxListBox
*
m_ListLibr
;
wxTextCtrl
*
m_LibDirCtrl
;
...
...
eeschema/dialog_eeschema_config.pjd
View file @
cbb714f9
This diff is collapsed.
Click to expand it.
eeschema/dialog_set_status.pjd
deleted
100644 → 0
View file @
89a872b8
This diff is collapsed.
Click to expand it.
eeschema/dialog_set_status.rc
deleted
100644 → 0
View file @
89a872b8
#include "wx/msw/wx.rc"
eeschema/netform.cpp
View file @
cbb714f9
...
...
@@ -82,19 +82,8 @@ void WriteNetList( WinEDA_SchematicFrame* frame, const wxString& FileNameNL,
fclose
(
f
);
break
;
case
NET_TYPE_CUSTOM1
:
case
NET_TYPE_CUSTOM2
:
case
NET_TYPE_CUSTOM3
:
case
NET_TYPE_CUSTOM4
:
case
NET_TYPE_CUSTOM5
:
case
NET_TYPE_CUSTOM6
:
case
NET_TYPE_CUSTOM7
:
case
NET_TYPE_CUSTOM8
:
Write_GENERIC_NetList
(
frame
,
FileNameNL
);
break
;
default
:
DisplayError
(
frame
,
wxT
(
"WriteNetList() err: Unknown Netlist Format"
)
);
Write_GENERIC_NetList
(
frame
,
FileNameNL
);
break
;
}
}
...
...
eeschema/netlist.h
View file @
cbb714f9
...
...
@@ -14,23 +14,15 @@
#define ISBUS 1
/* I
ndicateurs de type de netliste genere
e */
/* I
d to select netlist typ
e */
typedef
enum
{
NET_TYPE_
NOT_
INIT
=
0
,
NET_TYPE_
UN
INIT
=
0
,
NET_TYPE_PCBNEW
,
NET_TYPE_ORCADPCB2
,
NET_TYPE_CADSTAR
,
NET_TYPE_SPICE
,
NET_TYPE_CUSTOM1
,
NET_TYPE_CUSTOM2
,
NET_TYPE_CUSTOM3
,
NET_TYPE_CUSTOM4
,
NET_TYPE_CUSTOM5
,
NET_TYPE_CUSTOM6
,
NET_TYPE_CUSTOM7
,
NET_TYPE_CUSTOM8
,
NET_TYPE_MAX
}
TypeNetForm
;
NET_TYPE_CUSTOM1
// NET_TYPE_CUSTOM1 is the first id for user netlist format
}
TypeNetForm
;
/* Max pin number per component and footprint */
...
...
@@ -119,5 +111,15 @@ eda_global ObjetNetListStruct* g_TabObjNet;
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
* @param first = true: return first name of the list, false = return next
* @return a wxString : name of the type netlist or empty string
* 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
);
#endif
eeschema/netlist_control.cpp
View file @
cbb714f9
This diff is collapsed.
Click to expand it.
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