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
44132214
Commit
44132214
authored
Mar 20, 2010
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
work on libedit continued.
fixed very minor bugs.
parent
41dd9753
Changes
23
Show whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
2069 additions
and
43 deletions
+2069
-43
base_screen.cpp
common/base_screen.cpp
+5
-5
basicframe.cpp
common/basicframe.cpp
+0
-1
zoom.cpp
common/zoom.cpp
+2
-2
CMakeLists.txt
eeschema/CMakeLists.txt
+2
-0
dialog_eeschema_config.cpp
eeschema/dialog_eeschema_config.cpp
+15
-5
dialog_libedit_dimensions.cpp
eeschema/dialog_libedit_dimensions.cpp
+42
-0
dialog_libedit_dimensions_base.cpp
eeschema/dialog_libedit_dimensions_base.cpp
+160
-0
dialog_libedit_dimensions_base.fbp
eeschema/dialog_libedit_dimensions_base.fbp
+1545
-0
dialog_libedit_dimensions_base.h
eeschema/dialog_libedit_dimensions_base.h
+75
-0
eelayer.cpp
eeschema/eelayer.cpp
+2
-2
eelayer.h
eeschema/eelayer.h
+2
-2
eeschema_config.cpp
eeschema/eeschema_config.cpp
+79
-6
eeschema_id.h
eeschema/eeschema_id.h
+4
-1
libeditframe.cpp
eeschema/libeditframe.cpp
+33
-2
libeditframe.h
eeschema/libeditframe.h
+9
-1
menubar_libedit.cpp
eeschema/menubar_libedit.cpp
+45
-0
protos.h
eeschema/protos.h
+1
-1
schframe.cpp
eeschema/schframe.cpp
+21
-3
gerberframe.cpp
gerbview/gerberframe.cpp
+6
-2
id.h
include/id.h
+2
-5
wxEeschemaStruct.h
include/wxEeschemaStruct.h
+6
-1
classpcb.cpp
pcbnew/classpcb.cpp
+1
-1
pcbframe.cpp
pcbnew/pcbframe.cpp
+12
-3
No files found.
common/base_screen.cpp
View file @
44132214
...
...
@@ -65,7 +65,7 @@ void BASE_SCREEN::InitDatas()
m_Curseur
.
y
=
ReturnPageSize
().
y
/
2
;
}
m_O_Curseur
=
m_Curseur
;
m_O_Curseur
.
x
=
m_O_Curseur
.
y
=
0
;
SetCurItem
(
NULL
);
...
...
@@ -451,13 +451,13 @@ void BASE_SCREEN::AddGrid( const wxRealPoint& size, int units, int id )
if
(
units
==
MILLIMETRE
)
{
x
=
size
.
x
/
25.4
000508001016
;
y
=
size
.
y
/
25.4
000508001016
;
x
=
size
.
x
/
25.4
;
y
=
size
.
y
/
25.4
;
}
else
if
(
units
==
CENTIMETRE
)
{
x
=
size
.
x
/
2.54
000508001016
;
y
=
size
.
y
/
2.54
000508001016
;
x
=
size
.
x
/
2.54
;
y
=
size
.
y
/
2.54
;
}
else
{
...
...
common/basicframe.cpp
View file @
44132214
...
...
@@ -88,7 +88,6 @@ void WinEDA_BasicFrame::SetLanguage( wxCommandEvent& event )
wxGetApp
().
SetLanguageIdentifier
(
id
);
if
(
wxGetApp
().
SetLanguage
()
)
{
wxLogDebug
(
wxT
(
"Recreating menu bar due to language change."
)
);
ReCreateMenuBar
();
Refresh
();
}
...
...
common/zoom.cpp
View file @
44132214
...
...
@@ -247,10 +247,10 @@ void WinEDA_DrawFrame::AddMenuZoomAndGrid( wxMenu* MasterMenu )
else
{
if
(
g_UnitMetric
==
0
)
// inches
msg
.
Printf
(
wxT
(
"%.1f mils
,
(%.3f mm)"
),
msg
.
Printf
(
wxT
(
"%.1f mils
\t
(%.3f mm)"
),
gridValueInch
*
1000
,
gridValue_mm
);
else
msg
.
Printf
(
wxT
(
"%.3f mm
,
(%.1f mils)"
),
msg
.
Printf
(
wxT
(
"%.3f mm
\t
(%.1f mils)"
),
gridValue_mm
,
gridValueInch
*
1000
);
}
gridMenu
->
Append
(
tmp
.
m_Id
,
msg
,
wxEmptyString
,
true
);
...
...
eeschema/CMakeLists.txt
View file @
44132214
...
...
@@ -56,6 +56,8 @@ set(EESCHEMA_SRCS
dialog_eeschema_options.cpp
dialog_erc.cpp
dialog_erc_base.cpp
dialog_libedit_dimensions.cpp
dialog_libedit_dimensions_base.cpp
dialog_lib_edit_draw_item.cpp
dialog_lib_edit_draw_item_base.cpp
dialog_lib_edit_pin.cpp
...
...
eeschema/dialog_eeschema_config.cpp
View file @
44132214
...
...
@@ -46,24 +46,34 @@ private:
public
:
DIALOG_EESCHEMA_CONFIG
(
WinEDA_SchematicFrame
*
parent
);
DIALOG_EESCHEMA_CONFIG
(
WinEDA_SchematicFrame
*
parent
,
WinEDA_DrawFrame
*
activeWindow
);
~
DIALOG_EESCHEMA_CONFIG
()
{};
};
/******************************************************************/
void
WinEDA_SchematicFrame
::
InstallConfigFrame
(
const
wxPoint
&
pos
)
void
WinEDA_SchematicFrame
::
InstallConfigFrame
(
wxCommandEvent
&
event
)
/******************************************************************/
{
DIALOG_EESCHEMA_CONFIG
CfgFrame
(
this
);
DIALOG_EESCHEMA_CONFIG
CfgFrame
(
this
,
this
);
CfgFrame
.
ShowModal
();
}
/******************************************************************/
void
WinEDA_LibeditFrame
::
InstallConfigFrame
(
wxCommandEvent
&
event
)
/******************************************************************/
{
DIALOG_EESCHEMA_CONFIG
CfgFrame
(
(
WinEDA_SchematicFrame
*
)
GetParent
(),
this
);
CfgFrame
.
ShowModal
();
}
/*******************************************************************************/
DIALOG_EESCHEMA_CONFIG
::
DIALOG_EESCHEMA_CONFIG
(
WinEDA_SchematicFrame
*
parent
)
:
DIALOG_EESCHEMA_CONFIG_FBP
(
parent
)
DIALOG_EESCHEMA_CONFIG
::
DIALOG_EESCHEMA_CONFIG
(
WinEDA_SchematicFrame
*
parent
,
WinEDA_DrawFrame
*
activeWindow
)
:
DIALOG_EESCHEMA_CONFIG_FBP
(
activeWindow
)
/*******************************************************************************/
{
wxString
msg
;
...
...
eeschema/dialog_libedit_dimensions.cpp
0 → 100644
View file @
44132214
/*
* dialog_libedit_dimensions.cpp
* Handles the dialog so set current texts and pins sizes in LibEdit
*/
#include "fctsys.h"
//#include "appl_wxstruct.h"
#include "common.h"
//#include "class_drawpanel.h"
#include "program.h"
#include "general.h"
#include "libeditframe.h"
#include "dialog_libedit_dimensions_base.h"
class
DIALOG_LIBEDIT_DIMENSIONS
:
public
DIALOG_LIBEDIT_DIMENSIONS_BASE
{
private
:
public
:
DIALOG_LIBEDIT_DIMENSIONS
(
WinEDA_LibeditFrame
*
parent
);
~
DIALOG_LIBEDIT_DIMENSIONS
();
};
void
WinEDA_LibeditFrame
::
InstallDimensionsDialog
(
wxCommandEvent
&
event
)
{
DIALOG_LIBEDIT_DIMENSIONS
dlg
(
this
);
dlg
.
ShowModal
(
);
}
DIALOG_LIBEDIT_DIMENSIONS
::
DIALOG_LIBEDIT_DIMENSIONS
(
WinEDA_LibeditFrame
*
parent
)
:
DIALOG_LIBEDIT_DIMENSIONS_BASE
(
parent
)
{
this
->
Centre
(
wxBOTH
);
}
DIALOG_LIBEDIT_DIMENSIONS
::~
DIALOG_LIBEDIT_DIMENSIONS
()
{
}
eeschema/dialog_libedit_dimensions_base.cpp
0 → 100644
View file @
44132214
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Apr 16 2008)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#include "dialog_libedit_dimensions_base.h"
///////////////////////////////////////////////////////////////////////////
DIALOG_LIBEDIT_DIMENSIONS_BASE
::
DIALOG_LIBEDIT_DIMENSIONS_BASE
(
wxWindow
*
parent
,
wxWindowID
id
,
const
wxString
&
title
,
const
wxPoint
&
pos
,
const
wxSize
&
size
,
long
style
)
:
wxDialog
(
parent
,
id
,
title
,
pos
,
size
,
style
)
{
this
->
SetSizeHints
(
wxDefaultSize
,
wxDefaultSize
);
wxBoxSizer
*
mainSizer
;
mainSizer
=
new
wxBoxSizer
(
wxHORIZONTAL
);
wxBoxSizer
*
bSizerMain
;
bSizerMain
=
new
wxBoxSizer
(
wxVERTICAL
);
wxFlexGridSizer
*
fgSizer1
;
fgSizer1
=
new
wxFlexGridSizer
(
7
,
3
,
0
,
0
);
fgSizer1
->
AddGrowableCol
(
0
);
fgSizer1
->
AddGrowableCol
(
1
);
fgSizer1
->
AddGrowableCol
(
2
);
fgSizer1
->
SetFlexibleDirection
(
wxHORIZONTAL
);
fgSizer1
->
SetNonFlexibleGrowMode
(
wxFLEX_GROWMODE_SPECIFIED
);
m_staticText3
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"&Grid size:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText3
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticText3
,
1
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
wxString
m_choiceGridSizeChoices
[]
=
{
_
(
"100"
),
_
(
"50"
),
_
(
"25"
),
_
(
"10"
),
_
(
"5"
),
_
(
"2"
),
_
(
"1"
)
};
int
m_choiceGridSizeNChoices
=
sizeof
(
m_choiceGridSizeChoices
)
/
sizeof
(
wxString
);
m_choiceGridSize
=
new
wxChoice
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
m_choiceGridSizeNChoices
,
m_choiceGridSizeChoices
,
0
);
m_choiceGridSize
->
SetSelection
(
0
);
fgSizer1
->
Add
(
m_choiceGridSize
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
|
wxEXPAND
,
3
);
m_staticGridUnits
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"mils"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticGridUnits
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticGridUnits
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
m_staticText5
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Current graphic &line width:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText5
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticText5
,
1
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
m_CurrentGraphicLineThicknessCtrl
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
fgSizer1
->
Add
(
m_CurrentGraphicLineThicknessCtrl
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_staticLineWidthUnits
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"mils"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticLineWidthUnits
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticLineWidthUnits
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
m_staticText7
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Current graphic text &size:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText7
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticText7
,
1
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
m_CurrentGraphicTextSizeCtrl
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
fgSizer1
->
Add
(
m_CurrentGraphicTextSizeCtrl
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_staticTextSizeUnits
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"mils"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticTextSizeUnits
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticTextSizeUnits
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
m_staticText9
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Repeat draw item &horizontal displacement:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText9
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticText9
,
1
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
wxString
m_choiceRepeatHorizontalChoices
[]
=
{
_
(
"100"
),
_
(
"50"
)
};
int
m_choiceRepeatHorizontalNChoices
=
sizeof
(
m_choiceRepeatHorizontalChoices
)
/
sizeof
(
wxString
);
m_choiceRepeatHorizontal
=
new
wxChoice
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
m_choiceRepeatHorizontalNChoices
,
m_choiceRepeatHorizontalChoices
,
0
);
m_choiceRepeatHorizontal
->
SetSelection
(
0
);
fgSizer1
->
Add
(
m_choiceRepeatHorizontal
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_staticRepeatXUnits
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"mils"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticRepeatXUnits
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticRepeatXUnits
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
m_staticText12
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Repeat draw item &vertical displacement:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText12
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticText12
,
1
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
wxString
m_choiceRepeatVerticalChoices
[]
=
{
_
(
"100"
),
_
(
"50"
)
};
int
m_choiceRepeatVerticalNChoices
=
sizeof
(
m_choiceRepeatVerticalChoices
)
/
sizeof
(
wxString
);
m_choiceRepeatVertical
=
new
wxChoice
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
m_choiceRepeatVerticalNChoices
,
m_choiceRepeatVerticalChoices
,
0
);
m_choiceRepeatVertical
->
SetSelection
(
0
);
fgSizer1
->
Add
(
m_choiceRepeatVertical
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_staticRepeatYUnits
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"mils"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticRepeatYUnits
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticRepeatYUnits
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
m_staticText15
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Current &pin lenght"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText15
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticText15
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
,
5
);
m_CurrentPinLenghtCtrl
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
fgSizer1
->
Add
(
m_CurrentPinLenghtCtrl
,
0
,
wxEXPAND
|
wxALL
,
5
);
m_staticText161
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"mils"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText161
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticText161
,
0
,
wxALL
,
5
);
m_CurrentPinNameSizeText
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Current pin name size"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_CurrentPinNameSizeText
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_CurrentPinNameSizeText
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
,
5
);
m_CurrentPinNameSizeCtrl
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
fgSizer1
->
Add
(
m_CurrentPinNameSizeCtrl
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_staticText18
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"mils"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText18
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticText18
,
0
,
wxALL
,
5
);
m_CurrentPinNumberSizeText
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Current pin number size"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_CurrentPinNumberSizeText
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_CurrentPinNumberSizeText
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
,
5
);
m_CurrentPinNumberSizeCtrl
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
fgSizer1
->
Add
(
m_CurrentPinNumberSizeCtrl
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_staticText20
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"mils"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText20
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticText20
,
0
,
wxALL
,
5
);
m_staticText16
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"&Repeat pin number increment:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText16
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticText16
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
,
3
);
m_spinRepeatLabel
=
new
wxSpinCtrl
(
this
,
wxID_ANY
,
wxT
(
"1"
),
wxDefaultPosition
,
wxDefaultSize
,
wxSP_ARROW_KEYS
|
wxSP_WRAP
,
0
,
10
,
1
);
fgSizer1
->
Add
(
m_spinRepeatLabel
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
|
wxEXPAND
,
3
);
fgSizer1
->
Add
(
0
,
0
,
1
,
wxALIGN_CENTER_VERTICAL
|
wxEXPAND
,
3
);
bSizerMain
->
Add
(
fgSizer1
,
0
,
wxALIGN_CENTER
|
wxEXPAND
,
0
);
m_staticline1
=
new
wxStaticLine
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
wxLI_HORIZONTAL
);
bSizerMain
->
Add
(
m_staticline1
,
0
,
wxEXPAND
|
wxALL
,
5
);
m_sdbSizer1
=
new
wxStdDialogButtonSizer
();
m_sdbSizer1OK
=
new
wxButton
(
this
,
wxID_OK
);
m_sdbSizer1
->
AddButton
(
m_sdbSizer1OK
);
m_sdbSizer1Cancel
=
new
wxButton
(
this
,
wxID_CANCEL
);
m_sdbSizer1
->
AddButton
(
m_sdbSizer1Cancel
);
m_sdbSizer1
->
Realize
();
bSizerMain
->
Add
(
m_sdbSizer1
,
0
,
wxALL
|
wxEXPAND
,
0
);
mainSizer
->
Add
(
bSizerMain
,
1
,
wxALL
|
wxEXPAND
,
12
);
this
->
SetSizer
(
mainSizer
);
this
->
Layout
();
this
->
Centre
(
wxBOTH
);
}
DIALOG_LIBEDIT_DIMENSIONS_BASE
::~
DIALOG_LIBEDIT_DIMENSIONS_BASE
()
{
}
eeschema/dialog_libedit_dimensions_base.fbp
0 → 100644
View file @
44132214
This source diff could not be displayed because it is too large. You can
view the blob
instead.
eeschema/dialog_libedit_dimensions_base.h
0 → 100644
View file @
44132214
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Apr 16 2008)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#ifndef __dialog_libedit_dimensions_base__
#define __dialog_libedit_dimensions_base__
#include <wx/intl.h>
#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/choice.h>
#include <wx/textctrl.h>
#include <wx/spinctrl.h>
#include <wx/sizer.h>
#include <wx/statline.h>
#include <wx/button.h>
#include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_LIBEDIT_DIMENSIONS_BASE
///////////////////////////////////////////////////////////////////////////////
class
DIALOG_LIBEDIT_DIMENSIONS_BASE
:
public
wxDialog
{
private
:
protected
:
wxStaticText
*
m_staticText3
;
wxChoice
*
m_choiceGridSize
;
wxStaticText
*
m_staticGridUnits
;
wxStaticText
*
m_staticText5
;
wxTextCtrl
*
m_CurrentGraphicLineThicknessCtrl
;
wxStaticText
*
m_staticLineWidthUnits
;
wxStaticText
*
m_staticText7
;
wxTextCtrl
*
m_CurrentGraphicTextSizeCtrl
;
wxStaticText
*
m_staticTextSizeUnits
;
wxStaticText
*
m_staticText9
;
wxChoice
*
m_choiceRepeatHorizontal
;
wxStaticText
*
m_staticRepeatXUnits
;
wxStaticText
*
m_staticText12
;
wxChoice
*
m_choiceRepeatVertical
;
wxStaticText
*
m_staticRepeatYUnits
;
wxStaticText
*
m_staticText15
;
wxTextCtrl
*
m_CurrentPinLenghtCtrl
;
wxStaticText
*
m_staticText161
;
wxStaticText
*
m_CurrentPinNameSizeText
;
wxTextCtrl
*
m_CurrentPinNameSizeCtrl
;
wxStaticText
*
m_staticText18
;
wxStaticText
*
m_CurrentPinNumberSizeText
;
wxTextCtrl
*
m_CurrentPinNumberSizeCtrl
;
wxStaticText
*
m_staticText20
;
wxStaticText
*
m_staticText16
;
wxSpinCtrl
*
m_spinRepeatLabel
;
wxStaticLine
*
m_staticline1
;
wxStdDialogButtonSizer
*
m_sdbSizer1
;
wxButton
*
m_sdbSizer1OK
;
wxButton
*
m_sdbSizer1Cancel
;
public
:
DIALOG_LIBEDIT_DIMENSIONS_BASE
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"Library Editor Options"
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
412
,
358
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
~
DIALOG_LIBEDIT_DIMENSIONS_BASE
();
};
#endif //__dialog_libedit_dimensions_base__
eeschema/eelayer.cpp
View file @
44132214
...
...
@@ -34,7 +34,7 @@ END_EVENT_TABLE()
/**************************************************************/
void
DisplayColorSetupFrame
(
WinEDA_
Schematic
Frame
*
parent
,
void
DisplayColorSetupFrame
(
WinEDA_
Draw
Frame
*
parent
,
const
wxPoint
&
framepos
)
{
/**************************************************************/
...
...
@@ -55,7 +55,7 @@ WinEDA_SetColorsFrame::WinEDA_SetColorsFrame()
// Standard Constructor
WinEDA_SetColorsFrame
::
WinEDA_SetColorsFrame
(
WinEDA_
Schematic
Frame
*
parent
,
WinEDA_SetColorsFrame
::
WinEDA_SetColorsFrame
(
WinEDA_
Draw
Frame
*
parent
,
const
wxPoint
&
framepos
)
{
m_Parent
=
parent
;
...
...
eeschema/eelayer.h
View file @
44132214
...
...
@@ -285,7 +285,7 @@ private:
DECLARE_DYNAMIC_CLASS
(
WinEDA_SetColorsFrame
)
DECLARE_EVENT_TABLE
()
WinEDA_
SchematicFrame
*
m_Parent
;
WinEDA_
DrawFrame
*
m_Parent
;
wxBoxSizer
*
OuterBoxSizer
;
wxBoxSizer
*
MainBoxSizer
;
wxBoxSizer
*
ColumnBoxSizer
;
...
...
@@ -325,7 +325,7 @@ private:
public
:
// Constructors and destructor
WinEDA_SetColorsFrame
();
WinEDA_SetColorsFrame
(
WinEDA_
Schematic
Frame
*
parent
,
const
wxPoint
&
framepos
);
WinEDA_SetColorsFrame
(
WinEDA_
Draw
Frame
*
parent
,
const
wxPoint
&
framepos
);
~
WinEDA_SetColorsFrame
();
};
...
...
eeschema/eeschema_config.cpp
View file @
44132214
...
...
@@ -13,6 +13,7 @@
#include "program.h"
#include "general.h"
#include "protos.h"
#include "libeditframe.h"
#include "eeschema_config.h"
#include "worksheet.h"
#include "hotkeys.h"
...
...
@@ -25,12 +26,12 @@
#define FR_HISTORY_LIST_CNT 10 ///< Maximum number of find and replace strings.
void
WinEDA_SchematicFrame
::
Process_Config
(
wxCommandEvent
&
event
)
void
WinEDA_LibeditFrame
::
Process_Config
(
wxCommandEvent
&
event
)
{
int
id
=
event
.
GetId
();
wxPoint
pos
;
wxFileName
fn
;
WinEDA_SchematicFrame
*
schFrame
=
(
WinEDA_SchematicFrame
*
)
GetParent
();
wxGetMousePosition
(
&
pos
.
x
,
&
pos
.
y
);
...
...
@@ -42,8 +43,80 @@ void WinEDA_SchematicFrame::Process_Config( wxCommandEvent& event )
DisplayColorSetupFrame
(
this
,
pos
);
break
;
case
ID_CONFIG_REQ
:
// Display the configuration window.
InstallConfigFrame
(
pos
);
case
ID_CONFIG_SAVE
:
schFrame
->
SaveProjectFile
(
this
,
false
);
break
;
case
ID_CONFIG_READ
:
{
fn
=
g_RootSheet
->
m_AssociatedScreen
->
m_FileName
;
fn
.
SetExt
(
ProjectFileExtension
);
wxFileDialog
dlg
(
this
,
_
(
"Read Project File"
),
fn
.
GetPath
(),
fn
.
GetFullName
(),
ProjectFileWildcard
,
wxFD_OPEN
|
wxFD_FILE_MUST_EXIST
);
if
(
dlg
.
ShowModal
()
==
wxID_CANCEL
)
break
;
schFrame
->
LoadProjectFile
(
dlg
.
GetPath
(),
TRUE
);
}
break
;
/* Hotkey IDs */
case
ID_PREFERENCES_HOTKEY_CREATE_CONFIG
:
fn
=
wxFileName
(
ReturnHotkeyConfigFilePath
(
g_ConfigFileLocationChoice
),
HOTKEY_FILENAME
,
DEFAULT_HOTKEY_FILENAME_EXT
);
WriteHotkeyConfigFile
(
fn
.
GetFullPath
(),
s_Eeschema_Hokeys_Descr
,
true
);
break
;
case
ID_PREFERENCES_HOTKEY_READ_CONFIG
:
Read_Hotkey_Config
(
this
,
true
);
break
;
case
ID_PREFERENCES_HOTKEY_EDIT_CONFIG
:
{
fn
=
wxFileName
(
ReturnHotkeyConfigFilePath
(
g_ConfigFileLocationChoice
),
HOTKEY_FILENAME
,
DEFAULT_HOTKEY_FILENAME_EXT
);
wxString
editorname
=
wxGetApp
().
GetEditorName
();
if
(
!
editorname
.
IsEmpty
()
)
ExecuteFile
(
this
,
editorname
,
QuoteFullPath
(
fn
)
);
}
break
;
case
ID_PREFERENCES_HOTKEY_PATH_IS_HOME
:
case
ID_PREFERENCES_HOTKEY_PATH_IS_KICAD
:
HandleHotkeyConfigMenuSelection
(
this
,
id
);
break
;
case
ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST
:
// Display current hotkey list for LibEdit.
DisplayHotkeyList
(
this
,
s_Libedit_Hokeys_Descr
);
break
;
default
:
DisplayError
(
this
,
wxT
(
"WinEDA_LibeditFrame::Process_Config error"
)
);
}
}
void
WinEDA_SchematicFrame
::
Process_Config
(
wxCommandEvent
&
event
)
{
int
id
=
event
.
GetId
();
wxPoint
pos
;
wxFileName
fn
;
wxGetMousePosition
(
&
pos
.
x
,
&
pos
.
y
);
pos
.
y
+=
5
;
switch
(
id
)
{
case
ID_COLORS_SETUP
:
DisplayColorSetupFrame
(
this
,
pos
);
break
;
case
ID_CONFIG_SAVE
:
...
...
@@ -100,7 +173,7 @@ void WinEDA_SchematicFrame::Process_Config( wxCommandEvent& event )
break
;
default
:
DisplayError
(
this
,
wxT
(
"WinEDA_SchematicFrame::Process_Config
internal
error"
)
);
DisplayError
(
this
,
wxT
(
"WinEDA_SchematicFrame::Process_Config error"
)
);
}
}
...
...
@@ -334,7 +407,7 @@ void WinEDA_SchematicFrame::SaveProjectFile( wxWindow* displayframe, bool askove
int
options
=
wxFD_SAVE
;
if
(
askoverwrite
)
options
|=
wxFD_OVERWRITE_PROMPT
;
wxFileDialog
dlg
(
this
,
_
(
"Save Project Settings"
),
wxGetCwd
(),
wxFileDialog
dlg
(
displayframe
,
_
(
"Save Project Settings"
),
wxGetCwd
(),
fn
.
GetFullName
(),
ProjectFileWildcard
,
options
);
if
(
dlg
.
ShowModal
()
==
wxID_CANCEL
)
...
...
eeschema/eeschema_id.h
View file @
44132214
...
...
@@ -127,6 +127,9 @@ enum id_eeschema_frm
ID_POPUP_SCH_GETINFO_MARKER
,
ID_POPUP_END_RANGE
,
/* Library editor main menubar IDs. */
ID_LIBEDIT_DIMENSIONS
,
/* Library editor horizontal toolbar IDs. */
ID_LIBEDIT_SELECT_PART
,
ID_LIBEDIT_SELECT_CURRENT_LIB
,
...
...
eeschema/libeditframe.cpp
View file @
44132214
...
...
@@ -125,6 +125,25 @@ EVT_MENU( ID_LIBEDIT_GEN_SVG_FILE,
EVT_MENU
(
ID_GENERAL_HELP
,
WinEDA_DrawFrame
::
GetKicadHelp
)
EVT_MENU
(
ID_CONFIG_REQ
,
WinEDA_LibeditFrame
::
InstallConfigFrame
)
EVT_MENU
(
ID_CONFIG_SAVE
,
WinEDA_LibeditFrame
::
Process_Config
)
EVT_MENU
(
ID_CONFIG_READ
,
WinEDA_LibeditFrame
::
Process_Config
)
EVT_MENU
(
ID_COLORS_SETUP
,
WinEDA_LibeditFrame
::
Process_Config
)
EVT_MENU
(
ID_LIBEDIT_DIMENSIONS
,
WinEDA_LibeditFrame
::
InstallDimensionsDialog
)
EVT_MENU_RANGE
(
ID_PREFERENCES_HOTKEY_START
,
ID_PREFERENCES_HOTKEY_END
,
WinEDA_LibeditFrame
::
Process_Config
)
EVT_MENU_RANGE
(
ID_LANGUAGE_CHOICE
,
ID_LANGUAGE_CHOICE_END
,
WinEDA_LibeditFrame
::
SetLanguage
)
/* Context menu events and commands. */
EVT_MENU
(
ID_LIBEDIT_EDIT_PIN
,
WinEDA_LibeditFrame
::
OnEditPin
)
...
...
@@ -169,13 +188,15 @@ EVT_UPDATE_UI_RANGE( ID_LIBEDIT_PIN_BUTT, ID_LIBEDIT_EXPORT_BODY_BUTT,
END_EVENT_TABLE
()
WinEDA_LibeditFrame
::
WinEDA_LibeditFrame
(
wxWindow
*
father
,
WinEDA_LibeditFrame
::
WinEDA_LibeditFrame
(
WinEDA_SchematicFrame
*
aParent
,
const
wxString
&
title
,
const
wxPoint
&
pos
,
const
wxSize
&
size
,
long
style
)
:
WinEDA_DrawFrame
(
father
,
LIBEDITOR_FRAME
,
title
,
pos
,
size
,
style
)
WinEDA_DrawFrame
(
aParent
,
LIBEDITOR_FRAME
,
title
,
pos
,
size
,
style
)
{
wxASSERT
(
aParent
);
m_FrameName
=
wxT
(
"LibeditFrame"
);
m_Draw_Axis
=
true
;
// true to draw axis
m_ConfigPath
=
wxT
(
"LibraryEditor"
);
...
...
@@ -970,3 +991,13 @@ void WinEDA_LibeditFrame::EnsureActiveLibExists()
else
m_library
=
NULL
;
}
/** function SetLanguage
* called on a language menu selection
*/
void
WinEDA_LibeditFrame
::
SetLanguage
(
wxCommandEvent
&
event
)
{
WinEDA_BasicFrame
::
SetLanguage
(
event
);
WinEDA_SchematicFrame
*
parent
=
(
WinEDA_SchematicFrame
*
)
GetParent
();
parent
->
WinEDA_BasicFrame
::
SetLanguage
(
event
);
}
eeschema/libeditframe.h
View file @
44132214
...
...
@@ -27,7 +27,7 @@ public:
WinEDAChoiceBox
*
m_SelAliasBox
;
// a box to select the alias to edit (if any)
public
:
WinEDA_LibeditFrame
(
wxWindow
*
father
,
WinEDA_LibeditFrame
(
WinEDA_SchematicFrame
*
aParent
,
const
wxString
&
title
,
const
wxPoint
&
pos
,
const
wxSize
&
size
,
long
style
=
KICAD_DEFAULT_DRAWFRAME_STYLE
);
...
...
@@ -42,6 +42,14 @@ public:
*/
static
void
EnsureActiveLibExists
();
/** function SetLanguage
* called on a language menu selection
*/
void
SetLanguage
(
wxCommandEvent
&
event
);
void
InstallConfigFrame
(
wxCommandEvent
&
event
);
void
InstallDimensionsDialog
(
wxCommandEvent
&
event
);
void
Process_Config
(
wxCommandEvent
&
event
);
void
OnPlotCurrentComponent
(
wxCommandEvent
&
event
);
void
Process_Special_Functions
(
wxCommandEvent
&
event
);
void
OnImportPart
(
wxCommandEvent
&
event
);
...
...
eeschema/menubar_libedit.cpp
View file @
44132214
...
...
@@ -200,6 +200,50 @@ void WinEDA_LibeditFrame::ReCreateMenuBar()
item
->
SetBitmap
(
add_polygon_xpm
);
placeMenu
->
Append
(
item
);
/**
* Preferences Menu
*/
wxMenu
*
configmenu
=
new
wxMenu
;
/* Library */
item
=
new
wxMenuItem
(
configmenu
,
ID_CONFIG_REQ
,
_
(
"&Library"
),
_
(
"Library preferences"
)
);
item
->
SetBitmap
(
library_xpm
);
configmenu
->
Append
(
item
);
/* Colors */
item
=
new
wxMenuItem
(
configmenu
,
ID_COLORS_SETUP
,
_
(
"&Colors"
),
_
(
"Color preferences"
)
);
item
->
SetBitmap
(
palette_xpm
);
configmenu
->
Append
(
item
);
#if 0 // work in progress. activated when finished
/* Dimension */
item = new wxMenuItem( configmenu, ID_LIBEDIT_DIMENSIONS, _( "&Dimensions" ),
_( "Tickness of graphic lines, texts sizes and others" ) );
item->SetBitmap( add_dimension_xpm );
configmenu->Append( item );
#endif
/* Language submenu */
wxGetApp
().
AddMenuLanguageList
(
configmenu
);
/* Hotkey submenu */
AddHotkeyConfigMenu
(
configmenu
);
/* Separator */
configmenu
->
AppendSeparator
();
/* Save preferences */
item
=
new
wxMenuItem
(
configmenu
,
ID_CONFIG_SAVE
,
_
(
"&Save preferences"
),
_
(
"Save application preferences"
)
);
item
->
SetBitmap
(
save_setup_xpm
);
configmenu
->
Append
(
item
);
/* Read preferences */
item
=
new
wxMenuItem
(
configmenu
,
ID_CONFIG_READ
,
_
(
"&Read preferences"
),
_
(
"Read application preferences"
)
);
item
->
SetBitmap
(
read_setup_xpm
);
configmenu
->
Append
(
item
);
/**
* Help Menu
...
...
@@ -217,6 +261,7 @@ void WinEDA_LibeditFrame::ReCreateMenuBar()
menuBar
->
Append
(
editMenu
,
_
(
"&Edit"
)
);
menuBar
->
Append
(
viewMenu
,
_
(
"&View"
)
);
menuBar
->
Append
(
placeMenu
,
_
(
"&Place"
)
);
menuBar
->
Append
(
configmenu
,
_
(
"&Preferences"
)
);
menuBar
->
Append
(
helpMenu
,
_
(
"&Help"
)
);
/* Associate the menu bar with the frame */
...
...
eeschema/protos.h
View file @
44132214
...
...
@@ -158,7 +158,7 @@ void RedrawOneStruct( WinEDA_DrawPanel* panel,
/**************/
void
SeedLayers
();
EDA_Colors
ReturnLayerColor
(
int
Layer
);
void
DisplayColorSetupFrame
(
WinEDA_
Schematic
Frame
*
parent
,
void
DisplayColorSetupFrame
(
WinEDA_
Draw
Frame
*
parent
,
const
wxPoint
&
pos
);
/*************/
...
...
eeschema/schframe.cpp
View file @
44132214
...
...
@@ -63,14 +63,21 @@ BEGIN_EVENT_TABLE( WinEDA_SchematicFrame, WinEDA_DrawFrame )
EVT_MENU
(
ID_POPUP_SCH_COPY_ITEM
,
WinEDA_SchematicFrame
::
OnCopySchematicItemRequest
)
EVT_MENU_RANGE
(
ID_CONFIG_AND_PREFERENCES_START
,
ID_CONFIG_AND_PREFERENCES_END
,
EVT_MENU
(
ID_CONFIG_REQ
,
WinEDA_SchematicFrame
::
InstallConfigFrame
)
EVT_MENU
(
ID_CONFIG_SAVE
,
WinEDA_SchematicFrame
::
Process_Config
)
EVT_MENU
(
ID_CONFIG_READ
,
WinEDA_SchematicFrame
::
Process_Config
)
EVT_MENU_RANGE
(
ID_PREFERENCES_HOTKEY_START
,
ID_PREFERENCES_HOTKEY_END
,
WinEDA_SchematicFrame
::
Process_Config
)
EVT_TOOL
(
ID_COLORS_SETUP
,
WinEDA_SchematicFrame
::
Process_Config
)
EVT_TOOL
(
ID_OPTIONS_SETUP
,
WinEDA_SchematicFrame
::
OnSetOptions
)
EVT_MENU_RANGE
(
ID_LANGUAGE_CHOICE
,
ID_LANGUAGE_CHOICE_END
,
WinEDA_
Draw
Frame
::
SetLanguage
)
WinEDA_
Schematic
Frame
::
SetLanguage
)
EVT_TOOL_RANGE
(
ID_ZOOM_IN
,
ID_ZOOM_PAGE
,
WinEDA_SchematicFrame
::
OnZoom
)
...
...
@@ -747,3 +754,14 @@ void WinEDA_SchematicFrame::OnExit( wxCommandEvent& event )
{
Close
(
true
);
}
/** function SetLanguage
* called on a language menu selection
*/
void
WinEDA_SchematicFrame
::
SetLanguage
(
wxCommandEvent
&
event
)
{
WinEDA_BasicFrame
::
SetLanguage
(
event
);
if
(
m_LibeditFrame
)
m_LibeditFrame
->
WinEDA_BasicFrame
::
SetLanguage
(
event
);
}
gerbview/gerberframe.cpp
View file @
44132214
...
...
@@ -54,8 +54,12 @@ BEGIN_EVENT_TABLE( WinEDA_GerberFrame, WinEDA_BasePcbFrame )
EVT_MENU
(
ID_EXIT
,
WinEDA_GerberFrame
::
Process_Special_Functions
)
// menu Preferences
EVT_MENU_RANGE
(
ID_CONFIG_AND_PREFERENCES_START
,
ID_CONFIG_AND_PREFERENCES_END
,
EVT_MENU
(
ID_CONFIG_REQ
,
WinEDA_GerberFrame
::
Process_Config
)
EVT_MENU
(
ID_CONFIG_SAVE
,
WinEDA_GerberFrame
::
Process_Config
)
EVT_MENU_RANGE
(
ID_PREFERENCES_HOTKEY_START
,
ID_PREFERENCES_HOTKEY_END
,
WinEDA_GerberFrame
::
Process_Config
)
EVT_MENU
(
ID_MENU_GERBVIEW_SHOW_HIDE_LAYERS_MANAGER_DIALOG
,
WinEDA_GerberFrame
::
OnSelectOptionToolbar
)
...
...
include/id.h
View file @
44132214
...
...
@@ -29,11 +29,11 @@ enum main_id
ID_SAVE_BOARD
,
ID_SAVE_BOARD_AS
,
ID_CONFIG_AND_PREFERENCES_START
,
ID_CONFIG_REQ
,
ID_CONFIG_SAVE
,
ID_CONFIG_READ
,
ID_PREFERENCES_HOTKEY_START
,
ID_PREFERENCES_HOTKEY_SUBMENU
,
ID_PREFERENCES_HOTKEY_CREATE_CONFIG
,
ID_PREFERENCES_HOTKEY_READ_CONFIG
,
...
...
@@ -41,10 +41,7 @@ enum main_id
ID_PREFERENCES_HOTKEY_PATH_IS_HOME
,
ID_PREFERENCES_HOTKEY_PATH_IS_KICAD
,
ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST
,
ID_PREFERENCES_UNUSED2
,
ID_PREFERENCES_UNUSED3
,
ID_CONFIG_AND_PREFERENCES_END
,
ID_PREFERENCES_HOTKEY_END
,
ID_GEN_PRINT
,
ID_GEN_PLOT
,
...
...
include/wxEeschemaStruct.h
View file @
44132214
...
...
@@ -145,7 +145,7 @@ public:
virtual
wxString
GetScreenDesc
();
void
InstallConfigFrame
(
const
wxPoint
&
pos
);
void
InstallConfigFrame
(
wxCommandEvent
&
event
);
void
OnLeftClick
(
wxDC
*
DC
,
const
wxPoint
&
MousePos
);
void
OnLeftDClick
(
wxDC
*
DC
,
const
wxPoint
&
MousePos
);
...
...
@@ -326,6 +326,11 @@ private:
void
OnUpdateHiddenPins
(
wxUpdateUIEvent
&
event
);
void
OnUpdateBusOrientation
(
wxUpdateUIEvent
&
event
);
/** function SetLanguage
* called on a language menu selection
*/
void
SetLanguage
(
wxCommandEvent
&
event
);
// Bus Entry
SCH_BUS_ENTRY
*
CreateBusEntry
(
wxDC
*
DC
,
int
entry_type
);
void
SetBusEntryShape
(
wxDC
*
DC
,
...
...
pcbnew/classpcb.cpp
View file @
44132214
...
...
@@ -29,7 +29,7 @@ static const int PcbZoomList[] =
};
#define PCB_ZOOM_LIST_CNT ( sizeof( PcbZoomList ) / sizeof( int ) )
#define MM_TO_PCB_UNITS 10000.0 / 25.4
000508001016
#define MM_TO_PCB_UNITS 10000.0 / 25.4
/* Default grid sizes for PCB editor screens. */
...
...
pcbnew/pcbframe.cpp
View file @
44132214
...
...
@@ -108,8 +108,14 @@ BEGIN_EVENT_TABLE( WinEDA_PcbFrame, WinEDA_BasePcbFrame )
EVT_MENU
(
wxID_EXIT
,
WinEDA_PcbFrame
::
OnQuit
)
// menu Config
EVT_MENU_RANGE
(
ID_CONFIG_AND_PREFERENCES_START
,
ID_CONFIG_AND_PREFERENCES_END
,
EVT_MENU
(
ID_CONFIG_REQ
,
WinEDA_PcbFrame
::
Process_Config
)
EVT_MENU
(
ID_CONFIG_SAVE
,
WinEDA_PcbFrame
::
Process_Config
)
EVT_MENU
(
ID_CONFIG_READ
,
WinEDA_PcbFrame
::
Process_Config
)
EVT_MENU_RANGE
(
ID_PREFERENCES_HOTKEY_START
,
ID_PREFERENCES_HOTKEY_END
,
WinEDA_PcbFrame
::
Process_Config
)
EVT_MENU
(
ID_MENU_PCB_SHOW_HIDE_LAYERS_MANAGER_DIALOG
,
...
...
@@ -628,4 +634,7 @@ void WinEDA_PcbFrame::SetLanguage( wxCommandEvent& event )
pane_info
.
Caption
(
_
(
"Visibles"
)
);
m_auimgr
.
Update
();
ReFillLayerWidget
();
if
(
m_ModuleEditFrame
)
m_ModuleEditFrame
->
WinEDA_DrawFrame
::
SetLanguage
(
event
);
}
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