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
6ab5ad27
Commit
6ab5ad27
authored
Jan 28, 2008
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wayne Stambaugh's patch which allows infospgm.cpp to be compiled once rather than for each program
parent
eaa147c1
Changes
20
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
49 additions
and
48 deletions
+49
-48
CMakeLists.txt
CMakeLists.txt
+5
-1
CMakeLists.txt
common/CMakeLists.txt
+2
-1
basicframe.cpp
common/basicframe.cpp
+1
-1
pyhandler.cpp
common/pyhandler.cpp
+7
-7
CMakeLists.txt
cvpcb/CMakeLists.txt
+0
-1
cvframe.cpp
cvpcb/cvframe.cpp
+1
-0
CMakeLists.txt
eeschema/CMakeLists.txt
+0
-1
schframe.cpp
eeschema/schframe.cpp
+1
-0
CMakeLists.txt
gerbview/CMakeLists.txt
+1
-2
gerberframe.cpp
gerbview/gerberframe.cpp
+1
-1
common.h
include/common.h
+7
-1
wxstruct.h
include/wxstruct.h
+1
-0
CMakeLists.txt
kicad/CMakeLists.txt
+0
-3
kicad.cpp
kicad/kicad.cpp
+2
-2
mainframe.cpp
kicad/mainframe.cpp
+1
-1
CMakeLists.txt
kicad/minizip/CMakeLists.txt
+4
-1
CMakeLists.txt
pcbnew/CMakeLists.txt
+1
-2
pcbframe.cpp
pcbnew/pcbframe.cpp
+1
-0
specctra.h
pcbnew/specctra.h
+3
-0
infospgm.cpp
share/infospgm.cpp
+10
-23
No files found.
CMakeLists.txt
View file @
6ab5ad27
...
@@ -25,8 +25,12 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6 FATAL_ERROR)
...
@@ -25,8 +25,12 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6 FATAL_ERROR)
# Path to local CMake modules
# Path to local CMake modules
SET
(
CMAKE_MODULE_PATH
${
PROJECT_SOURCE_DIR
}
/CMakeModules
)
SET
(
CMAKE_MODULE_PATH
${
PROJECT_SOURCE_DIR
}
/CMakeModules
)
# Command line option to enable or disable building minizip. Minizip
# is building is enabled by defaut. Use -DKICAD_MINZIP=OFF to disable
# building minizip.
OPTION
(
KICAD_MINIZIP
"enable/disable building minizip (default ON)"
ON
)
# Comment this out if you don't want to build minizip.
# Comment this out if you don't want to build minizip.
SET
(
KICAD_MINIZIP ON CACHE BOOL
"Build minizip?"
)
#
SET(KICAD_MINIZIP ON CACHE BOOL "Build minizip?")
# Comment this out if you don't want to build with Python support.
# Comment this out if you don't want to build with Python support.
# SET(KICAD_PYTHON ON CACHE BOOL "Build with Python support?")
# SET(KICAD_PYTHON ON CACHE BOOL "Build with Python support?")
...
...
common/CMakeLists.txt
View file @
6ab5ad27
...
@@ -31,6 +31,7 @@ SET(COMMON_SRCS
...
@@ -31,6 +31,7 @@ SET(COMMON_SRCS
toolbars.cpp
toolbars.cpp
trigo.cpp
trigo.cpp
worksheet.cpp
worksheet.cpp
wxwineda.cpp
)
wxwineda.cpp
../share/infospgm.cpp
)
ADD_LIBRARY
(
common
${
COMMON_SRCS
}
)
ADD_LIBRARY
(
common
${
COMMON_SRCS
}
)
common/basicframe.cpp
View file @
6ab5ad27
...
@@ -222,7 +222,7 @@ void WinEDA_BasicFrame::GetKicadHelp(wxCommandEvent& event)
...
@@ -222,7 +222,7 @@ void WinEDA_BasicFrame::GetKicadHelp(wxCommandEvent& event)
void
WinEDA_BasicFrame
::
GetKicadAbout
(
wxCommandEvent
&
event
)
void
WinEDA_BasicFrame
::
GetKicadAbout
(
wxCommandEvent
&
event
)
/**********************************************************/
/**********************************************************/
{
{
Print_Kicad_Infos
(
this
);
Print_Kicad_Infos
(
this
,
m_AboutTitle
);
}
}
/********************************************************************/
/********************************************************************/
...
...
common/pyhandler.cpp
View file @
6ab5ad27
...
@@ -140,7 +140,7 @@ void PyHandler::DoInitModules()
...
@@ -140,7 +140,7 @@ void PyHandler::DoInitModules()
for
(
unsigned
int
i
=
0
;
i
<
m_ModuleRegistry
.
size
();
i
++
)
for
(
unsigned
int
i
=
0
;
i
<
m_ModuleRegistry
.
size
();
i
++
)
{
{
detail
::
init_module
(
m_ModuleRegistry
[
i
].
name
.
fn
_str
(),
&
InitPyModules
);
detail
::
init_module
(
m_ModuleRegistry
[
i
].
name
.
mb
_str
(),
&
InitPyModules
);
}
}
}
}
...
@@ -244,14 +244,14 @@ bool PyHandler::RunScript( const wxString & name )
...
@@ -244,14 +244,14 @@ bool PyHandler::RunScript( const wxString & name )
object
ns
=
module
.
attr
(
"__dict__"
);
object
ns
=
module
.
attr
(
"__dict__"
);
bool
ret
=
true
;
bool
ret
=
true
;
FILE
*
file
=
fopen
(
name
.
fn
_str
(),
"r"
);
FILE
*
file
=
fopen
(
name
.
mb
_str
(),
"r"
);
wxPyBlock_t
blocked
=
wxPyBeginBlockThreads
();
wxPyBlock_t
blocked
=
wxPyBeginBlockThreads
();
if
(
!
file
)
if
(
!
file
)
{
{
// do something
// do something
std
::
cout
<<
"Unable to Load "
<<
name
.
fn
_str
()
<<
"
\n
"
;
std
::
cout
<<
"Unable to Load "
<<
name
.
mb
_str
()
<<
"
\n
"
;
ret
=
false
;
ret
=
false
;
}
}
else
else
...
@@ -265,7 +265,7 @@ bool PyHandler::RunScript( const wxString & name )
...
@@ -265,7 +265,7 @@ bool PyHandler::RunScript( const wxString & name )
try
try
{
{
ns
[
"currentScript"
]
=
Convert
(
name
);
ns
[
"currentScript"
]
=
Convert
(
name
);
handle
<>
ignored
(
PyRun_File
(
file
,
name
.
fn
_str
(),
Py_file_input
,
ns
.
ptr
(),
ns
.
ptr
()
)
);
handle
<>
ignored
(
PyRun_File
(
file
,
name
.
mb
_str
(),
Py_file_input
,
ns
.
ptr
(),
ns
.
ptr
()
)
);
}
}
catch
(
error_already_set
)
catch
(
error_already_set
)
{
{
...
@@ -286,7 +286,7 @@ bool PyHandler::RunSimpleString( const wxString & code )
...
@@ -286,7 +286,7 @@ bool PyHandler::RunSimpleString( const wxString & code )
wxPyBlock_t
blocked
=
wxPyBeginBlockThreads
();
wxPyBlock_t
blocked
=
wxPyBeginBlockThreads
();
try
try
{
{
PyRun_SimpleString
(
code
.
fn
_str
()
);
PyRun_SimpleString
(
code
.
mb
_str
()
);
}
}
catch
(
error_already_set
)
catch
(
error_already_set
)
{
{
...
@@ -346,7 +346,7 @@ void PyHandler::TriggerEvent( const wxString & key, const object & param )
...
@@ -346,7 +346,7 @@ void PyHandler::TriggerEvent( const wxString & key, const object & param )
}
}
catch
(
error_already_set
)
catch
(
error_already_set
)
{
{
std
::
cout
<<
"Error in event "
<<
key
.
fn
_str
()
<<
" callback"
<<
std
::
endl
;
std
::
cout
<<
"Error in event "
<<
key
.
mb
_str
()
<<
" callback"
<<
std
::
endl
;
PyErr_Print
();
PyErr_Print
();
}
}
}
}
...
@@ -378,6 +378,6 @@ void PyHandler::UnRegisterCallback( const wxString & key, const object & callbac
...
@@ -378,6 +378,6 @@ void PyHandler::UnRegisterCallback( const wxString & key, const object & callbac
wxString
PyHandler
::
MakeStr
(
const
object
&
objStr
)
{
return
wxString
(
extract
<
const
char
*>
(
objStr
),
wxConvLocal
);
}
wxString
PyHandler
::
MakeStr
(
const
object
&
objStr
)
{
return
wxString
(
extract
<
const
char
*>
(
objStr
),
wxConvLocal
);
}
object
PyHandler
::
Convert
(
const
wxString
&
wxStr
)
{
return
str
(
std
::
string
(
wxStr
.
fn
_str
()
).
c_str
()
);
}
object
PyHandler
::
Convert
(
const
wxString
&
wxStr
)
{
return
str
(
std
::
string
(
wxStr
.
mb
_str
()
).
c_str
()
);
}
// vim: set tabstop=4 :
// vim: set tabstop=4 :
cvpcb/CMakeLists.txt
View file @
6ab5ad27
...
@@ -54,7 +54,6 @@ SET(CVPCB_EXTRA_SRCS
...
@@ -54,7 +54,6 @@ SET(CVPCB_EXTRA_SRCS
../share/drawframe.cpp
../share/drawframe.cpp
../share/drawpanel.cpp
../share/drawpanel.cpp
../share/infospgm.cpp
../share/zoom.cpp
)
../share/zoom.cpp
)
IF
(
WIN32
)
IF
(
WIN32
)
...
...
cvpcb/cvframe.cpp
View file @
6ab5ad27
...
@@ -25,6 +25,7 @@ WinEDA_CvpcbFrame::WinEDA_CvpcbFrame( WinEDA_App* parent, const wxString& title,
...
@@ -25,6 +25,7 @@ WinEDA_CvpcbFrame::WinEDA_CvpcbFrame( WinEDA_App* parent, const wxString& title,
WinEDA_BasicFrame
(
NULL
,
CVPCB_FRAME
,
parent
,
title
,
wxDefaultPosition
,
wxDefaultSize
,
style
)
WinEDA_BasicFrame
(
NULL
,
CVPCB_FRAME
,
parent
,
title
,
wxDefaultPosition
,
wxDefaultSize
,
style
)
{
{
m_FrameName
=
wxT
(
"CvpcbFrame"
);
m_FrameName
=
wxT
(
"CvpcbFrame"
);
m_AboutTitle
=
g_CvpcbAboutTitle
;
m_ListCmp
=
NULL
;
m_ListCmp
=
NULL
;
m_FootprintList
=
NULL
;
m_FootprintList
=
NULL
;
DrawFrame
=
NULL
;
DrawFrame
=
NULL
;
...
...
eeschema/CMakeLists.txt
View file @
6ab5ad27
...
@@ -97,7 +97,6 @@ SET(EESCHEMA_SRCS
...
@@ -97,7 +97,6 @@ SET(EESCHEMA_SRCS
SET
(
EESCHEMA_EXTRA_SRCS
SET
(
EESCHEMA_EXTRA_SRCS
../share/drawframe.cpp
../share/drawframe.cpp
../share/drawpanel.cpp
../share/drawpanel.cpp
../share/infospgm.cpp
../share/setpage.cpp
../share/setpage.cpp
../share/svg_print.cpp
../share/svg_print.cpp
../share/wxprint.cpp
../share/wxprint.cpp
...
...
eeschema/schframe.cpp
View file @
6ab5ad27
...
@@ -120,6 +120,7 @@ WinEDA_SchematicFrame:: WinEDA_SchematicFrame(wxWindow * father, WinEDA_App *par
...
@@ -120,6 +120,7 @@ WinEDA_SchematicFrame:: WinEDA_SchematicFrame(wxWindow * father, WinEDA_App *par
WinEDA_DrawFrame
(
father
,
SCHEMATIC_FRAME
,
parent
,
title
,
pos
,
size
,
style
)
WinEDA_DrawFrame
(
father
,
SCHEMATIC_FRAME
,
parent
,
title
,
pos
,
size
,
style
)
{
{
m_FrameName
=
wxT
(
"SchematicFrame"
);
m_FrameName
=
wxT
(
"SchematicFrame"
);
m_AboutTitle
=
g_EeschemaAboutTitle
;
m_Draw_Axis
=
FALSE
;
// TRUE to show axis
m_Draw_Axis
=
FALSE
;
// TRUE to show axis
m_Draw_Grid
=
g_ShowGrid
;
// TRUE to show a grid
m_Draw_Grid
=
g_ShowGrid
;
// TRUE to show a grid
m_Draw_Sheet_Ref
=
TRUE
;
// TRUE to show sheet references
m_Draw_Sheet_Ref
=
TRUE
;
// TRUE to show sheet references
...
...
gerbview/CMakeLists.txt
View file @
6ab5ad27
...
@@ -54,7 +54,6 @@ SET(GERBVIEW_EXTRA_SRCS
...
@@ -54,7 +54,6 @@ SET(GERBVIEW_EXTRA_SRCS
../share/drawframe.cpp
../share/drawframe.cpp
../share/drawpanel.cpp
../share/drawpanel.cpp
../share/infospgm.cpp
../share/setpage.cpp
../share/setpage.cpp
../share/wxprint.cpp
../share/wxprint.cpp
../share/zoom.cpp
)
../share/zoom.cpp
)
...
...
gerbview/gerberframe.cpp
View file @
6ab5ad27
...
@@ -128,6 +128,7 @@ WinEDA_GerberFrame::WinEDA_GerberFrame(wxWindow * father, WinEDA_App *parent,
...
@@ -128,6 +128,7 @@ WinEDA_GerberFrame::WinEDA_GerberFrame(wxWindow * father, WinEDA_App *parent,
WinEDA_BasePcbFrame
(
father
,
parent
,
GERBER_FRAME
,
title
,
pos
,
size
,
style
)
WinEDA_BasePcbFrame
(
father
,
parent
,
GERBER_FRAME
,
title
,
pos
,
size
,
style
)
{
{
m_FrameName
=
wxT
(
"GerberFrame"
);
m_FrameName
=
wxT
(
"GerberFrame"
);
m_AboutTitle
=
g_GerbviewAboutTitle
;
m_Draw_Axis
=
TRUE
;
// TRUE pour avoir les axes dessines
m_Draw_Axis
=
TRUE
;
// TRUE pour avoir les axes dessines
m_Draw_Grid
=
TRUE
;
// TRUE pour avoir la axes dessinee
m_Draw_Grid
=
TRUE
;
// TRUE pour avoir la axes dessinee
m_Draw_Sheet_Ref
=
FALSE
;
// TRUE pour avoir le cartouche dessin
m_Draw_Sheet_Ref
=
FALSE
;
// TRUE pour avoir le cartouche dessin
...
@@ -313,4 +314,3 @@ wxSize size;
...
@@ -313,4 +314,3 @@ wxSize size;
return
(
bestzoom
);
return
(
bestzoom
);
}
}
include/common.h
View file @
6ab5ad27
...
@@ -554,7 +554,13 @@ char* to_point( char* Text );
...
@@ -554,7 +554,13 @@ char* to_point( char* Text );
/****************/
/****************/
/* infospgm.cpp */
/* infospgm.cpp */
/****************/
/****************/
void
Print_Kicad_Infos
(
wxWindow
*
frame
);
extern
wxString
g_KicadAboutTitle
;
extern
wxString
g_CvpcbAboutTitle
;
extern
wxString
g_EeschemaAboutTitle
;
extern
wxString
g_PcbnewAboutTitle
;
extern
wxString
g_GerbviewAboutTitle
;
void
Print_Kicad_Infos
(
wxWindow
*
frame
,
const
wxString
&
title
);
/**************/
/**************/
/* common.cpp */
/* common.cpp */
...
...
include/wxstruct.h
View file @
6ab5ad27
...
@@ -146,6 +146,7 @@ public:
...
@@ -146,6 +146,7 @@ public:
bool
m_FrameIsActive
;
bool
m_FrameIsActive
;
wxString
m_FrameName
;
// name used for writting and reading setup
wxString
m_FrameName
;
// name used for writting and reading setup
// It is "SchematicFrame", "PcbFrame" ....
// It is "SchematicFrame", "PcbFrame" ....
wxString
m_AboutTitle
;
// Name of program displayed in About.
public
:
public
:
...
...
kicad/CMakeLists.txt
View file @
6ab5ad27
...
@@ -13,9 +13,6 @@ SET(KICAD_SRCS
...
@@ -13,9 +13,6 @@ SET(KICAD_SRCS
treeprj_datas.cpp
treeprj_datas.cpp
treeprj_frame.cpp
)
treeprj_frame.cpp
)
SET
(
KICAD_EXTRA_SRCS
../share/infospgm.cpp
)
IF
(
WIN32
)
IF
(
WIN32
)
IF
(
MINGW
)
IF
(
MINGW
)
# resource compilation for mingw (http://www.cmake.org/Bug/view.php?id=4068)
# resource compilation for mingw (http://www.cmake.org/Bug/view.php?id=4068)
...
...
kicad/kicad.cpp
View file @
6ab5ad27
...
@@ -63,8 +63,8 @@ WinEDA_PrjFrame* WinEDA_MainFrame::GetTree() const { return m_LeftWin;
...
@@ -63,8 +63,8 @@ WinEDA_PrjFrame* WinEDA_MainFrame::GetTree() const { return m_LeftWin;
void
WinEDA_MainFrame
::
AddFastLaunchPy
(
object
&
button
)
void
WinEDA_MainFrame
::
AddFastLaunchPy
(
object
&
button
)
{
{
wxButton
*
btn
;
wxB
itmapB
utton
*
btn
;
bool
success
=
wxPyConvertSwigPtr
(
button
.
ptr
(),
(
void
**
)
&
btn
,
_T
(
"wxButton"
));
bool
success
=
wxPyConvertSwigPtr
(
button
.
ptr
(),
(
void
**
)
&
btn
,
_T
(
"wxB
itmapB
utton"
));
if
(
!
success
)
return
;
if
(
!
success
)
return
;
Py_INCREF
(
button
.
ptr
()
);
Py_INCREF
(
button
.
ptr
()
);
...
...
kicad/mainframe.cpp
View file @
6ab5ad27
...
@@ -34,6 +34,7 @@ WinEDA_MainFrame::WinEDA_MainFrame( WinEDA_App* eda_app,
...
@@ -34,6 +34,7 @@ WinEDA_MainFrame::WinEDA_MainFrame( WinEDA_App* eda_app,
wxSize
clientsize
;
wxSize
clientsize
;
m_FrameName
=
wxT
(
"KicadFrame"
);
m_FrameName
=
wxT
(
"KicadFrame"
);
m_AboutTitle
=
g_KicadAboutTitle
;
m_VToolBar
=
NULL
;
m_VToolBar
=
NULL
;
m_LeftWin
=
NULL
;
m_LeftWin
=
NULL
;
m_BottomWin
=
NULL
;
m_BottomWin
=
NULL
;
...
@@ -393,7 +394,6 @@ void WinEDA_MainFrame::ClearMsg()
...
@@ -393,7 +394,6 @@ void WinEDA_MainFrame::ClearMsg()
m_DialogWin
->
Clear
();
m_DialogWin
->
Clear
();
}
}
#ifdef KICAD_PYTHON
#ifdef KICAD_PYTHON
void
WinEDA_MainFrame
::
OnRefreshPy
()
void
WinEDA_MainFrame
::
OnRefreshPy
()
{
{
...
...
kicad/minizip/CMakeLists.txt
View file @
6ab5ad27
...
@@ -3,7 +3,10 @@ IF(ZLIB_FOUND)
...
@@ -3,7 +3,10 @@ IF(ZLIB_FOUND)
MESSAGE
(
STATUS
"Check for installed ZLIB -- found"
)
MESSAGE
(
STATUS
"Check for installed ZLIB -- found"
)
ELSE
(
ZLIB_FOUND
)
ELSE
(
ZLIB_FOUND
)
MESSAGE
(
STATUS
"Check for installed zlib -- not found"
)
MESSAGE
(
STATUS
"Check for installed zlib -- not found"
)
MESSAGE
(
FATAL_ERROR
"zlib was not found - it is required to build KiCad"
)
IF
(
NOT MINGW
)
MESSAGE
(
FATAL_ERROR
"zlib was not found - it is required to build KiCad"
)
ENDIF
(
NOT MINGW
)
ENDIF
(
ZLIB_FOUND
)
ENDIF
(
ZLIB_FOUND
)
SET
(
MINIZIP_SRCS
SET
(
MINIZIP_SRCS
...
...
pcbnew/CMakeLists.txt
View file @
6ab5ad27
...
@@ -4,7 +4,7 @@ FIND_PACKAGE(Boost)
...
@@ -4,7 +4,7 @@ FIND_PACKAGE(Boost)
INCLUDE_DIRECTORIES
(
INCLUDE_DIRECTORIES
(
${
CMAKE_CURRENT_SOURCE_DIR
}
${
CMAKE_CURRENT_SOURCE_DIR
}
${
Boost_INCLUDE_DIR
S
}
${
Boost_INCLUDE_DIR
}
bitmaps
bitmaps
../3d-viewer
../3d-viewer
../polygon
)
../polygon
)
...
@@ -145,7 +145,6 @@ SET(PCBNEW_SRCS
...
@@ -145,7 +145,6 @@ SET(PCBNEW_SRCS
SET
(
PCBNEW_EXTRA_SRCS
SET
(
PCBNEW_EXTRA_SRCS
../share/drawframe.cpp
../share/drawframe.cpp
../share/drawpanel.cpp
../share/drawpanel.cpp
../share/infospgm.cpp
../share/setpage.cpp
../share/setpage.cpp
../share/wxprint.cpp
../share/wxprint.cpp
../share/zoom.cpp
)
../share/zoom.cpp
)
...
...
pcbnew/pcbframe.cpp
View file @
6ab5ad27
...
@@ -183,6 +183,7 @@ WinEDA_PcbFrame::WinEDA_PcbFrame( wxWindow* father, WinEDA_App* parent,
...
@@ -183,6 +183,7 @@ WinEDA_PcbFrame::WinEDA_PcbFrame( wxWindow* father, WinEDA_App* parent,
WinEDA_BasePcbFrame
(
father
,
parent
,
PCB_FRAME
,
title
,
pos
,
size
,
style
)
WinEDA_BasePcbFrame
(
father
,
parent
,
PCB_FRAME
,
title
,
pos
,
size
,
style
)
{
{
m_FrameName
=
wxT
(
"PcbFrame"
);
m_FrameName
=
wxT
(
"PcbFrame"
);
m_AboutTitle
=
g_PcbnewAboutTitle
;
m_Draw_Axis
=
TRUE
;
// TRUE pour avoir les axes dessines
m_Draw_Axis
=
TRUE
;
// TRUE pour avoir les axes dessines
m_Draw_Grid
=
g_ShowGrid
;
// TRUE pour avoir la grille dessinee
m_Draw_Grid
=
g_ShowGrid
;
// TRUE pour avoir la grille dessinee
m_Draw_Sheet_Ref
=
TRUE
;
// TRUE pour avoir le cartouche dessine
m_Draw_Sheet_Ref
=
TRUE
;
// TRUE pour avoir le cartouche dessine
...
...
pcbnew/specctra.h
View file @
6ab5ad27
...
@@ -2422,6 +2422,9 @@ public:
...
@@ -2422,6 +2422,9 @@ public:
class
CONNECT
:
public
ELEM
class
CONNECT
:
public
ELEM
{
{
public
:
CONNECT
(
ELEM
*
parent
)
:
ELEM
(
T_connect
,
parent
)
{}
};
};
...
...
share/infospgm.cpp
View file @
6ab5ad27
...
@@ -14,36 +14,23 @@
...
@@ -14,36 +14,23 @@
// Import:
// Import:
extern
wxString
g_Main_Title
;
extern
wxString
g_Main_Title
;
// Local
/* Program title strings used in about dialog. They are kept hear to make
#ifdef GERBVIEW
* it easy to update the copyright dates. */
static
wxString
MsgInfos
(
wxT
(
"** GERBVIEW (jul 2001 .. 2008) **"
));
wxString
g_KicadAboutTitle
=
wxT
(
"** KICAD (jul 2000 .. 2008) **"
);
#else
wxString
g_CvpcbAboutTitle
=
wxT
(
"** CVPCB (sept 1992 .. 2008) **"
);
#ifdef PCBNEW
wxString
g_EeschemaAboutTitle
=
wxT
(
"** EESCHEMA (sept 1994 .. 2008) **"
);
static
wxString
MsgInfos
(
wxT
(
"** PCBNEW (sept 1992 .. 2008) **"
));
wxString
g_PcbnewAboutTitle
=
wxT
(
"** PCBNEW (sept 1992 .. 2008) **"
);
#endif
wxString
g_GerbviewAboutTitle
=
wxT
(
"** GERBVIEW (jul 2001 .. 2008) **"
);
#endif
#ifdef CVPCB
static
wxString
MsgInfos
(
wxT
(
"** CVPCB (sept 1992 .. 2008) **"
));
#endif
#ifdef KICAD
static
wxString
MsgInfos
(
wxT
(
"** KICAD (jul 2000 .. 2008) **"
));
#endif
#ifdef EESCHEMA
static
wxString
MsgInfos
(
wxT
(
"** EESCHEMA (sept 1994 .. 2008) **"
));
#endif
// Routines Locales
// Routines Locales
/*******************************************/
/*******************************************/
void
Print_Kicad_Infos
(
wxWindow
*
frame
)
void
Print_Kicad_Infos
(
wxWindow
*
frame
,
const
wxString
&
title
)
/*******************************************/
/*******************************************/
{
{
wxString
AboutCaption
=
wxT
(
"About "
);
wxString
AboutCaption
=
wxT
(
"About "
);
wxString
Msg
=
title
;
wxString
Msg
=
MsgInfos
;
Msg
<<
wxT
(
"
\n\n
"
)
<<
_
(
"Build Version:"
)
<<
wxT
(
"
\n
"
)
;
Msg
<<
wxT
(
"
\n\n
"
)
<<
_
(
"Build Version:"
)
<<
wxT
(
"
\n
"
)
;
Msg
<<
g_Main_Title
<<
wxT
(
" "
)
<<
GetBuildVersion
();
Msg
<<
g_Main_Title
<<
wxT
(
" "
)
<<
GetBuildVersion
();
...
...
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