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
3a74c74c
Commit
3a74c74c
authored
May 16, 2008
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eschema: Solved: bad update of toolbars (eeschema and libedit). also in kicad: see changelog
parent
388c0287
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
1 deletion
+39
-1
change_log.txt
change_log.txt
+10
-0
controle.cpp
eeschema/controle.cpp
+3
-0
treeprj_frame.cpp
kicad/treeprj_frame.cpp
+26
-1
No files found.
change_log.txt
View file @
3a74c74c
...
...
@@ -5,6 +5,16 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with
email address.
2008-May-16 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+eeschema:
Solved: bad update of toolbars (eeschema and libedit):
undo/redo buttons were not always updated after a change.
+kicad
the project tree now (as earlier) reads subdirs list files when starting
kicad. This feature can be disabled (see treeprj_frame.cpp)
2008-May-15 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+eeschema:
...
...
eeschema/controle.cpp
View file @
3a74c74c
...
...
@@ -341,6 +341,7 @@ void WinEDA_SchematicFrame::GeneralControle( wxDC* DC, wxPoint MousePositionInPi
}
Affiche_Status_Box
();
/* Affichage des coord curseur */
SetToolbars
();
}
...
...
@@ -469,6 +470,7 @@ void WinEDA_LibeditFrame::GeneralControle( wxDC* DC, wxPoint MousePositionInPixe
}
Affiche_Status_Box
();
/* Affichage des coord curseur */
SetToolbars
();
}
/*************************************************************************************/
...
...
@@ -596,4 +598,5 @@ void WinEDA_ViewlibFrame::GeneralControle( wxDC* DC, wxPoint MousePositionInPixe
}
Affiche_Status_Box
();
/* Affichage des coord curseur */
SetToolbars
();
}
kicad/treeprj_frame.cpp
View file @
3a74c74c
...
...
@@ -26,6 +26,9 @@
#include "id.h"
// Comment this if you do no want to load subdirs files in the tree project
// UnComment this to load subdirs files in the tree project
#define ADD_FILES_IN_SUBDIRS
/******************************************************************/
WinEDA_PrjFrame
::
WinEDA_PrjFrame
(
WinEDA_MainFrame
*
parent
,
...
...
@@ -646,6 +649,28 @@ bool WinEDA_PrjFrame::AddFile( const wxString& name, wxTreeItemId& root )
#ifdef KICAD_PYTHON
PyHandler
::
GetInstance
()
->
TriggerEvent
(
wxT
(
"kicad::TreeAddFile"
),
PyHandler
::
Convert
(
name
)
);
#endif
#ifdef ADD_FILES_IN_SUBDIRS
// When enabled This section adds dirs and files found in the subdirs
// in this case AddFile is recursive.
if
(
TREE_DIRECTORY
==
type
)
{
const
wxString
sep
=
wxFileName
().
GetPathSeparator
();
wxDir
dir
(
name
);
wxString
dir_filename
;
if
(
dir
.
GetFirst
(
&
dir_filename
)
)
{
do
{
AddFile
(
name
+
sep
+
dir_filename
,
cellule
);
}
while
(
dir
.
GetNext
(
&
dir_filename
)
);
}
/* Sort filenames by alphabetic order */
m_TreeProject
->
SortChildren
(
cellule
);
}
#endif
return
true
;
}
...
...
@@ -687,7 +712,7 @@ void WinEDA_PrjFrame::ReCreateTreePrj()
ChangeFileNameExt
(
Text
,
wxEmptyString
);
// Add at least a .sc
n
/ .brd if not existing:
// Add at least a .sc
h
/ .brd if not existing:
if
(
!
wxFileExists
(
Text
+
g_SchExtBuffer
)
)
AddFile
(
Text
+
g_SchExtBuffer
,
m_root
);
...
...
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