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
52ee7c6e
Commit
52ee7c6e
authored
Jun 19, 2012
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pcbnew: fix incorrect arc export in SVG file export.
Very minor other fixes.
parent
05880921
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1065 additions
and
1768 deletions
+1065
-1768
module_ratsnest.svg
bitmaps_png/sources/module_ratsnest.svg
+180
-35
dialog_find_base.cpp
pcbnew/dialogs/dialog_find_base.cpp
+73
-70
dialog_find_base.fbp
pcbnew/dialogs/dialog_find_base.fbp
+645
-681
dialog_find_base.h
pcbnew/dialogs/dialog_find_base.h
+59
-61
export_vrml.cpp
pcbnew/export_vrml.cpp
+104
-75
find.pjd
pcbnew/find.pjd
+0
-842
legacy_plugin.cpp
pcbnew/legacy_plugin.cpp
+4
-4
No files found.
bitmaps_png/sources/module_ratsnest.svg
View file @
52ee7c6e
<svg
xmlns=
"http://www.w3.org/2000/svg"
height=
"48"
width=
"48"
version=
"1.1"
viewBox=
"0 0 48 48"
>
<defs>
<linearGradient
id=
"c"
y2=
"36.848"
gradientUnits=
"userSpaceOnUse"
x2=
"41.355"
gradientTransform=
"matrix(1.9192,0,0,4.3924,-53.533,-129.5)"
y1=
"32.207"
x1=
"39.182"
>
<stop
stop-color=
"#fff"
offset=
"0"
/>
<stop
stop-color=
"#afadff"
offset=
"1"
/>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc=
"http://purl.org/dc/elements/1.1/"
xmlns:cc=
"http://creativecommons.org/ns#"
xmlns:rdf=
"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg=
"http://www.w3.org/2000/svg"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:sodipodi=
"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape=
"http://www.inkscape.org/namespaces/inkscape"
height=
"48"
width=
"48"
version=
"1.1"
viewBox=
"0 0 48 48"
id=
"svg2"
inkscape:version=
"0.48.1 "
sodipodi:docname=
"module_ratsnest.svg"
>
<metadata
id=
"metadata66"
>
<rdf:RDF>
<cc:Work
rdf:about=
""
>
<dc:format>
image/svg+xml
</dc:format>
<dc:type
rdf:resource=
"http://purl.org/dc/dcmitype/StillImage"
/>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor=
"#ffffff"
bordercolor=
"#666666"
borderopacity=
"1"
objecttolerance=
"10"
gridtolerance=
"10"
guidetolerance=
"10"
inkscape:pageopacity=
"0"
inkscape:pageshadow=
"2"
inkscape:window-width=
"832"
inkscape:window-height=
"630"
id=
"namedview64"
showgrid=
"false"
inkscape:zoom=
"9.049115"
inkscape:cx=
"24.048995"
inkscape:cy=
"24.047343"
inkscape:window-x=
"0"
inkscape:window-y=
"0"
inkscape:window-maximized=
"0"
inkscape:current-layer=
"svg2"
/>
<defs
id=
"defs4"
>
<linearGradient
id=
"c"
y2=
"36.848"
gradientUnits=
"userSpaceOnUse"
x2=
"41.355"
gradientTransform=
"matrix(1.9192,0,0,4.3924,-53.533,-129.5)"
y1=
"32.207"
x1=
"39.182"
>
<stop
stop-color=
"#fff"
offset=
"0"
id=
"stop7"
/>
<stop
stop-color=
"#afadff"
offset=
"1"
id=
"stop9"
/>
</linearGradient>
<linearGradient
id=
"d"
y2=
"36.848"
gradientUnits=
"userSpaceOnUse"
x2=
"41.355"
gradientTransform=
"matrix(1.9217,0,0,4.024,-2.8365,-111.93)"
y1=
"32.207"
x1=
"39.182"
>
<stop
stop-color=
"#fff"
offset=
"0"
/>
<stop
stop-color=
"#afadff"
offset=
"1"
/>
<linearGradient
id=
"d"
y2=
"36.848"
gradientUnits=
"userSpaceOnUse"
x2=
"41.355"
gradientTransform=
"matrix(1.9217,0,0,4.024,-2.8365,-111.93)"
y1=
"32.207"
x1=
"39.182"
>
<stop
stop-color=
"#fff"
offset=
"0"
id=
"stop12"
/>
<stop
stop-color=
"#afadff"
offset=
"1"
id=
"stop14"
/>
</linearGradient>
</defs>
<rect
opacity=
".15234"
fill-rule=
"evenodd"
ry=
"6.0088"
height=
"48.071"
width=
"48.178"
y=
"-.082843"
x=
"-.082843"
fill=
"#b3b3b3"
/>
<path
d=
"m15.412 38.774h17.273l-0.00002-32.211h-5.7576l-1.4394 2.9283h-2.8788l-1.439-2.9283h-5.7577v32.211z"
/>
<path
fill=
"url(#c)"
d=
"m18.291 35.846h11.515v-26.355h-1.4394l-1.4394 2.9283h-5.758l-1.44-2.928h-1.4394v26.355z"
/>
<rect
transform=
"matrix(8.1756e-8,-1,1,9.5856e-8,0,0)"
height=
"2.8788"
width=
"5.8566"
y=
"32.685"
x=
"-18.276"
fill=
"#ff7800"
/>
<rect
transform=
"matrix(8.1758e-8,-1,1,9.5854e-8,0,0)"
height=
"2.8789"
width=
"5.8566"
y=
"12.534"
x=
"-18.276"
fill=
"#ff7800"
/>
<rect
transform=
"matrix(8.1756e-8,-1,1,9.5856e-8,0,0)"
height=
"2.8788"
width=
"5.8566"
y=
"32.685"
x=
"-27.061"
fill=
"#ff7800"
/>
<rect
transform=
"matrix(8.1758e-8,-1,1,9.5854e-8,0,0)"
height=
"2.8789"
width=
"5.8566"
y=
"12.533"
x=
"-27.061"
fill=
"#ff7800"
/>
<rect
transform=
"matrix(8.1756e-8,-1,1,9.5856e-8,0,0)"
height=
"2.8788"
width=
"5.8566"
y=
"32.685"
x=
"-35.846"
fill=
"#ff7800"
/>
<rect
transform=
"matrix(8.1758e-8,-1,1,9.5854e-8,0,0)"
height=
"2.8789"
width=
"5.8566"
y=
"12.533"
x=
"-35.846"
fill=
"#ff7800"
/>
<path
fill=
"#fff"
d=
"m-0.85801 27.129 0.23831-5.9251 12.955 0.06852v5.8566h-13.193z"
/>
<path
fill=
"#fff"
d=
"m-0.42124 43.235 0.91305-5.9251 11.843-7.2522v5.8566l-12.756 7.3207z"
/>
<path
fill=
"#fff"
d=
"m48.956 27.129-0.23834-5.9251-12.955 0.06852v5.8566h13.193z"
/>
<path
fill=
"#fff"
d=
"m-0.42124 5.1672 0.91305 5.9251 11.843 7.2522v-5.8566l-12.756-7.3198z"
/>
<path
fill=
"#fff"
d=
"m48.519 43.235-0.91305-5.9251-11.843-7.2522v5.8566l12.756 7.3207z"
/>
<path
fill=
"#fff"
d=
"m48.519 5.1672-0.91305 5.9251-11.843 7.2522v-5.8566l12.756-7.3198z"
/>
<path
d=
"m66.199 42.237h17.295l-0.00002-29.51h-5.7651l-1.4413 2.6827h-2.8826l-1.4413-2.6827h-5.7651v29.51z"
/>
<path
fill=
"url(#d)"
d=
"m69.081 39.554h11.53v-24.144h-1.4413l-1.4413 2.6827h-5.766l-1.441-2.683h-1.4413v24.144z"
/>
<rect
transform=
"matrix(8.9356e-8,-1,1,8.7703e-8,0,0)"
height=
"2.8826"
width=
"5.3654"
y=
"83.494"
x=
"-23.458"
fill=
"#d72e2e"
/>
<rect
transform=
"matrix(8.9358e-8,-1,1,8.7701e-8,0,0)"
height=
"2.8826"
width=
"5.3654"
y=
"63.316"
x=
"-23.458"
fill=
"#d72e2e"
/>
<rect
transform=
"matrix(8.9356e-8,-1,1,8.7703e-8,0,0)"
height=
"2.8826"
width=
"5.3654"
y=
"83.494"
x=
"-31.506"
fill=
"#d72e2e"
/>
<rect
transform=
"matrix(8.9358e-8,-1,1,8.7701e-8,0,0)"
height=
"2.8826"
width=
"5.3654"
y=
"63.316"
x=
"-31.506"
fill=
"#d72e2e"
/>
<rect
transform=
"matrix(8.9356e-8,-1,1,8.7703e-8,0,0)"
height=
"2.8826"
width=
"5.3654"
y=
"83.494"
x=
"-39.554"
fill=
"#d72e2e"
/>
<rect
transform=
"matrix(8.9358e-8,-1,1,8.7701e-8,0,0)"
height=
"2.8826"
width=
"5.3654"
y=
"63.316"
x=
"-39.554"
fill=
"#d72e2e"
/>
<path
d=
"m28.849 14.073-7.0793 6.2502h4.5106v7.146h-1.5187v0.03624h-6.5222v-4.3135l-6.4659 6.8457 6.4659 6.8431v-4.3601h8.0409v1.09h0.03751v6.3046h-4.4624l7.082 6.2502 7.0793-6.2502h-4.5106v-7.3946h0.48213v-0.03625h6.5195v4.3135l6.466-6.8457-6.466-6.8431v4.3601h-7.0016v-0.84405h-0.03749v-6.302h4.4624l-7.082-6.2502z"
fill-rule=
"evenodd"
stroke=
"#44a118"
stroke-width=
"1.421"
fill=
"#59d421"
/>
<rect
opacity=
".15234"
fill-rule=
"evenodd"
ry=
"6.0088"
height=
"48.071"
width=
"48.178"
y=
"-.082843"
x=
"-.082843"
fill=
"#b3b3b3"
id=
"rect16"
/>
<path
d=
"m15.412 38.774h17.273l-0.00002-32.211h-5.7576l-1.4394 2.9283h-2.8788l-1.439-2.9283h-5.7577v32.211z"
id=
"path18"
/>
<path
fill=
"url(#c)"
d=
"m18.291 35.846h11.515v-26.355h-1.4394l-1.4394 2.9283h-5.758l-1.44-2.928h-1.4394v26.355z"
id=
"path20"
/>
<rect
transform=
"matrix(8.1756e-8,-1,1,9.5856e-8,0,0)"
height=
"2.8788"
width=
"5.8566"
y=
"32.685"
x=
"-18.276"
fill=
"#ff7800"
id=
"rect22"
/>
<rect
transform=
"matrix(8.1758e-8,-1,1,9.5854e-8,0,0)"
height=
"2.8789"
width=
"5.8566"
y=
"12.534"
x=
"-18.276"
fill=
"#ff7800"
id=
"rect24"
/>
<rect
transform=
"matrix(8.1756e-8,-1,1,9.5856e-8,0,0)"
height=
"2.8788"
width=
"5.8566"
y=
"32.685"
x=
"-27.061"
fill=
"#ff7800"
id=
"rect26"
/>
<rect
transform=
"matrix(8.1758e-8,-1,1,9.5854e-8,0,0)"
height=
"2.8789"
width=
"5.8566"
y=
"12.533"
x=
"-27.061"
fill=
"#ff7800"
id=
"rect28"
/>
<rect
transform=
"matrix(8.1756e-8,-1,1,9.5856e-8,0,0)"
height=
"2.8788"
width=
"5.8566"
y=
"32.685"
x=
"-35.846"
fill=
"#ff7800"
id=
"rect30"
/>
<rect
transform=
"matrix(8.1758e-8,-1,1,9.5854e-8,0,0)"
height=
"2.8789"
width=
"5.8566"
y=
"12.533"
x=
"-35.846"
fill=
"#ff7800"
id=
"rect32"
/>
<path
fill=
"#fff"
d=
"m-0.85801 27.129 0.23831-5.9251 12.955 0.06852v5.8566h-13.193z"
id=
"path34"
/>
<path
fill=
"#fff"
d=
"m-0.42124 43.235 0.91305-5.9251 11.843-7.2522v5.8566l-12.756 7.3207z"
id=
"path36"
/>
<path
fill=
"#fff"
d=
"m48.956 27.129-0.23834-5.9251-12.955 0.06852v5.8566h13.193z"
id=
"path38"
/>
<path
fill=
"#fff"
d=
"m-0.42124 5.1672 0.91305 5.9251 11.843 7.2522v-5.8566l-12.756-7.3198z"
id=
"path40"
/>
<path
fill=
"#fff"
d=
"m48.519 43.235-0.91305-5.9251-11.843-7.2522v5.8566l12.756 7.3207z"
id=
"path42"
/>
<path
fill=
"#fff"
d=
"m48.519 5.1672-0.91305 5.9251-11.843 7.2522v-5.8566l12.756-7.3198z"
id=
"path44"
/>
<path
d=
"m28.849 14.073-7.0793 6.2502h4.5106v7.146h-1.5187v0.03624h-6.5222v-4.3135l-6.4659 6.8457 6.4659 6.8431v-4.3601h8.0409v1.09h0.03751v6.3046h-4.4624l7.082 6.2502 7.0793-6.2502h-4.5106v-7.3946h0.48213v-0.03625h6.5195v4.3135l6.466-6.8457-6.466-6.8431v4.3601h-7.0016v-0.84405h-0.03749v-6.302h4.4624l-7.082-6.2502z"
fill-rule=
"evenodd"
stroke=
"#44a118"
stroke-width=
"1.421"
fill=
"#59d421"
id=
"path62"
/>
</svg>
pcbnew/dialogs/dialog_find_base.cpp
View file @
52ee7c6e
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version A
ug 24 2011)
// C++ code generated with wxFormBuilder (version A
pr 10 2012)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
...
...
@@ -21,30 +21,33 @@ DIALOG_FIND_BASE::DIALOG_FIND_BASE( wxWindow* parent, wxWindowID id, const wxStr
m_staticText1
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Search for:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText1
->
Wrap
(
-
1
);
bSizer3
->
Add
(
m_staticText1
,
0
,
wx
ALL
,
5
);
bSizer3
->
Add
(
m_staticText1
,
0
,
wx
TOP
|
wxRIGHT
|
wxLEFT
,
5
);
m_SearchTextCtrl
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxSize
(
200
,
-
1
),
0
);
bSizer3
->
Add
(
m_SearchTextCtrl
,
0
,
wx
ALL
|
wxEXPAND
,
5
);
bSizer3
->
Add
(
m_SearchTextCtrl
,
0
,
wx
EXPAND
|
wxBOTTOM
|
wxRIGHT
|
wxLEFT
,
5
);
m_NoMouseWarpCheckBox
=
new
wxCheckBox
(
this
,
wxID_ANY
,
_
(
"Do not warp mouse pointer"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bSizer3
->
Add
(
m_NoMouseWarpCheckBox
,
0
,
wxALL
,
5
);
bSizer3
->
Add
(
m_NoMouseWarpCheckBox
,
1
,
wxALL
|
wxEXPAND
,
5
);
bSizerMain
->
Add
(
bSizer3
,
1
,
0
,
5
);
bSizerMain
->
Add
(
bSizer3
,
1
,
wxEXPAND
|
wxTOP
|
wxBOTTOM
,
5
);
wxBoxSizer
*
bSizer4
;
bSizer4
=
new
wxBoxSizer
(
wxVERTICAL
);
m_button1
=
new
wxButton
(
this
,
wxID_ANY
,
_
(
"Find Item"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_button1
->
SetDefault
();
bSizer4
->
Add
(
m_button1
,
0
,
wxALL
,
5
);
bSizer4
->
Add
(
m_button1
,
1
,
wxALL
|
wxEXPAND
,
5
);
m_button2
=
new
wxButton
(
this
,
wxID_ANY
,
_
(
"Find Marker"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bSizer4
->
Add
(
m_button2
,
0
,
wxALL
,
5
);
bSizer4
->
Add
(
m_button2
,
1
,
wxALL
|
wxEXPAND
,
5
);
m_button3
=
new
wxButton
(
this
,
wxID_CANCEL
,
_
(
"Close"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bSizer4
->
Add
(
m_button3
,
0
,
wxALL
,
5
);
bSizer4
->
Add
(
m_button3
,
1
,
wxALL
|
wxEXPAND
,
5
);
bSizerMain
->
Add
(
bSizer4
,
0
,
wxALL
,
5
);
bSizerMain
->
Add
(
bSizer4
,
0
,
0
,
5
);
this
->
SetSizer
(
bSizerMain
);
this
->
Layout
();
...
...
pcbnew/dialogs/dialog_find_base.fbp
View file @
52ee7c6e
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<wxFormBuilder_Project>
<FileVersion
major=
"1"
minor=
"1
0"
/>
<FileVersion
major=
"1"
minor=
"1
1"
/>
<object
class=
"Project"
expanded=
"1"
>
<property
name=
"class_decoration"
></property>
<property
name=
"code_generation"
>
C++
</property>
<property
name=
"disconnect_events"
>
1
</property>
<property
name=
"disconnect_mode"
>
source_name
</property>
<property
name=
"disconnect_php_events"
>
0
</property>
<property
name=
"disconnect_python_events"
>
0
</property>
<property
name=
"embedded_files_path"
>
res
</property>
<property
name=
"encoding"
>
UTF-8
</property>
...
...
@@ -19,66 +20,33 @@
<property
name=
"path"
>
.
</property>
<property
name=
"precompiled_header"
></property>
<property
name=
"relative_path"
>
1
</property>
<property
name=
"skip_php_events"
>
1
</property>
<property
name=
"skip_python_events"
>
1
</property>
<property
name=
"use_enum"
>
0
</property>
<property
name=
"use_microsoft_bom"
>
0
</property>
<object
class=
"Dialog"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
<property
name=
"TopDockable"
>
1
</property>
<property
name=
"aui_managed"
>
0
</property>
<property
name=
"aui_name"
></property>
<property
name=
"best_size"
></property>
<property
name=
"aui_manager_style"
>
wxAUI_MGR_DEFAULT
</property>
<property
name=
"bg"
></property>
<property
name=
"caption"
></property>
<property
name=
"caption_visible"
>
1
</property>
<property
name=
"center"
>
wxBOTH
</property>
<property
name=
"center_pane"
>
0
</property>
<property
name=
"close_button"
>
1
</property>
<property
name=
"context_help"
></property>
<property
name=
"context_menu"
>
1
</property>
<property
name=
"default_pane"
>
0
</property>
<property
name=
"dock"
>
Dock
</property>
<property
name=
"dock_fixed"
>
0
</property>
<property
name=
"docking"
>
Left
</property>
<property
name=
"enabled"
>
1
</property>
<property
name=
"event_handler"
>
impl_virtual
</property>
<property
name=
"extra_style"
></property>
<property
name=
"fg"
></property>
<property
name=
"floatable"
>
1
</property>
<property
name=
"font"
></property>
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"layer"
></property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
<property
name=
"min_size"
></property>
<property
name=
"minimize_button"
>
0
</property>
<property
name=
"minimum_size"
></property>
<property
name=
"moveable"
>
1
</property>
<property
name=
"name"
>
DIALOG_FIND_BASE
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"pane_position"
></property>
<property
name=
"pane_size"
></property>
<property
name=
"pin_button"
>
1
</property>
<property
name=
"pos"
></property>
<property
name=
"position"
></property>
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"row"
></property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
>
-1,-1
</property>
<property
name=
"style"
>
wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER
</property>
<property
name=
"subclass"
>
DIALOG_SHIM; dialog_shim.h
</property>
<property
name=
"title"
>
Find
</property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"tooltip"
></property>
<property
name=
"validator_data_type"
></property>
<property
name=
"validator_style"
>
wxFILTER_NONE
</property>
<property
name=
"validator_type"
>
wxDefaultValidator
</property>
<property
name=
"validator_variable"
></property>
<property
name=
"window_extra_style"
></property>
<property
name=
"window_name"
></property>
<property
name=
"window_style"
></property>
...
...
@@ -125,7 +93,7 @@
<property
name=
"permission"
>
none
</property>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
</property>
<property
name=
"flag"
>
wxEXPAND|wxTOP|wxBOTTOM
</property>
<property
name=
"proportion"
>
1
</property>
<object
class=
"wxBoxSizer"
expanded=
"1"
>
<property
name=
"minimum_size"
></property>
...
...
@@ -134,14 +102,17 @@
<property
name=
"permission"
>
none
</property>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wx
ALL
</property>
<property
name=
"flag"
>
wx
TOP|wxRIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
<property
name=
"TopDockable"
>
1
</property>
<property
name=
"aui_layer"
></property>
<property
name=
"aui_name"
></property>
<property
name=
"aui_position"
></property>
<property
name=
"aui_row"
></property>
<property
name=
"best_size"
></property>
<property
name=
"bg"
></property>
<property
name=
"caption"
></property>
...
...
@@ -162,7 +133,6 @@
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"label"
>
Search for:
</property>
<property
name=
"layer"
></property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
...
...
@@ -177,19 +147,13 @@
<property
name=
"permission"
>
protected
</property>
<property
name=
"pin_button"
>
1
</property>
<property
name=
"pos"
></property>
<property
name=
"position"
></property>
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"row"
></property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
></property>
<property
name=
"style"
></property>
<property
name=
"subclass"
></property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"tooltip"
></property>
<property
name=
"validator_data_type"
></property>
<property
name=
"validator_style"
>
wxFILTER_NONE
</property>
<property
name=
"validator_type"
>
wxDefaultValidator
</property>
<property
name=
"validator_variable"
></property>
<property
name=
"window_extra_style"
></property>
<property
name=
"window_name"
></property>
<property
name=
"window_style"
></property>
...
...
@@ -221,14 +185,17 @@
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wx
ALL|wxEXPAND
</property>
<property
name=
"flag"
>
wx
EXPAND|wxBOTTOM|wxRIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxTextCtrl"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
<property
name=
"TopDockable"
>
1
</property>
<property
name=
"aui_layer"
></property>
<property
name=
"aui_name"
></property>
<property
name=
"aui_position"
></property>
<property
name=
"aui_row"
></property>
<property
name=
"best_size"
></property>
<property
name=
"bg"
></property>
<property
name=
"caption"
></property>
...
...
@@ -248,7 +215,6 @@
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"layer"
></property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
...
...
@@ -264,9 +230,7 @@
<property
name=
"permission"
>
protected
</property>
<property
name=
"pin_button"
>
1
</property>
<property
name=
"pos"
></property>
<property
name=
"position"
></property>
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"row"
></property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
>
200,-1
</property>
<property
name=
"style"
></property>
...
...
@@ -312,14 +276,17 @@
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"flag"
>
wxALL
|wxEXPAND
</property>
<property
name=
"proportion"
>
1
</property>
<object
class=
"wxCheckBox"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
<property
name=
"TopDockable"
>
1
</property>
<property
name=
"aui_layer"
></property>
<property
name=
"aui_name"
></property>
<property
name=
"aui_position"
></property>
<property
name=
"aui_row"
></property>
<property
name=
"best_size"
></property>
<property
name=
"bg"
></property>
<property
name=
"caption"
></property>
...
...
@@ -341,7 +308,6 @@
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"label"
>
Do not warp mouse pointer
</property>
<property
name=
"layer"
></property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
...
...
@@ -356,9 +322,7 @@
<property
name=
"permission"
>
protected
</property>
<property
name=
"pin_button"
>
1
</property>
<property
name=
"pos"
></property>
<property
name=
"position"
></property>
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"row"
></property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
></property>
<property
name=
"style"
></property>
...
...
@@ -402,7 +366,7 @@
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxBoxSizer"
expanded=
"1"
>
<property
name=
"minimum_size"
></property>
...
...
@@ -411,14 +375,17 @@
<property
name=
"permission"
>
none
</property>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"flag"
>
wxALL
|wxEXPAND
</property>
<property
name=
"proportion"
>
1
</property>
<object
class=
"wxButton"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
<property
name=
"TopDockable"
>
1
</property>
<property
name=
"aui_layer"
></property>
<property
name=
"aui_name"
></property>
<property
name=
"aui_position"
></property>
<property
name=
"aui_row"
></property>
<property
name=
"best_size"
></property>
<property
name=
"bg"
></property>
<property
name=
"caption"
></property>
...
...
@@ -440,7 +407,6 @@
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"label"
>
Find Item
</property>
<property
name=
"layer"
></property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
...
...
@@ -455,9 +421,7 @@
<property
name=
"permission"
>
protected
</property>
<property
name=
"pin_button"
>
1
</property>
<property
name=
"pos"
></property>
<property
name=
"position"
></property>
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"row"
></property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
></property>
<property
name=
"style"
></property>
...
...
@@ -499,14 +463,17 @@
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"flag"
>
wxALL
|wxEXPAND
</property>
<property
name=
"proportion"
>
1
</property>
<object
class=
"wxButton"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
<property
name=
"TopDockable"
>
1
</property>
<property
name=
"aui_layer"
></property>
<property
name=
"aui_name"
></property>
<property
name=
"aui_position"
></property>
<property
name=
"aui_row"
></property>
<property
name=
"best_size"
></property>
<property
name=
"bg"
></property>
<property
name=
"caption"
></property>
...
...
@@ -528,7 +495,6 @@
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"label"
>
Find Marker
</property>
<property
name=
"layer"
></property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
...
...
@@ -543,9 +509,7 @@
<property
name=
"permission"
>
protected
</property>
<property
name=
"pin_button"
>
1
</property>
<property
name=
"pos"
></property>
<property
name=
"position"
></property>
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"row"
></property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
></property>
<property
name=
"style"
></property>
...
...
@@ -587,14 +551,17 @@
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"flag"
>
wxALL
|wxEXPAND
</property>
<property
name=
"proportion"
>
1
</property>
<object
class=
"wxButton"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
<property
name=
"TopDockable"
>
1
</property>
<property
name=
"aui_layer"
></property>
<property
name=
"aui_name"
></property>
<property
name=
"aui_position"
></property>
<property
name=
"aui_row"
></property>
<property
name=
"best_size"
></property>
<property
name=
"bg"
></property>
<property
name=
"caption"
></property>
...
...
@@ -616,7 +583,6 @@
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_CANCEL
</property>
<property
name=
"label"
>
Close
</property>
<property
name=
"layer"
></property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
...
...
@@ -631,9 +597,7 @@
<property
name=
"permission"
>
protected
</property>
<property
name=
"pin_button"
>
1
</property>
<property
name=
"pos"
></property>
<property
name=
"position"
></property>
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"row"
></property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
></property>
<property
name=
"style"
></property>
...
...
pcbnew/dialogs/dialog_find_base.h
View file @
52ee7c6e
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version A
ug 24 2011)
// C++ code generated with wxFormBuilder (version A
pr 10 2012)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
...
...
@@ -11,8 +11,6 @@
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/intl.h>
class
DIALOG_SHIM
;
#include "dialog_shim.h"
#include <wx/string.h>
#include <wx/stattext.h>
...
...
pcbnew/export_vrml.cpp
View file @
52ee7c6e
#include <fctsys.h>
#include <confirm.h>
#include <kicad_string.h>
#include <gestfich.h>
#include <wxPcbStruct.h>
#include <drawtxt.h>
#include <trigo.h>
...
...
@@ -21,6 +19,8 @@
#include <cmath>
#define SEGM_COUNT_PER_360 32 // Number of segments to approximate a circle per segments
/* helper function:
* some characters cannot be used in names,
* this function change them to "_"
...
...
@@ -43,8 +43,9 @@ private:
wxConfig
*
m_config
;
int
m_unitsOpt
;
// to remember last option
int
m_3DFilesOpt
;
// to remember last option
virtual
void
OnCancelClick
(
wxCommandEvent
&
event
){
EndModal
(
wxID_CANCEL
);
}
virtual
void
OnOkClick
(
wxCommandEvent
&
event
){
EndModal
(
wxID_OK
);
}
void
OnCancelClick
(
wxCommandEvent
&
event
){
EndModal
(
wxID_CANCEL
);
}
void
OnOkClick
(
wxCommandEvent
&
event
){
EndModal
(
wxID_OK
);
}
public
:
DIALOG_EXPORT_3DFILE
(
PCB_EDIT_FRAME
*
parent
)
:
...
...
@@ -104,7 +105,8 @@ struct VRMLPt
};
struct
FlatPt
{
FlatPt
(
double
_x
=
0
,
double
_y
=
0
)
:
x
(
_x
),
y
(
_y
)
{
}
FlatPt
(
double
_x
=
0
,
double
_y
=
0
)
:
x
(
_x
),
y
(
_y
)
{
}
double
x
,
y
;
};
struct
Triangle
...
...
@@ -277,7 +279,7 @@ static void write_triangle_bag( FILE* output_file, int color_index, //{{{
" }
\n
"
,
" }
\n
"
,
" geometry IndexedFaceSet {
\n
"
,
" solid
true
\n
"
,
" solid
TRUE
\n
"
,
" coord Coordinate {
\n
"
,
" point [
\n
"
,
0
,
// Coordinates marker
...
...
@@ -383,7 +385,7 @@ static void compute_layer_Zs( BOARD* pcb ) //{{{
/* To avoid rounding interference, we apply an epsilon to each
* successive layer */
const
double
epsilon_z
=
1
0
;
// That's 1 mils, about 1/50 mm
const
double
epsilon_z
=
1
*
IU_PER_MILS
;
// That's 1 mils, about 1/50 mm
layer_z
[
SOLDERPASTE_N_BACK
]
=
-
half_thickness
-
epsilon_z
*
4
;
layer_z
[
ADHESIVE_N_BACK
]
=
-
half_thickness
-
epsilon_z
*
3
;
layer_z
[
SILKSCREEN_N_BACK
]
=
-
half_thickness
-
epsilon_z
*
2
;
...
...
@@ -429,8 +431,8 @@ static void export_vrml_line( int layer, double startx, double starty, //{{{
}
static
void
export_vrml_circle
(
int
layer
,
double
startx
,
double
starty
,
//{{{
double
endx
,
double
endy
,
double
width
,
int
divisions
)
static
void
export_vrml_circle
(
int
layer
,
double
startx
,
double
starty
,
double
endx
,
double
endy
,
double
width
)
{
double
hole
,
radius
;
FlatRing
ring
;
...
...
@@ -438,7 +440,7 @@ static void export_vrml_circle( int layer, double startx, double starty, //{{{
radius
=
hypot
(
startx
-
endx
,
starty
-
endy
)
+
(
width
/
2
);
hole
=
radius
-
width
;
for
(
double
alpha
=
0
;
alpha
<
M_PI
*
2
;
alpha
+=
M_PI
*
2
/
divisions
)
for
(
double
alpha
=
0
;
alpha
<
M_PI
*
2
;
alpha
+=
M_PI
*
2
/
SEGM_COUNT_PER_360
)
{
ring
.
add_inner
(
startx
+
hole
*
cos
(
alpha
),
starty
+
hole
*
sin
(
alpha
)
);
ring
.
add_outer
(
startx
+
radius
*
cos
(
alpha
),
starty
+
radius
*
sin
(
alpha
)
);
...
...
@@ -450,10 +452,11 @@ static void export_vrml_circle( int layer, double startx, double starty, //{{{
static
void
export_vrml_slot
(
TriangleBag
&
triangles
,
//{{{
int
top_layer
,
int
bottom_layer
,
double
xc
,
double
yc
,
double
dx
,
double
dy
,
int
orient
,
int
divisions
)
double
dx
,
double
dy
,
int
orient
)
{
double
capx
,
capy
;
// Cap center
VLoop
loop
;
int
divisions
=
SEGM_COUNT_PER_360
/
2
;
loop
.
z_top
=
layer_z
[
top_layer
];
loop
.
z_bottom
=
layer_z
[
bottom_layer
];
...
...
@@ -491,45 +494,23 @@ static void export_vrml_slot( TriangleBag& triangles, //{{{
}
static
void
export_vrml_hole
(
TriangleBag
&
triangles
,
//{{{
int
top_layer
,
int
bottom_layer
,
double
xc
,
double
yc
,
double
hole
,
int
divisions
)
static
void
export_vrml_hole
(
TriangleBag
&
triangles
,
int
top_layer
,
int
bottom_layer
,
double
xc
,
double
yc
,
double
hole
)
{
VLoop
loop
;
loop
.
z_top
=
layer_z
[
top_layer
];
loop
.
z_bottom
=
layer_z
[
bottom_layer
];
for
(
double
alpha
=
0
;
alpha
<
M_PI
*
2
;
alpha
+=
M_PI
*
2
/
divisions
)
for
(
double
alpha
=
0
;
alpha
<
M_PI
*
2
;
alpha
+=
M_PI
*
2
/
SEGM_COUNT_PER_360
)
loop
.
add
(
xc
+
cos
(
alpha
)
*
hole
,
yc
+
sin
(
alpha
)
*
hole
);
loop
.
bag
(
triangles
);
}
static
void
export_vrml_varc
(
TriangleBag
&
triangles
,
//{{{
int
top_layer
,
int
bottom_layer
,
double
startx
,
double
starty
,
double
endx
,
double
endy
,
int
divisions
)
{
VLoop
loop
;
loop
.
z_top
=
layer_z
[
top_layer
];
loop
.
z_bottom
=
layer_z
[
bottom_layer
];
double
angle
=
atan2
(
endx
-
startx
,
endy
-
starty
);
double
radius
=
hypot
(
startx
-
endx
,
starty
-
endy
);
for
(
double
alpha
=
angle
;
alpha
<
angle
+
PI2
;
alpha
+=
PI2
/
divisions
)
{
loop
.
add
(
startx
+
cos
(
alpha
)
*
radius
,
starty
+
sin
(
alpha
)
*
radius
);
}
loop
.
bag
(
triangles
);
}
static
void
export_vrml_oval_pad
(
int
layer
,
//{{{
double
xc
,
double
yc
,
double
dx
,
double
dy
,
int
orient
,
int
divisions
)
static
void
export_vrml_oval_pad
(
int
layer
,
double
xc
,
double
yc
,
double
dx
,
double
dy
,
int
orient
)
{
double
capx
,
capy
;
// Cap center
FlatFan
fan
;
...
...
@@ -537,6 +518,7 @@ static void export_vrml_oval_pad( int layer, //{{{
fan
.
c
.
x
=
xc
;
fan
.
c
.
y
=
yc
;
double
angle
=
orient
/
1800.0
*
M_PI
;
int
divisions
=
SEGM_COUNT_PER_360
/
2
;
if
(
dy
>
dx
)
{
...
...
@@ -570,23 +552,66 @@ static void export_vrml_oval_pad( int layer, //{{{
}
static
void
export_vrml_arc
(
int
layer
,
double
startx
,
double
starty
,
//{{{
double
endx
,
double
endy
,
double
width
,
int
divisions
)
static
void
export_vrml_arc
(
int
layer
,
double
centerx
,
double
centery
,
double
arc_startx
,
double
arc_starty
,
double
width
,
double
arc_angle
)
{
FlatRing
ring
;
double
hole
,
radius
;
double
angle
=
atan2
(
endx
-
startx
,
endy
-
starty
);
double
start_angle
=
atan2
(
arc_starty
-
centery
,
arc_startx
-
centerx
);
int
count
=
KiROUND
(
arc_angle
/
360.0
*
SEGM_COUNT_PER_360
);
if
(
count
<
0
)
count
=
-
count
;
if
(
count
==
0
)
count
=
1
;
double
divisions
=
arc_angle
*
M_PI
/
180.0
/
count
;
double
outer_radius
=
hypot
(
arc_starty
-
centery
,
arc_startx
-
centerx
)
+
(
width
/
2
);
double
inner_radius
=
outer_radius
-
width
;
double
alpha
=
0
;
for
(
int
ii
=
0
;
ii
<=
count
;
alpha
+=
divisions
,
ii
++
)
{
double
angle_rot
=
start_angle
+
alpha
;
ring
.
add_inner
(
centerx
+
cos
(
angle_rot
)
*
inner_radius
,
centery
+
sin
(
angle_rot
)
*
inner_radius
);
ring
.
add_outer
(
centerx
+
cos
(
angle_rot
)
*
outer_radius
,
centery
+
sin
(
angle_rot
)
*
outer_radius
);
}
radius
=
hypot
(
startx
-
endx
,
starty
-
endy
)
+
(
width
/
2
);
hole
=
radius
-
width
;
ring
.
bag
(
layer
,
false
);
}
static
void
export_vrml_varc
(
TriangleBag
&
triangles
,
int
top_layer
,
int
bottom_layer
,
double
centerx
,
double
centery
,
double
arc_startx
,
double
arc_starty
,
double
arc_angle
)
{
VLoop
loop
;
loop
.
z_top
=
layer_z
[
top_layer
];
loop
.
z_bottom
=
layer_z
[
bottom_layer
];
for
(
double
alpha
=
angle
;
alpha
<
angle
+
PI2
;
alpha
+=
PI2
/
divisions
)
double
start_angle
=
atan2
(
arc_starty
-
centery
,
arc_startx
-
centerx
);
double
radius
=
hypot
(
arc_starty
-
centery
,
arc_startx
-
centerx
);
int
count
=
KiROUND
(
arc_angle
/
360.0
*
SEGM_COUNT_PER_360
);
if
(
count
<
0
)
count
=
-
count
;
if
(
count
==
0
)
count
=
1
;
double
divisions
=
arc_angle
*
M_PI
/
180.0
/
count
;
double
alpha
=
0
;
for
(
int
ii
=
0
;
ii
<=
count
;
alpha
+=
divisions
,
ii
++
)
{
ring
.
add_inner
(
startx
+
cos
(
alpha
)
*
hole
,
starty
+
sin
(
alpha
)
*
hole
)
;
ring
.
add_outer
(
startx
+
cos
(
alpha
)
*
radius
,
starty
+
sin
(
alpha
)
*
radius
);
double
angle_rot
=
start_angle
+
alpha
;
loop
.
add
(
centerx
+
cos
(
angle_rot
)
*
radius
,
centery
+
sin
(
angle_rot
)
*
radius
);
}
ring
.
bag
(
layer
,
false
);
loop
.
bag
(
triangles
);
}
...
...
@@ -608,14 +633,14 @@ static void export_vrml_drawsegment( DRAWSEGMENT* drawseg ) //{{{
case
S_ARC
:
export_vrml_varc
(
layer_triangles
[
layer
],
FIRST_COPPER_LAYER
,
LAST_COPPER_LAYER
,
x
,
y
,
xf
,
yf
,
4
);
x
,
y
,
xf
,
yf
,
drawseg
->
GetAngle
()
/
10
);
break
;
// Circles on edge are usually important holes
case
S_CIRCLE
:
export_vrml_hole
(
layer_triangles
[
layer
],
FIRST_COPPER_LAYER
,
LAST_COPPER_LAYER
,
x
,
y
,
hypot
(
xf
-
x
,
yf
-
y
)
/
2
,
12
);
hypot
(
xf
-
x
,
yf
-
y
)
/
2
);
break
;
default
:
...
...
@@ -633,11 +658,16 @@ static void export_vrml_drawsegment( DRAWSEGMENT* drawseg ) //{{{
switch
(
drawseg
->
GetShape
()
)
{
case
S_ARC
:
export_vrml_arc
(
layer
,
x
,
y
,
xf
,
yf
,
w
,
3
);
export_vrml_arc
(
layer
,
(
double
)
drawseg
->
GetCenter
().
x
,
(
double
)
drawseg
->
GetCenter
().
y
,
(
double
)
drawseg
->
GetArcStart
().
x
,
(
double
)
drawseg
->
GetArcStart
().
y
,
w
,
drawseg
->
GetAngle
()
/
10
);
break
;
case
S_CIRCLE
:
export_vrml_circle
(
layer
,
x
,
y
,
xf
,
yf
,
w
,
12
);
export_vrml_circle
(
layer
,
x
,
y
,
xf
,
yf
,
w
);
break
;
default
:
...
...
@@ -727,7 +757,7 @@ static void export_vrml_drawings( BOARD* pcb ) //{{{
static
void
export_round_padstack
(
BOARD
*
pcb
,
double
x
,
double
y
,
double
r
,
//{{{
int
bottom_layer
,
int
top_layer
,
int
divisions
)
int
bottom_layer
,
int
top_layer
)
{
int
copper_layers
=
pcb
->
GetCopperLayerCount
(
);
...
...
@@ -738,7 +768,7 @@ static void export_round_padstack( BOARD* pcb, double x, double y, double r, //{
layer
=
LAST_COPPER_LAYER
;
if
(
layer
<=
top_layer
)
export_vrml_circle
(
layer
,
x
,
y
,
x
+
r
/
2
,
y
,
r
,
divisions
);
export_vrml_circle
(
layer
,
x
,
y
,
x
+
r
/
2
,
y
,
r
);
}
}
...
...
@@ -755,10 +785,10 @@ static void export_vrml_via( BOARD* pcb, SEGVIA* via ) //{{{
via
->
ReturnLayerPair
(
&
top_layer
,
&
bottom_layer
);
// Export the via padstack
export_round_padstack
(
pcb
,
x
,
y
,
r
,
bottom_layer
,
top_layer
,
8
);
export_round_padstack
(
pcb
,
x
,
y
,
r
,
bottom_layer
,
top_layer
);
// Drill a
rough
hole
export_vrml_hole
(
via_triangles
[
via
->
m_Shape
],
top_layer
,
bottom_layer
,
x
,
y
,
hole
,
8
);
// Drill a hole
export_vrml_hole
(
via_triangles
[
via
->
m_Shape
],
top_layer
,
bottom_layer
,
x
,
y
,
hole
);
}
...
...
@@ -853,23 +883,23 @@ static void export_vrml_text_module( TEXTE_MODULE* module ) //{{{
}
static
void
export_vrml_edge_module
(
EDGE_MODULE
*
modul
e
)
//{{{
static
void
export_vrml_edge_module
(
EDGE_MODULE
*
aOutlin
e
)
//{{{
{
int
layer
=
modul
e
->
GetLayer
();
double
x
=
modul
e
->
GetStart
().
x
;
double
y
=
modul
e
->
GetStart
().
y
;
double
xf
=
modul
e
->
GetEnd
().
x
;
double
yf
=
modul
e
->
GetEnd
().
y
;
double
w
=
modul
e
->
GetWidth
();
int
layer
=
aOutlin
e
->
GetLayer
();
double
x
=
aOutlin
e
->
GetStart
().
x
;
double
y
=
aOutlin
e
->
GetStart
().
y
;
double
xf
=
aOutlin
e
->
GetEnd
().
x
;
double
yf
=
aOutlin
e
->
GetEnd
().
y
;
double
w
=
aOutlin
e
->
GetWidth
();
switch
(
modul
e
->
GetShape
()
)
switch
(
aOutlin
e
->
GetShape
()
)
{
case
S_ARC
:
export_vrml_arc
(
layer
,
x
,
y
,
xf
,
yf
,
w
,
3
);
export_vrml_arc
(
layer
,
x
,
y
,
xf
,
yf
,
w
,
aOutline
->
GetAngle
()
/
10
);
break
;
case
S_CIRCLE
:
export_vrml_circle
(
layer
,
x
,
y
,
xf
,
yf
,
w
,
12
);
export_vrml_circle
(
layer
,
x
,
y
,
xf
,
yf
,
w
);
break
;
default:
...
...
@@ -895,14 +925,14 @@ static void export_vrml_pad( BOARD* pcb, D_PAD* aPad ) //{{{
// Oblong hole (slot)
export_vrml_slot
(
layer_triangles
[
EDGE_N
],
FIRST_COPPER_LAYER
,
LAST_COPPER_LAYER
,
hole_x
,
hole_y
,
hole_drill_w
,
hole_drill_h
,
aPad
->
GetOrientation
()
,
6
);
hole_x
,
hole_y
,
hole_drill_w
,
hole_drill_h
,
aPad
->
GetOrientation
()
);
}
else
{
// Drill a round hole
export_vrml_hole
(
layer_triangles
[
EDGE_N
],
FIRST_COPPER_LAYER
,
LAST_COPPER_LAYER
,
hole_x
,
hole_y
,
hole_drill
,
12
);
hole_x
,
hole_y
,
hole_drill
);
}
}
...
...
@@ -935,13 +965,12 @@ static void export_vrml_pad( BOARD* pcb, D_PAD* aPad ) //{{{
{
case
PAD_CIRCLE
:
export_vrml_circle
(
layer
,
pad_x
,
pad_y
,
pad_x
+
pad_w
/
2
,
pad_y
,
pad_w
,
12
);
pad_x
+
pad_w
/
2
,
pad_y
,
pad_w
);
break
;
case
PAD_OVAL
:
export_vrml_oval_pad
(
layer
,
pad_x
,
pad_y
,
pad_w
*
2
,
pad_h
*
2
,
aPad
->
GetOrientation
(),
4
);
export_vrml_oval_pad
(
layer
,
pad_x
,
pad_y
,
pad_w
*
2
,
pad_h
*
2
,
aPad
->
GetOrientation
()
);
break
;
case
PAD_RECT
:
...
...
@@ -1192,7 +1221,7 @@ wxBusyCursor dummy;
if
(
!
ExportVRML_File
(
fullFilename
,
scale
,
export3DFiles
,
subDirFor3Dshapes
)
)
{
wxString
msg
=
_
(
"Unable to create "
)
+
fullFilename
;
DisplayError
(
this
,
msg
);
wxMessageBox
(
msg
);
return
;
}
}
...
...
pcbnew/find.pjd
deleted
100644 → 0
View file @
05880921
<?xml version="1.0" encoding="UTF-8"?>
<anthemion-project
version=
"1.0.0.0"
xmlns=
"http://www.anthemion.co.uk"
>
<header>
<long
name=
"name_counter"
>
0
</long>
<string
name=
"html_path"
>
""
</string>
<string
name=
"title"
>
""
</string>
<string
name=
"author"
>
""
</string>
<string
name=
"description"
>
""
</string>
<string
name=
"xrc_filename"
>
""
</string>
<bool
name=
"convert_images_to_xpm"
>
0
</bool>
<bool
name=
"inline_images"
>
0
</bool>
<bool
name=
"generate_cpp_for_xrc"
>
0
</bool>
<long
name=
"working_mode"
>
1
</long>
<bool
name=
"use_help_text_for_tooltips"
>
1
</bool>
<bool
name=
"translate_strings"
>
1
</bool>
<bool
name=
"make_unicode_strings"
>
1
</bool>
<bool
name=
"extract_strings"
>
0
</bool>
<string
name=
"user_name"
>
"jean-pierre Charras"
</string>
<string
name=
"copyright_string"
>
"License GNU"
</string>
<string
name=
"resource_prefix"
>
""
</string>
<bool
name=
"use_two_step_construction"
>
0
</bool>
<bool
name=
"use_enums"
>
0
</bool>
<bool
name=
"generate_for_xrced"
>
0
</bool>
<string
name=
"current_platform"
>
"
<
All platforms
>
"
</string>
<string
name=
"target_wx_version"
>
"
<
Any
>
"
</string>
<string
name=
"cpp_header_comment"
>
"/////////////////////////////////////////////////////////////////////////////
// Name: %HEADER-FILENAME%
// Purpose:
// Author: %AUTHOR%
// Modified by:
// Created: %DATE%
// RCS-ID:
// Copyright: %COPYRIGHT%
// Licence:
/////////////////////////////////////////////////////////////////////////////
"
</string>
<string
name=
"cpp_implementation_comment"
>
"/////////////////////////////////////////////////////////////////////////////
// Name: %SOURCE-FILENAME%
// Purpose:
// Author: %AUTHOR%
// Modified by:
// Created: %DATE%
// RCS-ID:
// Copyright: %COPYRIGHT%
// Licence:
/////////////////////////////////////////////////////////////////////////////
"
</string>
<string
name=
"cpp_symbols_file_comment"
>
"/////////////////////////////////////////////////////////////////////////////
// Name: %SYMBOLS-FILENAME%
// Purpose: Symbols file
// Author: %AUTHOR%
// Modified by:
// Created: %DATE%
// RCS-ID:
// Copyright: %COPYRIGHT%
// Licence:
/////////////////////////////////////////////////////////////////////////////
"
</string>
<string
name=
"cpp_header_preamble"
>
"#if defined(__GNUG__)
&&
!defined(NO_GCC_PRAGMA)
#pragma interface
"
%HEADER-FILENAME%
"
#endif
"
</string>
<string
name=
"cpp_implementation_preamble"
>
"#if defined(__GNUG__)
&&
!defined(NO_GCC_PRAGMA)
#pragma implementation
"
%HEADER-FILENAME%
"
#endif
// For compilers that support precompilation, includes
"
wx/wx.h
"
.
#include
"
wx/wxprec.h
"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include
"
wx/wx.h
"
#endif
"
</string>
<string
name=
"cpp_function_declaration_comment"
>
" /// %BODY%
"
</string>
<string
name=
"cpp_function_implementation_comment"
>
"
/*!
* %BODY%
*/
"
</string>
<string
name=
"resource_file_header"
>
"app_resources.h"
</string>
<string
name=
"resource_file_implementation"
>
"app_resources.cpp"
</string>
<string
name=
"resource_class_name"
>
"AppResources"
</string>
<string
name=
"app_file_header"
>
"app.h"
</string>
<string
name=
"app_file_implementation"
>
"app.cpp"
</string>
<string
name=
"app_class_name"
>
"Application"
</string>
<bool
name=
"generate_app_class"
>
0
</bool>
<string
name=
"external_symbol_filenames"
>
""
</string>
<string
name=
"configuration"
>
"
<
None
>
"
</string>
<string
name=
"source_encoding"
>
"
<
System
>
"
</string>
<string
name=
"xrc_encoding"
>
"utf-8"
</string>
<string
name=
"project_encoding"
>
"
<
System
>
"
</string>
<string
name=
"resource_archive"
>
""
</string>
<long
name=
"text_file_type"
>
0
</long>
<bool
name=
"use_tabs"
>
0
</bool>
<long
name=
"indent_size"
>
4
</long>
<string
name=
"whitespace_after_return_type"
>
" "
</string>
<string
name=
"resource_xrc_cpp"
>
""
</string>
<bool
name=
"use_resource_archive"
>
0
</bool>
<bool
name=
"use_generated_xrc_cpp"
>
0
</bool>
<bool
name=
"always_generate_xrc"
>
1
</bool>
<bool
name=
"use_id_name_for_name"
>
0
</bool>
<bool
name=
"archive_xrc_files"
>
1
</bool>
<bool
name=
"archive_image_files"
>
1
</bool>
<bool
name=
"archive_all_image_files"
>
0
</bool>
<bool
name=
"xrc_retain_relative_paths"
>
1
</bool>
<bool
name=
"xrc_generate_id_tags"
>
0
</bool>
<bool
name=
"xrc_use_name_property"
>
0
</bool>
</header>
<data>
<document>
<string
name=
"title"
>
""
</string>
<string
name=
"type"
>
"data-document"
</string>
<string
name=
"filename"
>
""
</string>
<string
name=
"icon-name"
>
""
</string>
<long
name=
"is-transient"
>
0
</long>
<long
name=
"owns-file"
>
1
</long>
<long
name=
"title-mode"
>
0
</long>
<long
name=
"locked"
>
0
</long>
<document>
<string
name=
"title"
>
"Configurations"
</string>
<string
name=
"type"
>
"config-data-document"
</string>
<string
name=
"filename"
>
""
</string>
<string
name=
"icon-name"
>
""
</string>
<long
name=
"is-transient"
>
0
</long>
<long
name=
"owns-file"
>
1
</long>
<long
name=
"title-mode"
>
0
</long>
<long
name=
"locked"
>
0
</long>
<string
name=
"template-name"
>
""
</string>
<bool
name=
"dirty"
>
1
</bool>
<long
name=
"makefile-last-written"
>
0
</long>
<string
name=
"Compiler name"
>
""
</string>
<string
name=
"Build mode"
>
"Debug"
</string>
<string
name=
"Unicode mode"
>
"ANSI"
</string>
<string
name=
"Shared mode"
>
"Static"
</string>
<string
name=
"Modularity"
>
"Modular"
</string>
<string
name=
"GUI mode"
>
"GUI"
</string>
<string
name=
"Toolkit"
>
"wxMSW"
</string>
<string
name=
"Runtime linking"
>
"Dynamic"
</string>
<string
name=
"Use exceptions"
>
"Yes"
</string>
<string
name=
"Use ODBC"
>
"No"
</string>
<string
name=
"Use OpenGL"
>
"No"
</string>
<string
name=
"wxWidgets version"
>
"%WXVERSION%"
</string>
<string
name=
"Executable name"
>
"%EXECUTABLE%"
</string>
<string
name=
"Program arguments"
>
""
</string>
<string
name=
"Working path"
>
"%AUTO%"
</string>
<string
name=
"Output path"
>
"%AUTO%"
</string>
<string
name=
"Objects path"
>
"%AUTO%"
</string>
<string
name=
"Compiler location"
>
"%AUTO%"
</string>
<string
name=
"wxWidgets location"
>
"%AUTO%"
</string>
<string
name=
"C++ command"
>
"%AUTO%"
</string>
<string
name=
"C command"
>
"%AUTO%"
</string>
<string
name=
"Resource compiler"
>
"%AUTO%"
</string>
<string
name=
"Make command"
>
"%AUTO%"
</string>
<string
name=
"Project makefile"
>
"%AUTO%"
</string>
<string
name=
"wxWidgets makefile"
>
"%AUTO%"
</string>
<string
name=
"Compiler bin path"
>
"%AUTO%"
</string>
<string
name=
"Compiler include path"
>
"%AUTO%"
</string>
<string
name=
"Compiler lib path"
>
"%AUTO%"
</string>
<string
name=
"Preprocessor flags"
>
"%AUTO%"
</string>
<string
name=
"Optimizations"
>
"%AUTO%"
</string>
<string
name=
"Warnings"
>
"%AUTO%"
</string>
<string
name=
"Debug flags"
>
"%AUTO%"
</string>
<string
name=
"Extra compile flags"
>
"%AUTO%"
</string>
<string
name=
"Libraries"
>
"%AUTO%"
</string>
<string
name=
"Library path"
>
"%AUTO%"
</string>
<string
name=
"Linker flags"
>
"%AUTO%"
</string>
<string
name=
"Include path"
>
"%AUTO%"
</string>
<string
name=
"Resource flags"
>
"%AUTO%"
</string>
<string
name=
"Resource path"
>
"%AUTO%"
</string>
<string
name=
"wxWidgets build path"
>
"%AUTO%"
</string>
<string
name=
"wxWidgets build command"
>
"%AUTO%"
</string>
<string
name=
"wxWidgets clean command"
>
"%AUTO%"
</string>
<string
name=
"PATH variable"
>
"%AUTO%"
</string>
<bool
name=
"Suppress source rules"
>
0
</bool>
<bool
name=
"Enable makefile generation"
>
1
</bool>
<string
name=
"CFG"
>
""
</string>
</document>
</document>
</data>
<documents>
<document>
<string
name=
"title"
>
"Projects"
</string>
<string
name=
"type"
>
"root-document"
</string>
<string
name=
"filename"
>
""
</string>
<string
name=
"icon-name"
>
"project"
</string>
<long
name=
"is-transient"
>
1
</long>
<long
name=
"owns-file"
>
1
</long>
<long
name=
"title-mode"
>
0
</long>
<long
name=
"locked"
>
1
</long>
<document>
<string
name=
"title"
>
"Windows"
</string>
<string
name=
"type"
>
"html-document"
</string>
<string
name=
"filename"
>
""
</string>
<string
name=
"icon-name"
>
"dialogsfolder"
</string>
<long
name=
"is-transient"
>
1
</long>
<long
name=
"owns-file"
>
1
</long>
<long
name=
"title-mode"
>
0
</long>
<long
name=
"locked"
>
1
</long>
<document>
<string
name=
"title"
>
"Find"
</string>
<string
name=
"type"
>
"dialog-document"
</string>
<string
name=
"filename"
>
""
</string>
<string
name=
"icon-name"
>
"dialog"
</string>
<long
name=
"is-transient"
>
0
</long>
<long
name=
"owns-file"
>
1
</long>
<long
name=
"title-mode"
>
0
</long>
<long
name=
"locked"
>
0
</long>
<string
name=
"created"
>
"4/3/2006"
</string>
<string
name=
"proxy-type"
>
"wbDialogProxy"
</string>
<long
name=
"base-id"
>
10000
</long>
<bool
name=
"use-id-prefix"
>
0
</bool>
<string
name=
"id-prefix"
>
""
</string>
<bool
name=
"use-id-suffix"
>
0
</bool>
<string
name=
"id-suffix"
>
""
</string>
<long
name=
"use-xrc"
>
0
</long>
<long
name=
"working-mode"
>
0
</long>
<string
name=
"proxy-Id name"
>
"ID_DIALOG"
</string>
<long
name=
"proxy-Id value"
>
10000
</long>
<string
name=
"proxy-Class"
>
"WinEDA_PcbFindFrame"
</string>
<string
name=
"proxy-Base class"
>
"wxDialog"
</string>
<string
name=
"proxy-Window kind"
>
"wxDialog"
</string>
<string
name=
"proxy-Implementation filename"
>
"find.cpp"
</string>
<string
name=
"proxy-Header filename"
>
"find.h"
</string>
<string
name=
"proxy-XRC filename"
>
""
</string>
<string
name=
"proxy-Title"
>
"Find"
</string>
<bool
name=
"proxy-Centre"
>
1
</bool>
<string
name=
"proxy-Icon"
>
""
</string>
<bool
name=
"proxy-Dialog units"
>
0
</bool>
<string
name=
"proxy-Help text"
>
""
</string>
<string
name=
"proxy-Tooltip text"
>
""
</string>
<string
name=
"proxy-Background colour"
>
""
</string>
<string
name=
"proxy-Foreground colour"
>
""
</string>
<string
name=
"proxy-Font"
>
""
</string>
<bool
name=
"proxy-Hidden"
>
0
</bool>
<bool
name=
"proxy-Enabled"
>
1
</bool>
<string
name=
"proxy-Platform"
>
"
<
Any platform
>
"
</string>
<string
name=
"proxy-Data source"
>
""
</string>
<string
name=
"proxy-Data class name"
>
""
</string>
<string
name=
"proxy-Data class implementation filename"
>
""
</string>
<string
name=
"proxy-Data class header filename"
>
""
</string>
<string
name=
"proxy-Data class manager window"
>
""
</string>
<string
name=
"proxy-Texture"
>
""
</string>
<string
name=
"proxy-Texture style"
>
"Tiled"
</string>
<bool
name=
"proxy-wxDEFAULT_DIALOG_STYLE"
>
0
</bool>
<bool
name=
"proxy-wxCAPTION"
>
1
</bool>
<bool
name=
"proxy-wxRESIZE_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxSYSTEM_MENU"
>
1
</bool>
<bool
name=
"proxy-wxSTAY_ON_TOP"
>
0
</bool>
<bool
name=
"proxy-wxDIALOG_NO_PARENT"
>
0
</bool>
<bool
name=
"proxy-wxCLOSE_BOX"
>
1
</bool>
<bool
name=
"proxy-wxMAXIMIZE_BOX"
>
0
</bool>
<bool
name=
"proxy-wxMINIMIZE_BOX"
>
0
</bool>
<bool
name=
"proxy-wxDIALOG_MODAL"
>
0
</bool>
<bool
name=
"proxy-wxNO_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxSIMPLE_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxDOUBLE_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxSUNKEN_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxRAISED_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxSTATIC_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxWANTS_CHARS"
>
0
</bool>
<bool
name=
"proxy-wxNO_FULL_REPAINT_ON_RESIZE"
>
0
</bool>
<bool
name=
"proxy-wxFULL_REPAINT_ON_RESIZE"
>
0
</bool>
<bool
name=
"proxy-wxCLIP_CHILDREN"
>
0
</bool>
<bool
name=
"proxy-wxTAB_TRAVERSAL"
>
0
</bool>
<bool
name=
"proxy-wxWS_EX_VALIDATE_RECURSIVELY"
>
0
</bool>
<bool
name=
"proxy-wxWS_EX_BLOCK_EVENTS"
>
1
</bool>
<bool
name=
"proxy-wxWS_EX_TRANSIENT"
>
0
</bool>
<string
name=
"proxy-Custom styles"
>
"MAYBE_RESIZE_BORDER"
</string>
<bool
name=
"proxy-wxDIALOG_EX_CONTEXTHELP"
>
0
</bool>
<bool
name=
"proxy-Fit to content"
>
1
</bool>
<long
name=
"proxy-X"
>
-1
</long>
<long
name=
"proxy-Y"
>
-1
</long>
<long
name=
"proxy-Width"
>
400
</long>
<long
name=
"proxy-Height"
>
300
</long>
<bool
name=
"proxy-AUI manager"
>
0
</bool>
<string
name=
"proxy-Event sources"
>
""
</string>
<document>
<string
name=
"title"
>
"wxBoxSizer V"
</string>
<string
name=
"type"
>
"dialog-control-document"
</string>
<string
name=
"filename"
>
""
</string>
<string
name=
"icon-name"
>
"sizer"
</string>
<long
name=
"is-transient"
>
0
</long>
<long
name=
"owns-file"
>
1
</long>
<long
name=
"title-mode"
>
0
</long>
<long
name=
"locked"
>
0
</long>
<string
name=
"proxy-type"
>
"wbBoxSizerProxy"
</string>
<string
name=
"proxy-Orientation"
>
"Vertical"
</string>
<string
name=
"proxy-Member variable name"
>
""
</string>
<bool
name=
"proxy-wxSHAPED"
>
0
</bool>
<bool
name=
"proxy-wxADJUST_MINSIZE"
>
0
</bool>
<bool
name=
"proxy-wxFIXED_MINSIZE"
>
0
</bool>
<string
name=
"proxy-Platform"
>
"
<
Any platform
>
"
</string>
<document>
<string
name=
"title"
>
"wxStaticText: wxID_STATIC"
</string>
<string
name=
"type"
>
"dialog-control-document"
</string>
<string
name=
"filename"
>
""
</string>
<string
name=
"icon-name"
>
"statictext"
</string>
<long
name=
"is-transient"
>
0
</long>
<long
name=
"owns-file"
>
1
</long>
<long
name=
"title-mode"
>
0
</long>
<long
name=
"locked"
>
0
</long>
<string
name=
"created"
>
"4/3/2006"
</string>
<string
name=
"proxy-type"
>
"wbStaticTextProxy"
</string>
<string
name=
"proxy-Id name"
>
"wxID_STATIC"
</string>
<long
name=
"proxy-Id value"
>
5105
</long>
<string
name=
"proxy-Name"
>
""
</string>
<string
name=
"proxy-Class"
>
"wxStaticText"
</string>
<string
name=
"proxy-Base class"
>
"wxStaticText"
</string>
<bool
name=
"proxy-External implementation"
>
1
</bool>
<bool
name=
"proxy-Separate files"
>
0
</bool>
<string
name=
"proxy-Implementation filename"
>
""
</string>
<string
name=
"proxy-Header filename"
>
""
</string>
<string
name=
"proxy-Member variable name"
>
""
</string>
<string
name=
"proxy-Label"
>
"Item to find:"
</string>
<long
name=
"proxy-Wrapping width"
>
-1
</long>
<string
name=
"proxy-Help text"
>
""
</string>
<string
name=
"proxy-Tooltip text"
>
""
</string>
<string
name=
"proxy-Background colour"
>
""
</string>
<string
name=
"proxy-Foreground colour"
>
""
</string>
<string
name=
"proxy-Font"
>
""
</string>
<bool
name=
"proxy-Hidden"
>
0
</bool>
<bool
name=
"proxy-Enabled"
>
1
</bool>
<string
name=
"proxy-Platform"
>
"
<
Any platform
>
"
</string>
<string
name=
"proxy-Data variable"
>
""
</string>
<string
name=
"proxy-Data validator"
>
""
</string>
<string
name=
"proxy-Data source"
>
""
</string>
<string
name=
"proxy-Data class name"
>
""
</string>
<string
name=
"proxy-Data class implementation filename"
>
""
</string>
<string
name=
"proxy-Data class header filename"
>
""
</string>
<string
name=
"proxy-Data class manager window"
>
""
</string>
<bool
name=
"proxy-wxALIGN_LEFT"
>
0
</bool>
<bool
name=
"proxy-wxALIGN_RIGHT"
>
0
</bool>
<bool
name=
"proxy-wxALIGN_CENTRE"
>
0
</bool>
<bool
name=
"proxy-wxST_NO_AUTORESIZE"
>
0
</bool>
<bool
name=
"proxy-wxNO_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxSIMPLE_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxDOUBLE_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxSUNKEN_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxRAISED_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxSTATIC_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxWANTS_CHARS"
>
0
</bool>
<bool
name=
"proxy-wxNO_FULL_REPAINT_ON_RESIZE"
>
0
</bool>
<bool
name=
"proxy-wxFULL_REPAINT_ON_RESIZE"
>
0
</bool>
<string
name=
"proxy-Custom styles"
>
""
</string>
<long
name=
"proxy-X"
>
-1
</long>
<long
name=
"proxy-Y"
>
-1
</long>
<long
name=
"proxy-Width"
>
-1
</long>
<long
name=
"proxy-Height"
>
-1
</long>
<string
name=
"proxy-AlignH"
>
"Expand"
</string>
<string
name=
"proxy-AlignV"
>
"Centre"
</string>
<long
name=
"proxy-Stretch factor"
>
0
</long>
<long
name=
"proxy-Border"
>
5
</long>
<bool
name=
"proxy-wxLEFT"
>
1
</bool>
<bool
name=
"proxy-wxRIGHT"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
1
</bool>
<bool
name=
"proxy-wxBOTTOM"
>
0
</bool>
<bool
name=
"proxy-wxSHAPED"
>
0
</bool>
<bool
name=
"proxy-wxADJUST_MINSIZE"
>
1
</bool>
<bool
name=
"proxy-wxFIXED_MINSIZE"
>
0
</bool>
<string
name=
"proxy-Custom arguments"
>
""
</string>
<string
name=
"proxy-Custom ctor arguments"
>
""
</string>
</document>
<document>
<string
name=
"title"
>
"wxTextCtrl: ID_TEXTCTRL"
</string>
<string
name=
"type"
>
"dialog-control-document"
</string>
<string
name=
"filename"
>
""
</string>
<string
name=
"icon-name"
>
"textctrl"
</string>
<long
name=
"is-transient"
>
0
</long>
<long
name=
"owns-file"
>
1
</long>
<long
name=
"title-mode"
>
0
</long>
<long
name=
"locked"
>
0
</long>
<string
name=
"created"
>
"4/3/2006"
</string>
<string
name=
"proxy-type"
>
"wbTextCtrlProxy"
</string>
<string
name=
"proxy-Id name"
>
"ID_TEXTCTRL"
</string>
<long
name=
"proxy-Id value"
>
10001
</long>
<string
name=
"proxy-Name"
>
""
</string>
<string
name=
"proxy-Class"
>
"wxTextCtrl"
</string>
<string
name=
"proxy-Base class"
>
"wxTextCtrl"
</string>
<bool
name=
"proxy-External implementation"
>
1
</bool>
<bool
name=
"proxy-Separate files"
>
0
</bool>
<string
name=
"proxy-Implementation filename"
>
""
</string>
<string
name=
"proxy-Header filename"
>
""
</string>
<string
name=
"proxy-Member variable name"
>
"m_NewText"
</string>
<string
name=
"proxy-Initial value"
>
""
</string>
<long
name=
"proxy-Max length"
>
0
</long>
<string
name=
"proxy-Help text"
>
""
</string>
<string
name=
"proxy-Tooltip text"
>
""
</string>
<string
name=
"proxy-Background colour"
>
""
</string>
<string
name=
"proxy-Foreground colour"
>
""
</string>
<string
name=
"proxy-Font"
>
""
</string>
<bool
name=
"proxy-Hidden"
>
0
</bool>
<bool
name=
"proxy-Enabled"
>
1
</bool>
<string
name=
"proxy-Platform"
>
"
<
Any platform
>
"
</string>
<string
name=
"proxy-Data variable"
>
""
</string>
<string
name=
"proxy-Data validator"
>
""
</string>
<string
name=
"proxy-Data source"
>
""
</string>
<string
name=
"proxy-Data class name"
>
""
</string>
<string
name=
"proxy-Data class implementation filename"
>
""
</string>
<string
name=
"proxy-Data class header filename"
>
""
</string>
<string
name=
"proxy-Data class manager window"
>
""
</string>
<bool
name=
"proxy-wxTE_MULTILINE"
>
0
</bool>
<bool
name=
"proxy-wxTE_PROCESS_ENTER"
>
0
</bool>
<bool
name=
"proxy-wxTE_PROCESS_TAB"
>
0
</bool>
<bool
name=
"proxy-wxTE_PASSWORD"
>
0
</bool>
<bool
name=
"proxy-wxTE_READONLY"
>
0
</bool>
<bool
name=
"proxy-wxTE_RICH"
>
0
</bool>
<bool
name=
"proxy-wxTE_RICH2"
>
0
</bool>
<bool
name=
"proxy-wxTE_AUTO_URL"
>
0
</bool>
<bool
name=
"proxy-wxTE_NOHIDESEL"
>
0
</bool>
<bool
name=
"proxy-wxTE_LEFT"
>
0
</bool>
<bool
name=
"proxy-wxTE_CENTRE"
>
0
</bool>
<bool
name=
"proxy-wxTE_RIGHT"
>
0
</bool>
<bool
name=
"proxy-wxHSCROLL"
>
0
</bool>
<bool
name=
"proxy-wxTE_CHARWRAP"
>
0
</bool>
<bool
name=
"proxy-wxTE_WORDWRAP"
>
0
</bool>
<bool
name=
"proxy-wxTE_CAPITALIZE"
>
0
</bool>
<bool
name=
"proxy-wxNO_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxSIMPLE_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxDOUBLE_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxSUNKEN_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxRAISED_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxSTATIC_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxWANTS_CHARS"
>
0
</bool>
<bool
name=
"proxy-wxNO_FULL_REPAINT_ON_RESIZE"
>
0
</bool>
<bool
name=
"proxy-wxFULL_REPAINT_ON_RESIZE"
>
0
</bool>
<string
name=
"proxy-Custom styles"
>
""
</string>
<long
name=
"proxy-X"
>
-1
</long>
<long
name=
"proxy-Y"
>
-1
</long>
<long
name=
"proxy-Width"
>
-1
</long>
<long
name=
"proxy-Height"
>
-1
</long>
<string
name=
"proxy-AlignH"
>
"Expand"
</string>
<string
name=
"proxy-AlignV"
>
"Centre"
</string>
<long
name=
"proxy-Stretch factor"
>
0
</long>
<long
name=
"proxy-Border"
>
5
</long>
<bool
name=
"proxy-wxLEFT"
>
1
</bool>
<bool
name=
"proxy-wxRIGHT"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
0
</bool>
<bool
name=
"proxy-wxBOTTOM"
>
1
</bool>
<bool
name=
"proxy-wxSHAPED"
>
0
</bool>
<bool
name=
"proxy-wxADJUST_MINSIZE"
>
0
</bool>
<bool
name=
"proxy-wxFIXED_MINSIZE"
>
0
</bool>
<string
name=
"proxy-Custom arguments"
>
""
</string>
<string
name=
"proxy-Custom ctor arguments"
>
""
</string>
<bool
name=
"proxy-wxTE_LINEWRAP"
>
0
</bool>
</document>
<document>
<string
name=
"title"
>
"wxBoxSizer H"
</string>
<string
name=
"type"
>
"dialog-control-document"
</string>
<string
name=
"filename"
>
""
</string>
<string
name=
"icon-name"
>
"sizer"
</string>
<long
name=
"is-transient"
>
0
</long>
<long
name=
"owns-file"
>
1
</long>
<long
name=
"title-mode"
>
0
</long>
<long
name=
"locked"
>
0
</long>
<string
name=
"created"
>
"4/3/2006"
</string>
<string
name=
"proxy-type"
>
"wbBoxSizerProxy"
</string>
<string
name=
"proxy-Orientation"
>
"Horizontal"
</string>
<string
name=
"proxy-Member variable name"
>
""
</string>
<string
name=
"proxy-AlignH"
>
"Centre"
</string>
<string
name=
"proxy-AlignV"
>
"Centre"
</string>
<long
name=
"proxy-Stretch factor"
>
0
</long>
<long
name=
"proxy-Border"
>
5
</long>
<bool
name=
"proxy-wxLEFT"
>
1
</bool>
<bool
name=
"proxy-wxRIGHT"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
0
</bool>
<bool
name=
"proxy-wxBOTTOM"
>
1
</bool>
<bool
name=
"proxy-wxSHAPED"
>
0
</bool>
<bool
name=
"proxy-wxADJUST_MINSIZE"
>
0
</bool>
<bool
name=
"proxy-wxFIXED_MINSIZE"
>
0
</bool>
<string
name=
"proxy-Platform"
>
"
<
Any platform
>
"
</string>
<document>
<string
name=
"title"
>
"wxBoxSizer V"
</string>
<string
name=
"type"
>
"dialog-control-document"
</string>
<string
name=
"filename"
>
""
</string>
<string
name=
"icon-name"
>
"sizer"
</string>
<long
name=
"is-transient"
>
0
</long>
<long
name=
"owns-file"
>
1
</long>
<long
name=
"title-mode"
>
0
</long>
<long
name=
"locked"
>
0
</long>
<string
name=
"created"
>
"4/3/2006"
</string>
<string
name=
"proxy-type"
>
"wbBoxSizerProxy"
</string>
<string
name=
"proxy-Orientation"
>
"Vertical"
</string>
<string
name=
"proxy-Member variable name"
>
""
</string>
<string
name=
"proxy-AlignH"
>
"Centre"
</string>
<string
name=
"proxy-AlignV"
>
"Centre"
</string>
<long
name=
"proxy-Stretch factor"
>
0
</long>
<long
name=
"proxy-Border"
>
5
</long>
<bool
name=
"proxy-wxLEFT"
>
1
</bool>
<bool
name=
"proxy-wxRIGHT"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
0
</bool>
<bool
name=
"proxy-wxBOTTOM"
>
0
</bool>
<bool
name=
"proxy-wxSHAPED"
>
0
</bool>
<bool
name=
"proxy-wxADJUST_MINSIZE"
>
0
</bool>
<bool
name=
"proxy-wxFIXED_MINSIZE"
>
0
</bool>
<string
name=
"proxy-Platform"
>
"
<
Any platform
>
"
</string>
<document>
<string
name=
"title"
>
"wxButton: ID_FIND_ITEM"
</string>
<string
name=
"type"
>
"dialog-control-document"
</string>
<string
name=
"filename"
>
""
</string>
<string
name=
"icon-name"
>
"dialogcontrol"
</string>
<long
name=
"is-transient"
>
0
</long>
<long
name=
"owns-file"
>
1
</long>
<long
name=
"title-mode"
>
0
</long>
<long
name=
"locked"
>
0
</long>
<string
name=
"created"
>
"4/3/2006"
</string>
<string
name=
"proxy-type"
>
"wbButtonProxy"
</string>
<string
name=
"event-handler-0"
>
"wxEVT_COMMAND_BUTTON_CLICKED|OnFindItemClick"
</string>
<string
name=
"proxy-Id name"
>
"ID_FIND_ITEM"
</string>
<long
name=
"proxy-Id value"
>
10002
</long>
<string
name=
"proxy-Name"
>
""
</string>
<string
name=
"proxy-Class"
>
"wxButton"
</string>
<string
name=
"proxy-Base class"
>
"wxButton"
</string>
<bool
name=
"proxy-External implementation"
>
1
</bool>
<bool
name=
"proxy-Separate files"
>
0
</bool>
<string
name=
"proxy-Implementation filename"
>
""
</string>
<string
name=
"proxy-Header filename"
>
""
</string>
<string
name=
"proxy-Member variable name"
>
""
</string>
<string
name=
"proxy-Label"
>
"Find Item"
</string>
<bool
name=
"proxy-Default"
>
1
</bool>
<string
name=
"proxy-Help text"
>
""
</string>
<string
name=
"proxy-Tooltip text"
>
""
</string>
<string
name=
"proxy-Data variable"
>
""
</string>
<string
name=
"proxy-Data validator"
>
""
</string>
<string
name=
"proxy-Data source"
>
""
</string>
<string
name=
"proxy-Data class name"
>
""
</string>
<string
name=
"proxy-Data class implementation filename"
>
""
</string>
<string
name=
"proxy-Data class header filename"
>
""
</string>
<string
name=
"proxy-Data class manager window"
>
""
</string>
<string
name=
"proxy-Background colour"
>
""
</string>
<string
name=
"proxy-Foreground colour"
>
""
</string>
<string
name=
"proxy-Font"
>
""
</string>
<bool
name=
"proxy-Hidden"
>
0
</bool>
<bool
name=
"proxy-Enabled"
>
1
</bool>
<string
name=
"proxy-Platform"
>
"
<
Any platform
>
"
</string>
<bool
name=
"proxy-wxBU_LEFT"
>
0
</bool>
<bool
name=
"proxy-wxBU_RIGHT"
>
0
</bool>
<bool
name=
"proxy-wxBU_TOP"
>
0
</bool>
<bool
name=
"proxy-wxBU_BOTTOM"
>
0
</bool>
<bool
name=
"proxy-wxBU_EXACTFIT"
>
0
</bool>
<bool
name=
"proxy-wxNO_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxWANTS_CHARS"
>
0
</bool>
<bool
name=
"proxy-wxNO_FULL_REPAINT_ON_RESIZE"
>
0
</bool>
<bool
name=
"proxy-wxFULL_REPAINT_ON_RESIZE"
>
0
</bool>
<string
name=
"proxy-Custom styles"
>
""
</string>
<long
name=
"proxy-X"
>
-1
</long>
<long
name=
"proxy-Y"
>
-1
</long>
<long
name=
"proxy-Width"
>
-1
</long>
<long
name=
"proxy-Height"
>
-1
</long>
<string
name=
"proxy-AlignH"
>
"Expand"
</string>
<string
name=
"proxy-AlignV"
>
"Centre"
</string>
<long
name=
"proxy-Stretch factor"
>
0
</long>
<long
name=
"proxy-Border"
>
5
</long>
<bool
name=
"proxy-wxLEFT"
>
1
</bool>
<bool
name=
"proxy-wxRIGHT"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
1
</bool>
<bool
name=
"proxy-wxBOTTOM"
>
0
</bool>
<bool
name=
"proxy-wxSHAPED"
>
0
</bool>
<bool
name=
"proxy-wxADJUST_MINSIZE"
>
0
</bool>
<bool
name=
"proxy-wxFIXED_MINSIZE"
>
0
</bool>
<string
name=
"proxy-Custom arguments"
>
""
</string>
<string
name=
"proxy-Custom ctor arguments"
>
""
</string>
</document>
<document>
<string
name=
"title"
>
"wxButton: ID_FIND_NEXT_ITEM"
</string>
<string
name=
"type"
>
"dialog-control-document"
</string>
<string
name=
"filename"
>
""
</string>
<string
name=
"icon-name"
>
"dialogcontrol"
</string>
<long
name=
"is-transient"
>
0
</long>
<long
name=
"owns-file"
>
1
</long>
<long
name=
"title-mode"
>
0
</long>
<long
name=
"locked"
>
0
</long>
<string
name=
"created"
>
"4/3/2006"
</string>
<string
name=
"proxy-type"
>
"wbButtonProxy"
</string>
<string
name=
"event-handler-0"
>
"wxEVT_COMMAND_BUTTON_CLICKED|OnFindNextItemClick"
</string>
<string
name=
"proxy-Id name"
>
"ID_FIND_NEXT_ITEM"
</string>
<long
name=
"proxy-Id value"
>
10003
</long>
<string
name=
"proxy-Name"
>
""
</string>
<string
name=
"proxy-Class"
>
"wxButton"
</string>
<string
name=
"proxy-Base class"
>
"wxButton"
</string>
<bool
name=
"proxy-External implementation"
>
1
</bool>
<bool
name=
"proxy-Separate files"
>
0
</bool>
<string
name=
"proxy-Implementation filename"
>
""
</string>
<string
name=
"proxy-Header filename"
>
""
</string>
<string
name=
"proxy-Member variable name"
>
""
</string>
<string
name=
"proxy-Label"
>
"Find Next Item"
</string>
<bool
name=
"proxy-Default"
>
0
</bool>
<string
name=
"proxy-Help text"
>
""
</string>
<string
name=
"proxy-Tooltip text"
>
""
</string>
<string
name=
"proxy-Data variable"
>
""
</string>
<string
name=
"proxy-Data validator"
>
""
</string>
<string
name=
"proxy-Data source"
>
""
</string>
<string
name=
"proxy-Data class name"
>
""
</string>
<string
name=
"proxy-Data class implementation filename"
>
""
</string>
<string
name=
"proxy-Data class header filename"
>
""
</string>
<string
name=
"proxy-Data class manager window"
>
""
</string>
<string
name=
"proxy-Background colour"
>
""
</string>
<string
name=
"proxy-Foreground colour"
>
"6F0000"
</string>
<string
name=
"proxy-Font"
>
""
</string>
<bool
name=
"proxy-Hidden"
>
0
</bool>
<bool
name=
"proxy-Enabled"
>
1
</bool>
<string
name=
"proxy-Platform"
>
"
<
Any platform
>
"
</string>
<bool
name=
"proxy-wxBU_LEFT"
>
0
</bool>
<bool
name=
"proxy-wxBU_RIGHT"
>
0
</bool>
<bool
name=
"proxy-wxBU_TOP"
>
0
</bool>
<bool
name=
"proxy-wxBU_BOTTOM"
>
0
</bool>
<bool
name=
"proxy-wxBU_EXACTFIT"
>
0
</bool>
<bool
name=
"proxy-wxNO_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxWANTS_CHARS"
>
0
</bool>
<bool
name=
"proxy-wxNO_FULL_REPAINT_ON_RESIZE"
>
0
</bool>
<bool
name=
"proxy-wxFULL_REPAINT_ON_RESIZE"
>
0
</bool>
<string
name=
"proxy-Custom styles"
>
""
</string>
<long
name=
"proxy-X"
>
-1
</long>
<long
name=
"proxy-Y"
>
-1
</long>
<long
name=
"proxy-Width"
>
-1
</long>
<long
name=
"proxy-Height"
>
-1
</long>
<string
name=
"proxy-AlignH"
>
"Expand"
</string>
<string
name=
"proxy-AlignV"
>
"Centre"
</string>
<long
name=
"proxy-Stretch factor"
>
0
</long>
<long
name=
"proxy-Border"
>
5
</long>
<bool
name=
"proxy-wxLEFT"
>
1
</bool>
<bool
name=
"proxy-wxRIGHT"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
0
</bool>
<bool
name=
"proxy-wxBOTTOM"
>
1
</bool>
<bool
name=
"proxy-wxSHAPED"
>
0
</bool>
<bool
name=
"proxy-wxADJUST_MINSIZE"
>
0
</bool>
<bool
name=
"proxy-wxFIXED_MINSIZE"
>
0
</bool>
<string
name=
"proxy-Custom arguments"
>
""
</string>
<string
name=
"proxy-Custom ctor arguments"
>
""
</string>
</document>
</document>
<document>
<string
name=
"title"
>
"wxBoxSizer V"
</string>
<string
name=
"type"
>
"dialog-control-document"
</string>
<string
name=
"filename"
>
""
</string>
<string
name=
"icon-name"
>
"sizer"
</string>
<long
name=
"is-transient"
>
0
</long>
<long
name=
"owns-file"
>
1
</long>
<long
name=
"title-mode"
>
0
</long>
<long
name=
"locked"
>
0
</long>
<string
name=
"created"
>
"4/3/2006"
</string>
<string
name=
"proxy-type"
>
"wbBoxSizerProxy"
</string>
<string
name=
"proxy-Orientation"
>
"Vertical"
</string>
<string
name=
"proxy-Member variable name"
>
""
</string>
<string
name=
"proxy-AlignH"
>
"Centre"
</string>
<string
name=
"proxy-AlignV"
>
"Centre"
</string>
<long
name=
"proxy-Stretch factor"
>
0
</long>
<long
name=
"proxy-Border"
>
5
</long>
<bool
name=
"proxy-wxLEFT"
>
1
</bool>
<bool
name=
"proxy-wxRIGHT"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
0
</bool>
<bool
name=
"proxy-wxBOTTOM"
>
0
</bool>
<bool
name=
"proxy-wxSHAPED"
>
0
</bool>
<bool
name=
"proxy-wxADJUST_MINSIZE"
>
0
</bool>
<bool
name=
"proxy-wxFIXED_MINSIZE"
>
0
</bool>
<string
name=
"proxy-Platform"
>
"
<
Any platform
>
"
</string>
<document>
<string
name=
"title"
>
"wxButton: ID_FIND_MARKER"
</string>
<string
name=
"type"
>
"dialog-control-document"
</string>
<string
name=
"filename"
>
""
</string>
<string
name=
"icon-name"
>
"dialogcontrol"
</string>
<long
name=
"is-transient"
>
0
</long>
<long
name=
"owns-file"
>
1
</long>
<long
name=
"title-mode"
>
0
</long>
<long
name=
"locked"
>
0
</long>
<string
name=
"created"
>
"4/3/2006"
</string>
<string
name=
"proxy-type"
>
"wbButtonProxy"
</string>
<string
name=
"event-handler-0"
>
"wxEVT_COMMAND_BUTTON_CLICKED|OnFindMarkerClick"
</string>
<string
name=
"proxy-Id name"
>
"ID_FIND_MARKER"
</string>
<long
name=
"proxy-Id value"
>
10004
</long>
<string
name=
"proxy-Name"
>
""
</string>
<string
name=
"proxy-Class"
>
"wxButton"
</string>
<string
name=
"proxy-Base class"
>
"wxButton"
</string>
<bool
name=
"proxy-External implementation"
>
1
</bool>
<bool
name=
"proxy-Separate files"
>
0
</bool>
<string
name=
"proxy-Implementation filename"
>
""
</string>
<string
name=
"proxy-Header filename"
>
""
</string>
<string
name=
"proxy-Member variable name"
>
""
</string>
<string
name=
"proxy-Label"
>
"Find Marker"
</string>
<bool
name=
"proxy-Default"
>
0
</bool>
<string
name=
"proxy-Help text"
>
""
</string>
<string
name=
"proxy-Tooltip text"
>
""
</string>
<string
name=
"proxy-Data variable"
>
""
</string>
<string
name=
"proxy-Data validator"
>
""
</string>
<string
name=
"proxy-Data source"
>
""
</string>
<string
name=
"proxy-Data class name"
>
""
</string>
<string
name=
"proxy-Data class implementation filename"
>
""
</string>
<string
name=
"proxy-Data class header filename"
>
""
</string>
<string
name=
"proxy-Data class manager window"
>
""
</string>
<string
name=
"proxy-Background colour"
>
""
</string>
<string
name=
"proxy-Foreground colour"
>
""
</string>
<string
name=
"proxy-Font"
>
""
</string>
<bool
name=
"proxy-Hidden"
>
0
</bool>
<bool
name=
"proxy-Enabled"
>
1
</bool>
<string
name=
"proxy-Platform"
>
"
<
Any platform
>
"
</string>
<bool
name=
"proxy-wxBU_LEFT"
>
0
</bool>
<bool
name=
"proxy-wxBU_RIGHT"
>
0
</bool>
<bool
name=
"proxy-wxBU_TOP"
>
0
</bool>
<bool
name=
"proxy-wxBU_BOTTOM"
>
0
</bool>
<bool
name=
"proxy-wxBU_EXACTFIT"
>
0
</bool>
<bool
name=
"proxy-wxNO_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxWANTS_CHARS"
>
0
</bool>
<bool
name=
"proxy-wxNO_FULL_REPAINT_ON_RESIZE"
>
0
</bool>
<bool
name=
"proxy-wxFULL_REPAINT_ON_RESIZE"
>
0
</bool>
<string
name=
"proxy-Custom styles"
>
""
</string>
<long
name=
"proxy-X"
>
-1
</long>
<long
name=
"proxy-Y"
>
-1
</long>
<long
name=
"proxy-Width"
>
-1
</long>
<long
name=
"proxy-Height"
>
-1
</long>
<string
name=
"proxy-AlignH"
>
"Expand"
</string>
<string
name=
"proxy-AlignV"
>
"Centre"
</string>
<long
name=
"proxy-Stretch factor"
>
0
</long>
<long
name=
"proxy-Border"
>
5
</long>
<bool
name=
"proxy-wxLEFT"
>
1
</bool>
<bool
name=
"proxy-wxRIGHT"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
1
</bool>
<bool
name=
"proxy-wxBOTTOM"
>
0
</bool>
<bool
name=
"proxy-wxSHAPED"
>
0
</bool>
<bool
name=
"proxy-wxADJUST_MINSIZE"
>
0
</bool>
<bool
name=
"proxy-wxFIXED_MINSIZE"
>
0
</bool>
<string
name=
"proxy-Custom arguments"
>
""
</string>
<string
name=
"proxy-Custom ctor arguments"
>
""
</string>
</document>
<document>
<string
name=
"title"
>
"wxButton: ID_FIND_NEXT_MARKER"
</string>
<string
name=
"type"
>
"dialog-control-document"
</string>
<string
name=
"filename"
>
""
</string>
<string
name=
"icon-name"
>
"dialogcontrol"
</string>
<long
name=
"is-transient"
>
0
</long>
<long
name=
"owns-file"
>
1
</long>
<long
name=
"title-mode"
>
0
</long>
<long
name=
"locked"
>
0
</long>
<string
name=
"created"
>
"4/3/2006"
</string>
<string
name=
"proxy-type"
>
"wbButtonProxy"
</string>
<string
name=
"event-handler-0"
>
"wxEVT_COMMAND_BUTTON_CLICKED|OnFindNextMarkerClick"
</string>
<string
name=
"proxy-Id name"
>
"ID_FIND_NEXT_MARKER"
</string>
<long
name=
"proxy-Id value"
>
10005
</long>
<string
name=
"proxy-Name"
>
""
</string>
<string
name=
"proxy-Class"
>
"wxButton"
</string>
<string
name=
"proxy-Base class"
>
"wxButton"
</string>
<bool
name=
"proxy-External implementation"
>
1
</bool>
<bool
name=
"proxy-Separate files"
>
0
</bool>
<string
name=
"proxy-Implementation filename"
>
""
</string>
<string
name=
"proxy-Header filename"
>
""
</string>
<string
name=
"proxy-Member variable name"
>
""
</string>
<string
name=
"proxy-Label"
>
"Find Next Marker"
</string>
<bool
name=
"proxy-Default"
>
0
</bool>
<string
name=
"proxy-Help text"
>
""
</string>
<string
name=
"proxy-Tooltip text"
>
""
</string>
<string
name=
"proxy-Data variable"
>
""
</string>
<string
name=
"proxy-Data validator"
>
""
</string>
<string
name=
"proxy-Data source"
>
""
</string>
<string
name=
"proxy-Data class name"
>
""
</string>
<string
name=
"proxy-Data class implementation filename"
>
""
</string>
<string
name=
"proxy-Data class header filename"
>
""
</string>
<string
name=
"proxy-Data class manager window"
>
""
</string>
<string
name=
"proxy-Background colour"
>
""
</string>
<string
name=
"proxy-Foreground colour"
>
""
</string>
<string
name=
"proxy-Font"
>
""
</string>
<bool
name=
"proxy-Hidden"
>
0
</bool>
<bool
name=
"proxy-Enabled"
>
1
</bool>
<string
name=
"proxy-Platform"
>
"
<
Any platform
>
"
</string>
<bool
name=
"proxy-wxBU_LEFT"
>
0
</bool>
<bool
name=
"proxy-wxBU_RIGHT"
>
0
</bool>
<bool
name=
"proxy-wxBU_TOP"
>
0
</bool>
<bool
name=
"proxy-wxBU_BOTTOM"
>
0
</bool>
<bool
name=
"proxy-wxBU_EXACTFIT"
>
0
</bool>
<bool
name=
"proxy-wxNO_BORDER"
>
0
</bool>
<bool
name=
"proxy-wxWANTS_CHARS"
>
0
</bool>
<bool
name=
"proxy-wxNO_FULL_REPAINT_ON_RESIZE"
>
0
</bool>
<bool
name=
"proxy-wxFULL_REPAINT_ON_RESIZE"
>
0
</bool>
<string
name=
"proxy-Custom styles"
>
""
</string>
<long
name=
"proxy-X"
>
-1
</long>
<long
name=
"proxy-Y"
>
-1
</long>
<long
name=
"proxy-Width"
>
-1
</long>
<long
name=
"proxy-Height"
>
-1
</long>
<string
name=
"proxy-AlignH"
>
"Expand"
</string>
<string
name=
"proxy-AlignV"
>
"Centre"
</string>
<long
name=
"proxy-Stretch factor"
>
0
</long>
<long
name=
"proxy-Border"
>
5
</long>
<bool
name=
"proxy-wxLEFT"
>
1
</bool>
<bool
name=
"proxy-wxRIGHT"
>
1
</bool>
<bool
name=
"proxy-wxTOP"
>
0
</bool>
<bool
name=
"proxy-wxBOTTOM"
>
1
</bool>
<bool
name=
"proxy-wxSHAPED"
>
0
</bool>
<bool
name=
"proxy-wxADJUST_MINSIZE"
>
0
</bool>
<bool
name=
"proxy-wxFIXED_MINSIZE"
>
0
</bool>
<string
name=
"proxy-Custom arguments"
>
""
</string>
<string
name=
"proxy-Custom ctor arguments"
>
""
</string>
</document>
</document>
</document>
</document>
</document>
</document>
<document>
<string
name=
"title"
>
"Sources"
</string>
<string
name=
"type"
>
"html-document"
</string>
<string
name=
"filename"
>
""
</string>
<string
name=
"icon-name"
>
"sourcesfolder"
</string>
<long
name=
"is-transient"
>
1
</long>
<long
name=
"owns-file"
>
1
</long>
<long
name=
"title-mode"
>
0
</long>
<long
name=
"locked"
>
1
</long>
<document>
<string
name=
"title"
>
"find.rc"
</string>
<string
name=
"type"
>
"source-editor-document"
</string>
<string
name=
"filename"
>
"find.rc"
</string>
<string
name=
"icon-name"
>
"source-editor"
</string>
<long
name=
"is-transient"
>
0
</long>
<long
name=
"owns-file"
>
0
</long>
<long
name=
"title-mode"
>
1
</long>
<long
name=
"locked"
>
0
</long>
<string
name=
"created"
>
"4/3/2006"
</string>
<string
name=
"language"
>
""
</string>
</document>
</document>
<document>
<string
name=
"title"
>
"Images"
</string>
<string
name=
"type"
>
"html-document"
</string>
<string
name=
"filename"
>
""
</string>
<string
name=
"icon-name"
>
"bitmapsfolder"
</string>
<long
name=
"is-transient"
>
1
</long>
<long
name=
"owns-file"
>
1
</long>
<long
name=
"title-mode"
>
0
</long>
<long
name=
"locked"
>
1
</long>
</document>
</document>
</documents>
</anthemion-project>
pcbnew/legacy_plugin.cpp
View file @
52ee7c6e
...
...
@@ -354,12 +354,12 @@ void LEGACY_PLUGIN::loadGENERAL()
if
(
!
strcmp
(
data
,
"mm"
)
)
{
#if defined( USE_PCBNEW_NANOMETRES )
diskToBiu
=
1000000.0
;
diskToBiu
=
IU_PER_MM
;
#elif defined(DEBUG)
// mm to deci-mils:
// advanced testing of round tripping only, not supported in non DEBUG build
diskToBiu
=
10000
/
25.4
;
diskToBiu
=
IU_PER_MM
;
#else
THROW_IO_ERROR
(
_
(
"May not load millimeter *.brd file into 'Pcbnew compiled for deci-mils'"
)
);
...
...
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