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
f3230893
Commit
f3230893
authored
Aug 17, 2008
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Solved minor problems in eeschema, and code cleaning.
parent
ae0768c3
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
724 additions
and
667 deletions
+724
-667
3d_draw.cpp
3d-viewer/3d_draw.cpp
+292
-271
3d_toolbar.cpp
3d-viewer/3d_toolbar.cpp
+19
-8
about_kicad.cpp
common/about_kicad.cpp
+6
-6
controle.cpp
eeschema/controle.cpp
+6
-0
libedit_onleftclick.cpp
eeschema/libedit_onleftclick.cpp
+3
-3
symbdraw.cpp
eeschema/symbdraw.cpp
+0
-3
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+398
-376
No files found.
3d-viewer/3d_draw.cpp
View file @
f3230893
This diff is collapsed.
Click to expand it.
3d-viewer/3d_toolbar.cpp
View file @
f3230893
...
...
@@ -103,6 +103,12 @@ void WinEDA3D_DrawFrame::ReCreateVToolbar()
void
WinEDA3D_DrawFrame
::
ReCreateMenuBar
()
/**********************************************/
{
bool
full_options
=
true
;
// If called from the display frame of cvpcb, only some options are relevant
if
(
m_Parent
->
m_FrameName
==
wxT
(
"CmpFrame"
)
)
// Called from cvpcb !
full_options
=
false
;
// Do not display all options
wxMenuBar
*
menuBar
=
new
wxMenuBar
;
wxMenu
*
fileMenu
=
new
wxMenu
;
...
...
@@ -121,28 +127,33 @@ void WinEDA3D_DrawFrame::ReCreateMenuBar()
_
(
"Choose background color"
),
palette_xpm
);
ADD_MENUITEM
(
referencesMenu
,
ID_MENU3D_AXIS_ONOFF
,
_
(
"Axis On/Off"
),
axis3d_front_xpm
);
_
(
"
3D
Axis On/Off"
),
axis3d_front_xpm
);
if
(
full_options
)
{
ADD_MENUITEM
(
referencesMenu
,
ID_MENU3D_MODULE_ONOFF
,
_
(
"
Module 3D
On/Off"
),
add_component_xpm
);
_
(
"
3D Footprints Shapes
On/Off"
),
add_component_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 On/Off"
),
add_zone_xpm
);
_
(
"Zone
Filling
On/Off"
),
add_zone_xpm
);
ADD_MENUITEM
(
referencesMenu
,
ID_MENU3D_COMMENTS_ONOFF
,
_
(
"Comments On/Off"
),
edit_sheet_xpm
);
_
(
"Comments
Layer
On/Off"
),
edit_sheet_xpm
);
ADD_MENUITEM
(
referencesMenu
,
ID_MENU3D_DRAWINGS_ONOFF
,
_
(
"Drawings
On/Off"
),
options_text
_xpm
);
_
(
"Drawings
Layer On/Off"
),
add_polygon
_xpm
);
ADD_MENUITEM
(
referencesMenu
,
ID_MENU3D_ECO1_ONOFF
,
_
(
"Eco1
On/Off"
),
options_text
_xpm
);
_
(
"Eco1
Layer On/Off"
),
tools
_xpm
);
ADD_MENUITEM
(
referencesMenu
,
ID_MENU3D_ECO2_ONOFF
,
_
(
"Eco2 On/Off"
),
options_text_xpm
);
_
(
"Eco2 Layer On/Off"
),
tools_xpm
);
}
SetMenuBar
(
menuBar
);
}
...
...
common/about_kicad.cpp
View file @
f3230893
...
...
@@ -44,17 +44,17 @@ void InitKiCadAbout(wxAboutDialogInfo& info)
/* Add developers */
info
.
AddDeveloper
(
_T
(
"Dick Hollenbeck <dick@softplc.com>"
));
info
.
AddDeveloper
(
_T
(
"Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"
));
info
.
AddDeveloper
(
_T
(
"
\n
Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"
));
/* Add document writers */
info
.
AddDocWriter
(
_T
(
"Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"
));
info
.
AddDocWriter
(
_T
(
"Igor Plyatov <plyatov@gmail.com>"
));
info
.
AddDocWriter
(
_T
(
"
\n
Igor Plyatov <plyatov@gmail.com>"
));
/* Add translators */
info
.
AddTranslator
(
_T
(
"Czech (CZ) Milan Horák <stranger@tiscali.cz>"
));
info
.
AddTranslator
(
_T
(
"Dutch (NL) Jerry Jacobs <jerkejacobs@gmail.com>"
));
info
.
AddTranslator
(
_T
(
"French (FR) Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"
));
info
.
AddTranslator
(
_T
(
"Polish (PL) Mateusz Skowroński <skowri@gmail.com>"
));
info
.
AddTranslator
(
_T
(
"Russian (RU) Igor Plyatov <plyatov@gmail.com>"
));
info
.
AddTranslator
(
_T
(
"
\n
Dutch (NL) Jerry Jacobs <jerkejacobs@gmail.com>"
));
info
.
AddTranslator
(
_T
(
"
\n
French (FR) Jean-Pierre Charras <jean-pierre.charras@inpg.fr>"
));
info
.
AddTranslator
(
_T
(
"
\n
Polish (PL) Mateusz Skowroński <skowri@gmail.com>"
));
info
.
AddTranslator
(
_T
(
"
\n
Russian (RU) Igor Plyatov <plyatov@gmail.com>"
));
}
eeschema/controle.cpp
View file @
f3230893
...
...
@@ -226,6 +226,8 @@ void WinEDA_SchematicFrame::GeneralControle( wxDC* DC, wxPoint MousePositionInPi
wxPoint
curpos
,
oldpos
;
int
hotkey
=
0
;
ActiveScreen
=
screen
;
curpos
=
screen
->
m_MousePosition
;
oldpos
=
screen
->
m_Curseur
;
...
...
@@ -355,6 +357,8 @@ void WinEDA_LibeditFrame::GeneralControle( wxDC* DC, wxPoint MousePositionInPixe
wxPoint
curpos
,
oldpos
;
int
hotkey
=
0
;
ActiveScreen
=
screen
;
curpos
=
screen
->
m_MousePosition
;
oldpos
=
screen
->
m_Curseur
;
...
...
@@ -483,6 +487,8 @@ void WinEDA_ViewlibFrame::GeneralControle( wxDC* DC, wxPoint MousePositionInPixe
wxPoint
curpos
,
oldpos
;
int
hotkey
=
0
;
ActiveScreen
=
screen
;
curpos
=
screen
->
m_MousePosition
;
oldpos
=
screen
->
m_Curseur
;
...
...
eeschema/libedit_onleftclick.cpp
View file @
f3230893
...
...
@@ -25,7 +25,7 @@ void WinEDA_LibeditFrame::OnLeftClick( wxDC* DC, const wxPoint& MousePos )
{
LibEDA_BaseStruct
*
DrawEntry
=
CurrentDrawItem
;
if
(
CurrentLibEntry
==
NULL
)
if
(
CurrentLibEntry
==
NULL
)
// No component loaded !
return
;
if
(
m_ID_current_state
==
0
)
...
...
@@ -107,11 +107,11 @@ void WinEDA_LibeditFrame::OnLeftClick( wxDC* DC, const wxPoint& MousePos )
case
ID_LIBEDIT_BODY_CIRCLE_BUTT
:
case
ID_LIBEDIT_BODY_RECT_BUTT
:
case
ID_LIBEDIT_BODY_TEXT_BUTT
:
if
(
CurrentDrawItem
==
NULL
)
if
(
CurrentDrawItem
==
NULL
||
CurrentDrawItem
->
m_Flags
==
0
)
{
CurrentDrawItem
=
CreateGraphicItem
(
DC
);
}
else
else
if
(
CurrentDrawItem
)
{
if
(
CurrentDrawItem
->
m_Flags
&
IS_NEW
)
GraphicItemBeginDraw
(
DC
);
...
...
eeschema/symbdraw.cpp
View file @
f3230893
...
...
@@ -181,9 +181,6 @@ LibEDA_BaseStruct* WinEDA_LibeditFrame::CreateGraphicItem( wxDC* DC )
int
DrawType
;
int
*
ptpoly
;
if
(
CurrentDrawItem
)
return
NULL
;
DrawPanel
->
m_IgnoreMouseEvents
=
TRUE
;
// Creation du nouvel element
...
...
internat/fr/kicad.mo
View file @
f3230893
No preview for this file type
internat/fr/kicad.po
View file @
f3230893
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