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
6a5d55bf
Commit
6a5d55bf
authored
Oct 27, 2009
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quick fixes before translations get started
parent
6fb76879
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
dialog_design_rules.cpp
pcbnew/dialog_design_rules.cpp
+4
-3
dialog_design_rules_base.h
pcbnew/dialog_design_rules_base.h
+3
-2
No files found.
pcbnew/dialog_design_rules.cpp
View file @
6a5d55bf
...
...
@@ -88,7 +88,7 @@ DIALOG_DESIGN_RULES::DIALOG_DESIGN_RULES( WinEDA_PcbFrame* parent ) :
InitDialogRules
();
Layout
();
Layout
();
GetSizer
()
->
Fit
(
this
);
GetSizer
()
->
SetSizeHints
(
this
);
Center
();
...
...
@@ -921,7 +921,7 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
if
(
tvalue
.
IsEmpty
()
)
continue
;
int
tracksize
=
ReturnValueFromString
(
g_UnitMetric
,
int
tracksize
=
ReturnValueFromString
(
g_UnitMetric
,
tvalue
,
m_Parent
->
m_InternalUnits
);
if
(
tracksize
<
minTrackWidth
)
...
...
@@ -935,7 +935,7 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
if
(
tracksize
>
10000
)
{
result
=
false
;
msg
.
Printf
(
_
(
"<b>Extra Track %d Size</b> %s > <b>1 inch!</b><br>"
),
msg
.
Printf
(
_
(
"<b>Extra Track %d Size</b> %s > <b>1 inch!</b><br>"
),
row
+
1
,
GetChars
(
tvalue
)
);
m_MessagesList
->
AppendToPage
(
msg
);
...
...
@@ -971,3 +971,4 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
return
result
;
}
pcbnew/dialog_design_rules_base.h
View file @
6a5d55bf
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Apr 16
2008)
// C++ code generated with wxFormBuilder (version
Dec 29
2008)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
...
...
@@ -84,6 +84,7 @@ class DIALOG_DESIGN_RULES_BASE : public wxDialog
wxStaticText
*
m_staticTextInfo
;
wxStaticText
*
m_staticText7
;
wxGrid
*
m_gridViaSizeList
;
wxStaticText
*
m_staticText8
;
wxGrid
*
m_gridTrackWidthList
;
wxHtmlWindow
*
m_MessagesList
;
wxStdDialogButtonSizer
*
m_sdbButtonsSizer
;
...
...
@@ -107,7 +108,7 @@ class DIALOG_DESIGN_RULES_BASE : public wxDialog
public
:
DIALOG_DESIGN_RULES_BASE
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"Design Rules Editor"
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
792
,
692
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
DIALOG_DESIGN_RULES_BASE
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"Design Rules Editor"
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
850
,
692
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
~
DIALOG_DESIGN_RULES_BASE
();
};
...
...
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