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
070b12d5
Commit
070b12d5
authored
Oct 26, 2008
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code cleaning
parent
f08e6546
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
660 additions
and
1296 deletions
+660
-1296
3d_aux.cpp
3d-viewer/3d_aux.cpp
+0
-1
3d_frame.cpp
3d-viewer/3d_frame.cpp
+5
-17
3d_toolbar.cpp
3d-viewer/3d_toolbar.cpp
+0
-5
3d_viewer.h
3d-viewer/3d_viewer.h
+1
-2
id.h
include/id.h
+1
-1
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+653
-1270
No files found.
3d-viewer/3d_aux.cpp
View file @
070b12d5
...
...
@@ -174,7 +174,6 @@ Info_3D_Visu::Info_3D_Visu()
m_BoardSettings
=
NULL
;
m_Draw3DAxis
=
TRUE
;
m_Draw3DModule
=
TRUE
;
m_Draw3DPlace
=
TRUE
;
m_Draw3DZone
=
TRUE
;
m_Draw3DComments
=
TRUE
;
m_Draw3DDrawings
=
TRUE
;
...
...
3d-viewer/3d_frame.cpp
View file @
070b12d5
...
...
@@ -301,10 +301,6 @@ void WinEDA3D_DrawFrame::Process_Special_Functions( wxCommandEvent& event )
Set3DModuleOnOff
();
return
;
case
ID_MENU3D_PLACE_ONOFF
:
Set3DPlaceOnOff
();
return
;
case
ID_MENU3D_ZONE_ONOFF
:
Set3DZoneOnOff
();
return
;
...
...
@@ -385,18 +381,10 @@ void WinEDA3D_DrawFrame::Set3DModuleOnOff()
/******************************************/
{
if
(
g_Parm_3D_Visu
.
m_Draw3DModule
)
g_Parm_3D_Visu
.
m_Draw3DModule
=
FALSE
;
else
g_Parm_3D_Visu
.
m_Draw3DModule
=
TRUE
;
else
g_Parm_3D_Visu
.
m_Draw3DModule
=
TRUE
;
NewDisplay
();
}
/******************************************/
void
WinEDA3D_DrawFrame
::
Set3DPlaceOnOff
()
/******************************************/
{
if
(
g_Parm_3D_Visu
.
m_Draw3DPlace
)
g_Parm_3D_Visu
.
m_Draw3DPlace
=
FALSE
;
else
g_Parm_3D_Visu
.
m_Draw3DPlace
=
TRUE
;
NewDisplay
();
}
/******************************************/
void
WinEDA3D_DrawFrame
::
Set3DZoneOnOff
()
...
...
@@ -412,7 +400,7 @@ void WinEDA3D_DrawFrame::Set3DCommentsOnOff()
/******************************************/
{
if
(
g_Parm_3D_Visu
.
m_Draw3DComments
)
g_Parm_3D_Visu
.
m_Draw3DComments
=
FALSE
;
else
g_Parm_3D_Visu
.
m_Draw3DComments
=
TRUE
;
else
g_Parm_3D_Visu
.
m_Draw3DComments
=
TRUE
;
NewDisplay
();
}
...
...
@@ -421,7 +409,7 @@ void WinEDA3D_DrawFrame::Set3DDrawingsOnOff()
/******************************************/
{
if
(
g_Parm_3D_Visu
.
m_Draw3DDrawings
)
g_Parm_3D_Visu
.
m_Draw3DDrawings
=
FALSE
;
else
g_Parm_3D_Visu
.
m_Draw3DDrawings
=
TRUE
;
else
g_Parm_3D_Visu
.
m_Draw3DDrawings
=
TRUE
;
NewDisplay
();
}
...
...
@@ -430,7 +418,7 @@ void WinEDA3D_DrawFrame::Set3DEco1OnOff()
/******************************************/
{
if
(
g_Parm_3D_Visu
.
m_Draw3DEco1
)
g_Parm_3D_Visu
.
m_Draw3DEco1
=
FALSE
;
else
g_Parm_3D_Visu
.
m_Draw3DEco1
=
TRUE
;
else
g_Parm_3D_Visu
.
m_Draw3DEco1
=
TRUE
;
NewDisplay
();
}
...
...
@@ -439,6 +427,6 @@ void WinEDA3D_DrawFrame::Set3DEco2OnOff()
/******************************************/
{
if
(
g_Parm_3D_Visu
.
m_Draw3DEco2
)
g_Parm_3D_Visu
.
m_Draw3DEco2
=
FALSE
;
else
g_Parm_3D_Visu
.
m_Draw3DEco2
=
TRUE
;
else
g_Parm_3D_Visu
.
m_Draw3DEco2
=
TRUE
;
NewDisplay
();
}
3d-viewer/3d_toolbar.cpp
View file @
070b12d5
...
...
@@ -134,11 +134,6 @@ bool full_options = true;
ADD_MENUITEM
(
referencesMenu
,
ID_MENU3D_MODULE_ONOFF
,
_
(
"3D Footprints Shapes On/Off"
),
shape_3d_xpm
);
#if 0
ADD_MENUITEM( referencesMenu, ID_MENU3D_PLACE_ONOFF,
_( "PCB place 3D On/off" ), select_w_layer_xpm );
#endif
ADD_MENUITEM
(
referencesMenu
,
ID_MENU3D_ZONE_ONOFF
,
_
(
"Zone Filling On/Off"
),
add_zone_xpm
);
...
...
3d-viewer/3d_viewer.h
View file @
070b12d5
...
...
@@ -30,7 +30,7 @@
#include "3d_struct.h"
#define KICAD_DEFAULT_3D_DRAWFRAME_STYLE wxDEFAULT_FRAME_STYLE|wxWANTS_CHARS
#define LIB3D_PATH wxT("packages3d/")
...
...
@@ -56,7 +56,6 @@ public:
S3D_Color
m_BgColor
;
bool
m_Draw3DAxis
;
bool
m_Draw3DModule
;
bool
m_Draw3DPlace
;
bool
m_Draw3DZone
;
bool
m_Draw3DComments
;
bool
m_Draw3DDrawings
;
...
...
include/id.h
View file @
070b12d5
...
...
@@ -855,7 +855,7 @@ enum main_id {
ID_MENU3D_BGCOLOR_SELECTION
,
ID_MENU3D_AXIS_ONOFF
,
ID_MENU3D_MODULE_ONOFF
,
ID_MENU3D_
PLACE_ONOFF
,
ID_MENU3D_
UNUSED
,
ID_MENU3D_ZONE_ONOFF
,
ID_MENU3D_DRAWINGS_ONOFF
,
ID_MENU3D_COMMENTS_ONOFF
,
...
...
internat/fr/kicad.mo
View file @
070b12d5
No preview for this file type
internat/fr/kicad.po
View file @
070b12d5
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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