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
18f22a2b
Commit
18f22a2b
authored
Jul 15, 2008
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup up and update files before stable release
parent
d60e906a
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
26 deletions
+17
-26
3d_draw.cpp
3d-viewer/3d_draw.cpp
+6
-19
3d_frame.cpp
3d-viewer/3d_frame.cpp
+3
-2
CMakeLists.txt
CMakeLists.txt
+3
-0
setvisu.cpp
cvpcb/setvisu.cpp
+1
-1
build_version.h
include/build_version.h
+1
-1
install.nsi
nsis_win_installer/install.nsi
+1
-1
version.txt
version.txt
+2
-2
No files found.
3d-viewer/3d_draw.cpp
View file @
18f22a2b
...
...
@@ -90,8 +90,7 @@ void Pcb3D_GLCanvas::Redraw( bool finish )
/**********************************************/
GLuint
Pcb3D_GLCanvas
::
CreateDrawGL_List
()
/**********************************************/
/* Creation de la liste des elements a afficher
/* Create the draw list items
*/
{
GLuint
gllist
=
glGenLists
(
1
);
...
...
@@ -114,7 +113,7 @@ GLuint Pcb3D_GLCanvas::CreateDrawGL_List()
g_Parm_3D_Visu
.
m_Epoxy_Width
=
epoxy_width
/
2.54
*
1000
*
g_Parm_3D_Visu
.
m_BoardScale
;
/* calcul
de l'altitude de chaque couche
*/
/* calcul
ate z position for each layer
*/
for
(
ii
=
0
;
ii
<
32
;
ii
++
)
{
if
(
ii
<
g_Parm_3D_Visu
.
m_Layers
)
...
...
@@ -456,32 +455,19 @@ void EDGE_MODULE::Draw3D( Pcb3D_GLCanvas* glcanvas )
{
case
S_SEGMENT
:
Draw3D_FilledSegment
(
x
,
-
y
,
fx
,
-
fy
,
w
,
zpos
);
#if 0
s.Printf("Draw FilledSegment: %g, %g, %g, %g, %g, %g\n",x,-y,fx,-fy,w,zpos);
printf( CONV_TO_UTF8( s ) );
#endif
break
;
case
S_CIRCLE
:
Draw3D_CircleSegment
(
x
,
-
y
,
fx
,
-
fy
,
w
,
zpos
);
#if 0
s.Printf("Draw Circle: %g, %g, %g, %g, %g, %g\n",x,-y,fx,-fy,w,zpos);
printf( CONV_TO_UTF8( s ) );
#endif
break
;
case
S_ARC
:
Draw3D_ArcSegment
(
x
,
-
y
,
fx
,
-
fy
,
w
,
zpos
);
#if 0
s.Printf("Draw Arc: %g, %g, %g, %g, %g, %g\n",x,-y,fx,-fy,w,zpos);
printf( CONV_TO_UTF8( s ) );
#endif
break
;
default
:
s
.
Printf
(
wxT
(
"Error: Shape nr %d not implemented!
\n
"
),
m_Shape
);
printf
(
CONV_TO_UTF8
(
s
)
);
break
;
}
}
...
...
@@ -938,9 +924,10 @@ int angle;
glEnd
();
}
/********************************************************/
/********************************************************
***********
/
static
void
Draw3D_CircleSegment
(
double
startx
,
double
starty
,
double
endx
,
double
endy
,
double
width
,
double
zpos
)
/*******************************************************************/
{
int
ii
,
slice
=
36
;
double
x
,
y
,
hole
,
rayon
;
...
...
3d-viewer/3d_frame.cpp
View file @
18f22a2b
...
...
@@ -240,6 +240,7 @@ void WinEDA3D_DrawFrame::Process_Special_Functions( wxCommandEvent& event )
{
case
ID_RELOAD3D_BOARD
:
NewDisplay
();
return
;
break
;
case
ID_ROTATE3D_X_POS
:
...
...
@@ -299,7 +300,7 @@ void WinEDA3D_DrawFrame::Process_Special_Functions( wxCommandEvent& event )
}
m_Canvas
->
DisplayStatus
();
m_Canvas
->
Refresh
(
FALSE
);
m_Canvas
->
Refresh
(
true
);
}
...
...
@@ -310,7 +311,7 @@ void WinEDA3D_DrawFrame::NewDisplay()
m_Canvas
->
ClearLists
();
m_Canvas
->
InitGL
();
m_Canvas
->
DisplayStatus
();
m_Canvas
->
Refresh
(
FALSE
);
m_Canvas
->
Refresh
(
true
);
}
...
...
CMakeLists.txt
View file @
18f22a2b
...
...
@@ -78,8 +78,11 @@ include(${wxWidgets_USE_FILE})
include
(
MinGWResourceCompiler
)
# Automagically create version header file.
# does not work with mingw for me (jpc)
if
(
UNIX
)
include
(
CreateSVNVersionHeader
)
create_svn_version_header
()
endif
(
UNIX
)
# Include paths.
include_directories
(
...
...
cvpcb/setvisu.cpp
View file @
18f22a2b
...
...
@@ -67,7 +67,7 @@ void WinEDA_CvpcbFrame::CreateScreenCmp()
}
else
if
(
!
IsNew
)
{
DrawFrame
->
Re
DrawPanel
();
DrawFrame
->
Re
fresh
();
if
(
DrawFrame
->
m_Draw3DFrame
)
DrawFrame
->
m_Draw3DFrame
->
NewDisplay
();
}
...
...
include/build_version.h
View file @
18f22a2b
...
...
@@ -9,7 +9,7 @@ COMMON_GLOBL wxString g_BuildVersion
# include "config.h"
(
wxT
(
KICAD_SVN_VERSION
))
# else
(
wxT
(
"(20080
622-r1138)
"
))
(
wxT
(
"(20080
715
"
))
# endif
#endif
;
...
...
nsis_win_installer/install.nsi
View file @
18f22a2b
...
...
@@ -17,7 +17,7 @@
; General Product Description Definitions
!define PRODUCT_NAME "KiCad"
!define PRODUCT_VERSION "2008.0
6.22
"
!define PRODUCT_VERSION "2008.0
7.15
"
!define PRODUCT_WEB_SITE "http://iut-tice.ujf-grenoble.fr/kicad/"
!define SOURCEFORGE_WEB_SITE "http://kicad.sourceforge.net/"
!define COMPANY_NAME ""
...
...
version.txt
View file @
18f22a2b
release version:
01 feb
2008
15 juil
2008
files (.zip,.tgz):
kicad-2007-0
2-01
kicad-2007-0
7-15
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