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
afdf5258
Commit
afdf5258
authored
May 24, 2012
by
brian.
Committed by
jean-pierre charras
May 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit patch from Brian Sidebotham (Bus width value option)
parent
76765f22
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
5375 additions
and
5106 deletions
+5375
-5106
dialog_eeschema_options.cpp
eeschema/dialogs/dialog_eeschema_options.cpp
+9
-0
dialog_eeschema_options.h
eeschema/dialogs/dialog_eeschema_options.h
+28
-52
dialog_eeschema_options_base.cpp
eeschema/dialogs/dialog_eeschema_options_base.cpp
+308
-297
dialog_eeschema_options_base.fbp
eeschema/dialogs/dialog_eeschema_options_base.fbp
+4878
-4613
dialog_eeschema_options_base.h
eeschema/dialogs/dialog_eeschema_options_base.h
+123
-120
eeschema_config.cpp
eeschema/eeschema_config.cpp
+6
-1
eeschema_config.h
eeschema/eeschema_config.h
+11
-1
sch_bus_entry.cpp
eeschema/sch_bus_entry.cpp
+3
-3
sch_line.cpp
eeschema/sch_line.cpp
+7
-4
sch_item_struct.h
include/sch_item_struct.h
+0
-10
dialog_design_rules.cpp
pcbnew/dialogs/dialog_design_rules.cpp
+2
-5
No files found.
eeschema/dialogs/dialog_eeschema_options.cpp
View file @
afdf5258
...
@@ -37,6 +37,15 @@ DIALOG_EESCHEMA_OPTIONS::DIALOG_EESCHEMA_OPTIONS( wxWindow* parent ) :
...
@@ -37,6 +37,15 @@ DIALOG_EESCHEMA_OPTIONS::DIALOG_EESCHEMA_OPTIONS( wxWindow* parent ) :
{
{
m_choiceUnits
->
SetFocus
();
m_choiceUnits
->
SetFocus
();
m_sdbSizer1OK
->
SetDefault
();
m_sdbSizer1OK
->
SetDefault
();
#if defined (KICAD_GOST)
/* The GOST standard pre-defines certain schematic attributes that cannot be changed */
m_spinBusWidth
->
Enable
(
false
);
#endif
}
}
...
...
eeschema/dialogs/dialog_eeschema_options.h
View file @
afdf5258
...
@@ -41,44 +41,43 @@ public:
...
@@ -41,44 +41,43 @@ public:
void
SetUnits
(
const
wxArrayString
&
units
,
int
select
=
0
);
void
SetUnits
(
const
wxArrayString
&
units
,
int
select
=
0
);
int
GetUnitsSelection
(
void
)
{
return
m_choiceUnits
->
GetSelection
();
}
int
GetUnitsSelection
(
void
)
{
return
m_choiceUnits
->
GetSelection
();
}
void
SetGridSelection
(
int
select
)
void
SetGridSelection
(
int
select
)
{
m_choiceGridSize
->
SetSelection
(
select
);
}
{
m_choiceGridSize
->
SetSelection
(
select
);
}
int
GetGridSelection
(
void
)
{
return
m_choiceGridSize
->
GetSelection
();
}
int
GetGridSelection
(
void
)
{
return
m_choiceGridSize
->
GetSelection
();
}
void
SetGridSizes
(
const
GRIDS
&
grid_sizes
,
int
grid_id
);
void
SetGridSizes
(
const
GRIDS
&
grid_sizes
,
int
grid_id
);
void
Set
LineWidth
(
int
line_w
idth
)
void
Set
BusWidth
(
int
aW
idth
)
{
{
m_spinLineWidth
->
SetValue
(
line_width
);
#if defined( KICAD_GOST )
m_spinBusWidth
->
SetValue
(
GOST_BUS_WIDTH
);
#else
m_spinBusWidth
->
SetValue
(
aWidth
);
#endif
}
}
int
GetLineWidth
(
void
)
{
return
m_spinLineWidth
->
GetValue
();
}
void
SetTextSize
(
int
text_size
)
int
GetBusWidth
(
void
)
{
{
m_spinTextSize
->
SetValue
(
text_size
);
#if defined( KICAD_GOST )
return
GOST_BUS_WIDTH
;
#else
return
m_spinBusWidth
->
GetValue
();
#endif
}
}
void
SetLineWidth
(
int
aWidth
)
{
m_spinLineWidth
->
SetValue
(
aWidth
);
}
int
GetLineWidth
(
void
)
{
return
m_spinLineWidth
->
GetValue
();
}
void
SetTextSize
(
int
text_size
)
{
m_spinTextSize
->
SetValue
(
text_size
);
}
int
GetTextSize
(
void
)
{
return
m_spinTextSize
->
GetValue
();
}
int
GetTextSize
(
void
)
{
return
m_spinTextSize
->
GetValue
();
}
void
SetRepeatHorizontal
(
int
displacement
)
void
SetRepeatHorizontal
(
int
displacement
)
{
{
m_spinRepeatHorizontal
->
SetValue
(
displacement
);
m_spinRepeatHorizontal
->
SetValue
(
displacement
);
}
}
int
GetRepeatHorizontal
(
void
)
int
GetRepeatHorizontal
(
void
)
{
return
m_spinRepeatHorizontal
->
GetValue
();
}
{
void
SetRepeatVertical
(
int
displacement
)
{
m_spinRepeatVertical
->
SetValue
(
displacement
);
}
return
m_spinRepeatHorizontal
->
GetValue
();
}
void
SetRepeatVertical
(
int
displacement
)
{
m_spinRepeatVertical
->
SetValue
(
displacement
);
}
int
GetRepeatVertical
(
void
)
{
return
m_spinRepeatVertical
->
GetValue
();
}
int
GetRepeatVertical
(
void
)
{
return
m_spinRepeatVertical
->
GetValue
();
}
void
SetRepeatLabel
(
int
increment
)
{
m_spinRepeatLabel
->
SetValue
(
increment
);
}
void
SetRepeatLabel
(
int
increment
)
{
m_spinRepeatLabel
->
SetValue
(
increment
);
}
int
GetRepeatLabel
(
void
)
{
return
m_spinRepeatLabel
->
GetValue
();
}
int
GetRepeatLabel
(
void
)
{
return
m_spinRepeatLabel
->
GetValue
();
}
void
SetAutoSaveInterval
(
int
aInterval
)
{
m_spinAutoSaveInterval
->
SetValue
(
aInterval
);
}
void
SetAutoSaveInterval
(
int
aInterval
)
{
m_spinAutoSaveInterval
->
SetValue
(
aInterval
);
}
...
@@ -87,14 +86,8 @@ public:
...
@@ -87,14 +86,8 @@ public:
void
SetShowGrid
(
bool
show
)
{
m_checkShowGrid
->
SetValue
(
show
);
}
void
SetShowGrid
(
bool
show
)
{
m_checkShowGrid
->
SetValue
(
show
);
}
bool
GetShowGrid
(
void
)
{
return
m_checkShowGrid
->
GetValue
();
}
bool
GetShowGrid
(
void
)
{
return
m_checkShowGrid
->
GetValue
();
}
void
SetShowHiddenPins
(
bool
show
)
void
SetShowHiddenPins
(
bool
show
)
{
m_checkShowHiddenPins
->
SetValue
(
show
);
}
{
bool
GetShowHiddenPins
(
void
)
{
return
m_checkShowHiddenPins
->
GetValue
();
}
m_checkShowHiddenPins
->
SetValue
(
show
);
}
bool
GetShowHiddenPins
(
void
)
{
return
m_checkShowHiddenPins
->
GetValue
();
}
void
SetEnableMiddleButtonPan
(
bool
enable
)
void
SetEnableMiddleButtonPan
(
bool
enable
)
{
{
...
@@ -106,7 +99,6 @@ public:
...
@@ -106,7 +99,6 @@ public:
{
{
return
m_checkEnableMiddleButtonPan
->
GetValue
();
return
m_checkEnableMiddleButtonPan
->
GetValue
();
}
}
void
SetMiddleButtonPanLimited
(
bool
enable
)
void
SetMiddleButtonPanLimited
(
bool
enable
)
{
{
m_checkMiddleButtonPanLimited
->
SetValue
(
enable
);
m_checkMiddleButtonPanLimited
->
SetValue
(
enable
);
...
@@ -116,30 +108,14 @@ public:
...
@@ -116,30 +108,14 @@ public:
return
m_checkMiddleButtonPanLimited
->
GetValue
();
return
m_checkMiddleButtonPanLimited
->
GetValue
();
}
}
void
SetEnableAutoPan
(
bool
enable
)
void
SetEnableAutoPan
(
bool
enable
)
{
m_checkAutoPan
->
SetValue
(
enable
);
}
{
m_checkAutoPan
->
SetValue
(
enable
);
}
bool
GetEnableAutoPan
(
void
)
{
return
m_checkAutoPan
->
GetValue
();
}
bool
GetEnableAutoPan
(
void
)
{
return
m_checkAutoPan
->
GetValue
();
}
void
SetEnableHVBusOrientation
(
bool
enable
)
void
SetEnableHVBusOrientation
(
bool
enable
)
{
m_checkHVOrientation
->
SetValue
(
enable
);
}
{
bool
GetEnableHVBusOrientation
(
void
)
{
return
m_checkHVOrientation
->
GetValue
();
}
m_checkHVOrientation
->
SetValue
(
enable
);
}
bool
GetEnableHVBusOrientation
(
void
)
{
return
m_checkHVOrientation
->
GetValue
();
}
void
SetShowPageLimits
(
bool
show
)
{
m_checkPageLimits
->
SetValue
(
show
);
}
bool
GetShowPageLimits
(
void
)
{
return
m_checkPageLimits
->
GetValue
();
}
void
SetShowPageLimits
(
bool
show
)
{
m_checkPageLimits
->
SetValue
(
show
);
}
bool
GetShowPageLimits
(
void
)
{
return
m_checkPageLimits
->
GetValue
();
}
/** Set the field \a aNdx textctrl to \a aName */
/** Set the field \a aNdx textctrl to \a aName */
void
SetFieldName
(
int
aNdx
,
wxString
aName
);
void
SetFieldName
(
int
aNdx
,
wxString
aName
);
...
...
eeschema/dialogs/dialog_eeschema_options_base.cpp
View file @
afdf5258
...
@@ -67,11 +67,22 @@ DIALOG_EESCHEMA_OPTIONS_BASE::DIALOG_EESCHEMA_OPTIONS_BASE( wxWindow* parent, wx
...
@@ -67,11 +67,22 @@ DIALOG_EESCHEMA_OPTIONS_BASE::DIALOG_EESCHEMA_OPTIONS_BASE( wxWindow* parent, wx
m_staticGridUnits
->
Wrap
(
-
1
);
m_staticGridUnits
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticGridUnits
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
fgSizer1
->
Add
(
m_staticGridUnits
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
m_staticText51
=
new
wxStaticText
(
m_panel1
,
wxID_ANY
,
_
(
"Default &bus width:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText51
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticText51
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
m_spinBusWidth
=
new
wxSpinCtrl
(
m_panel1
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
wxSP_ARROW_KEYS
|
wxSP_WRAP
,
1
,
100
,
1
);
fgSizer1
->
Add
(
m_spinBusWidth
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
|
wxEXPAND
,
3
);
m_staticBusWidthUnits
=
new
wxStaticText
(
m_panel1
,
wxID_ANY
,
_
(
"mils"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticBusWidthUnits
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticBusWidthUnits
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
m_staticText5
=
new
wxStaticText
(
m_panel1
,
wxID_ANY
,
_
(
"Default &line width:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText5
=
new
wxStaticText
(
m_panel1
,
wxID_ANY
,
_
(
"Default &line width:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText5
->
Wrap
(
-
1
);
m_staticText5
->
Wrap
(
-
1
);
fgSizer1
->
Add
(
m_staticText5
,
1
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
fgSizer1
->
Add
(
m_staticText5
,
1
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
3
);
m_spinLineWidth
=
new
wxSpinCtrl
(
m_panel1
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
wxSP_ARROW_KEYS
|
wxSP_WRAP
,
0
,
100
,
0
);
m_spinLineWidth
=
new
wxSpinCtrl
(
m_panel1
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
wxSP_ARROW_KEYS
|
wxSP_WRAP
,
1
,
100
,
1
);
fgSizer1
->
Add
(
m_spinLineWidth
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
|
wxEXPAND
,
3
);
fgSizer1
->
Add
(
m_spinLineWidth
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
|
wxEXPAND
,
3
);
m_staticLineWidthUnits
=
new
wxStaticText
(
m_panel1
,
wxID_ANY
,
_
(
"mils"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticLineWidthUnits
=
new
wxStaticText
(
m_panel1
,
wxID_ANY
,
_
(
"mils"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
...
...
eeschema/dialogs/dialog_eeschema_options_base.fbp
View file @
afdf5258
...
@@ -125,20 +125,20 @@
...
@@ -125,20 +125,20 @@
<property
name=
"name"
>
mainSizer
</property>
<property
name=
"name"
>
mainSizer
</property>
<property
name=
"orient"
>
wxVERTICAL
</property>
<property
name=
"orient"
>
wxVERTICAL
</property>
<property
name=
"permission"
>
none
</property>
<property
name=
"permission"
>
none
</property>
<object
class=
"sizeritem"
expanded=
"
0"
>
<object
class=
"sizeritem"
expanded=
"
1"
>
<property
name=
"border"
>
12
</property>
<property
name=
"border"
>
12
</property>
<property
name=
"flag"
></property>
<property
name=
"flag"
></property>
<property
name=
"proportion"
>
1
</property>
<property
name=
"proportion"
>
1
</property>
<object
class=
"wxBoxSizer"
expanded=
"
0"
>
<object
class=
"wxBoxSizer"
expanded=
"
1"
>
<property
name=
"minimum_size"
></property>
<property
name=
"minimum_size"
></property>
<property
name=
"name"
>
bOptionsSizer
</property>
<property
name=
"name"
>
bOptionsSizer
</property>
<property
name=
"orient"
>
wxVERTICAL
</property>
<property
name=
"orient"
>
wxVERTICAL
</property>
<property
name=
"permission"
>
none
</property>
<property
name=
"permission"
>
none
</property>
<object
class=
"sizeritem"
expanded=
"
0"
>
<object
class=
"sizeritem"
expanded=
"
1"
>
<property
name=
"border"
>
0
</property>
<property
name=
"border"
>
0
</property>
<property
name=
"flag"
>
wxEXPAND
</property>
<property
name=
"flag"
>
wxEXPAND
</property>
<property
name=
"proportion"
>
1
</property>
<property
name=
"proportion"
>
1
</property>
<object
class=
"wxNotebook"
expanded=
"
0"
>
<object
class=
"wxNotebook"
expanded=
"
1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
...
@@ -220,11 +220,11 @@
...
@@ -220,11 +220,11 @@
<event
name=
"OnSetFocus"
></event>
<event
name=
"OnSetFocus"
></event>
<event
name=
"OnSize"
></event>
<event
name=
"OnSize"
></event>
<event
name=
"OnUpdateUI"
></event>
<event
name=
"OnUpdateUI"
></event>
<object
class=
"notebookpage"
expanded=
"
0"
>
<object
class=
"notebookpage"
expanded=
"
1"
>
<property
name=
"bitmap"
></property>
<property
name=
"bitmap"
></property>
<property
name=
"label"
>
General Options
</property>
<property
name=
"label"
>
General Options
</property>
<property
name=
"select"
>
1
</property>
<property
name=
"select"
>
1
</property>
<object
class=
"wxPanel"
expanded=
"
0"
>
<object
class=
"wxPanel"
expanded=
"
1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
...
@@ -302,25 +302,25 @@
...
@@ -302,25 +302,25 @@
<event
name=
"OnSetFocus"
></event>
<event
name=
"OnSetFocus"
></event>
<event
name=
"OnSize"
></event>
<event
name=
"OnSize"
></event>
<event
name=
"OnUpdateUI"
></event>
<event
name=
"OnUpdateUI"
></event>
<object
class=
"wxBoxSizer"
expanded=
"
0"
>
<object
class=
"wxBoxSizer"
expanded=
"
1"
>
<property
name=
"minimum_size"
></property>
<property
name=
"minimum_size"
></property>
<property
name=
"name"
>
p1mainSizer
</property>
<property
name=
"name"
>
p1mainSizer
</property>
<property
name=
"orient"
>
wxHORIZONTAL
</property>
<property
name=
"orient"
>
wxHORIZONTAL
</property>
<property
name=
"permission"
>
none
</property>
<property
name=
"permission"
>
none
</property>
<object
class=
"sizeritem"
expanded=
"
0"
>
<object
class=
"sizeritem"
expanded=
"
1"
>
<property
name=
"border"
>
12
</property>
<property
name=
"border"
>
12
</property>
<property
name=
"flag"
>
wxALL|wxEXPAND
</property>
<property
name=
"flag"
>
wxALL|wxEXPAND
</property>
<property
name=
"proportion"
>
1
</property>
<property
name=
"proportion"
>
1
</property>
<object
class=
"wxBoxSizer"
expanded=
"
0"
>
<object
class=
"wxBoxSizer"
expanded=
"
1"
>
<property
name=
"minimum_size"
></property>
<property
name=
"minimum_size"
></property>
<property
name=
"name"
>
bSizer3
</property>
<property
name=
"name"
>
bSizer3
</property>
<property
name=
"orient"
>
wxVERTICAL
</property>
<property
name=
"orient"
>
wxVERTICAL
</property>
<property
name=
"permission"
>
none
</property>
<property
name=
"permission"
>
none
</property>
<object
class=
"sizeritem"
expanded=
"
0"
>
<object
class=
"sizeritem"
expanded=
"
1"
>
<property
name=
"border"
>
0
</property>
<property
name=
"border"
>
0
</property>
<property
name=
"flag"
>
wxALIGN_CENTER|wxEXPAND
</property>
<property
name=
"flag"
>
wxALIGN_CENTER|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxFlexGridSizer"
expanded=
"
0"
>
<object
class=
"wxFlexGridSizer"
expanded=
"
1"
>
<property
name=
"cols"
>
3
</property>
<property
name=
"cols"
>
3
</property>
<property
name=
"flexible_direction"
>
wxHORIZONTAL
</property>
<property
name=
"flexible_direction"
>
wxHORIZONTAL
</property>
<property
name=
"growablecols"
>
0,1,2
</property>
<property
name=
"growablecols"
>
0,1,2
</property>
...
@@ -779,6 +779,271 @@
...
@@ -779,6 +779,271 @@
<event
name=
"OnUpdateUI"
></event>
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
3
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxALL
</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>
<property
name=
"caption_visible"
>
1
</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=
"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=
"label"
>
Default
&
bus width:
</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"
>
m_staticText51
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"pane_position"
></property>
<property
name=
"pane_size"
></property>
<property
name=
"permission"
>
protected
</property>
<property
name=
"pin_button"
>
1
</property>
<property
name=
"pos"
></property>
<property
name=
"resize"
>
Resizable
</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>
<property
name=
"wrap"
>
-1
</property>
<event
name=
"OnChar"
></event>
<event
name=
"OnEnterWindow"
></event>
<event
name=
"OnEraseBackground"
></event>
<event
name=
"OnKeyDown"
></event>
<event
name=
"OnKeyUp"
></event>
<event
name=
"OnKillFocus"
></event>
<event
name=
"OnLeaveWindow"
></event>
<event
name=
"OnLeftDClick"
></event>
<event
name=
"OnLeftDown"
></event>
<event
name=
"OnLeftUp"
></event>
<event
name=
"OnMiddleDClick"
></event>
<event
name=
"OnMiddleDown"
></event>
<event
name=
"OnMiddleUp"
></event>
<event
name=
"OnMotion"
></event>
<event
name=
"OnMouseEvents"
></event>
<event
name=
"OnMouseWheel"
></event>
<event
name=
"OnPaint"
></event>
<event
name=
"OnRightDClick"
></event>
<event
name=
"OnRightDown"
></event>
<event
name=
"OnRightUp"
></event>
<event
name=
"OnSetFocus"
></event>
<event
name=
"OnSize"
></event>
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
3
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxSpinCtrl"
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>
<property
name=
"caption_visible"
>
1
</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=
"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=
"initial"
>
1
</property>
<property
name=
"max"
>
100
</property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
<property
name=
"min"
>
1
</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"
>
m_spinBusWidth
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"pane_position"
></property>
<property
name=
"pane_size"
></property>
<property
name=
"permission"
>
protected
</property>
<property
name=
"pin_button"
>
1
</property>
<property
name=
"pos"
></property>
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
></property>
<property
name=
"style"
>
wxSP_ARROW_KEYS|wxSP_WRAP
</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=
"value"
></property>
<property
name=
"window_extra_style"
></property>
<property
name=
"window_name"
></property>
<property
name=
"window_style"
></property>
<event
name=
"OnChar"
></event>
<event
name=
"OnEnterWindow"
></event>
<event
name=
"OnEraseBackground"
></event>
<event
name=
"OnKeyDown"
></event>
<event
name=
"OnKeyUp"
></event>
<event
name=
"OnKillFocus"
></event>
<event
name=
"OnLeaveWindow"
></event>
<event
name=
"OnLeftDClick"
></event>
<event
name=
"OnLeftDown"
></event>
<event
name=
"OnLeftUp"
></event>
<event
name=
"OnMiddleDClick"
></event>
<event
name=
"OnMiddleDown"
></event>
<event
name=
"OnMiddleUp"
></event>
<event
name=
"OnMotion"
></event>
<event
name=
"OnMouseEvents"
></event>
<event
name=
"OnMouseWheel"
></event>
<event
name=
"OnPaint"
></event>
<event
name=
"OnRightDClick"
></event>
<event
name=
"OnRightDown"
></event>
<event
name=
"OnRightUp"
></event>
<event
name=
"OnSetFocus"
></event>
<event
name=
"OnSize"
></event>
<event
name=
"OnSpinCtrl"
></event>
<event
name=
"OnSpinCtrlText"
></event>
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
3
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxALL
</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>
<property
name=
"caption_visible"
>
1
</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=
"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=
"label"
>
mils
</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"
>
m_staticBusWidthUnits
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"pane_position"
></property>
<property
name=
"pane_size"
></property>
<property
name=
"permission"
>
protected
</property>
<property
name=
"pin_button"
>
1
</property>
<property
name=
"pos"
></property>
<property
name=
"resize"
>
Resizable
</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>
<property
name=
"wrap"
>
-1
</property>
<event
name=
"OnChar"
></event>
<event
name=
"OnEnterWindow"
></event>
<event
name=
"OnEraseBackground"
></event>
<event
name=
"OnKeyDown"
></event>
<event
name=
"OnKeyUp"
></event>
<event
name=
"OnKillFocus"
></event>
<event
name=
"OnLeaveWindow"
></event>
<event
name=
"OnLeftDClick"
></event>
<event
name=
"OnLeftDown"
></event>
<event
name=
"OnLeftUp"
></event>
<event
name=
"OnMiddleDClick"
></event>
<event
name=
"OnMiddleDown"
></event>
<event
name=
"OnMiddleUp"
></event>
<event
name=
"OnMotion"
></event>
<event
name=
"OnMouseEvents"
></event>
<event
name=
"OnMouseWheel"
></event>
<event
name=
"OnPaint"
></event>
<event
name=
"OnRightDClick"
></event>
<event
name=
"OnRightDown"
></event>
<event
name=
"OnRightUp"
></event>
<event
name=
"OnSetFocus"
></event>
<event
name=
"OnSize"
></event>
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
3
</property>
<property
name=
"border"
>
3
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxALL
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxALL
</property>
...
@@ -898,12 +1163,12 @@
...
@@ -898,12 +1163,12 @@
<property
name=
"gripper"
>
0
</property>
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"initial"
>
0
</property>
<property
name=
"initial"
>
1
</property>
<property
name=
"max"
>
100
</property>
<property
name=
"max"
>
100
</property>
<property
name=
"max_size"
></property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
<property
name=
"maximum_size"
></property>
<property
name=
"min"
>
0
</property>
<property
name=
"min"
>
1
</property>
<property
name=
"min_size"
></property>
<property
name=
"min_size"
></property>
<property
name=
"minimize_button"
>
0
</property>
<property
name=
"minimize_button"
>
0
</property>
<property
name=
"minimum_size"
></property>
<property
name=
"minimum_size"
></property>
...
...
eeschema/dialogs/dialog_eeschema_options_base.h
View file @
afdf5258
...
@@ -59,6 +59,9 @@ class DIALOG_EESCHEMA_OPTIONS_BASE : public wxDialog
...
@@ -59,6 +59,9 @@ class DIALOG_EESCHEMA_OPTIONS_BASE : public wxDialog
wxStaticText
*
m_staticText3
;
wxStaticText
*
m_staticText3
;
wxChoice
*
m_choiceGridSize
;
wxChoice
*
m_choiceGridSize
;
wxStaticText
*
m_staticGridUnits
;
wxStaticText
*
m_staticGridUnits
;
wxStaticText
*
m_staticText51
;
wxSpinCtrl
*
m_spinBusWidth
;
wxStaticText
*
m_staticBusWidthUnits
;
wxStaticText
*
m_staticText5
;
wxStaticText
*
m_staticText5
;
wxSpinCtrl
*
m_spinLineWidth
;
wxSpinCtrl
*
m_spinLineWidth
;
wxStaticText
*
m_staticLineWidthUnits
;
wxStaticText
*
m_staticLineWidthUnits
;
...
...
eeschema/eeschema_config.cpp
View file @
afdf5258
...
@@ -55,6 +55,7 @@
...
@@ -55,6 +55,7 @@
#define FR_HISTORY_LIST_CNT 10 ///< Maximum number of find and replace strings.
#define FR_HISTORY_LIST_CNT 10 ///< Maximum number of find and replace strings.
int
g_DefaultBusWidth
=
9
;
void
LIB_EDIT_FRAME
::
InstallConfigFrame
(
wxCommandEvent
&
event
)
void
LIB_EDIT_FRAME
::
InstallConfigFrame
(
wxCommandEvent
&
event
)
{
{
...
@@ -207,6 +208,7 @@ void SCH_EDIT_FRAME::OnSetOptions( wxCommandEvent& event )
...
@@ -207,6 +208,7 @@ void SCH_EDIT_FRAME::OnSetOptions( wxCommandEvent& event )
dlg
.
SetUnits
(
units
,
g_UserUnit
);
dlg
.
SetUnits
(
units
,
g_UserUnit
);
dlg
.
SetGridSizes
(
grid_list
,
GetScreen
()
->
GetGridId
()
);
dlg
.
SetGridSizes
(
grid_list
,
GetScreen
()
->
GetGridId
()
);
dlg
.
SetBusWidth
(
g_DefaultBusWidth
);
dlg
.
SetLineWidth
(
g_DrawDefaultLineThickness
);
dlg
.
SetLineWidth
(
g_DrawDefaultLineThickness
);
dlg
.
SetTextSize
(
g_DefaultTextLabelSize
);
dlg
.
SetTextSize
(
g_DefaultTextLabelSize
);
dlg
.
SetRepeatHorizontal
(
g_RepeatStep
.
x
);
dlg
.
SetRepeatHorizontal
(
g_RepeatStep
.
x
);
...
@@ -240,6 +242,7 @@ void SCH_EDIT_FRAME::OnSetOptions( wxCommandEvent& event )
...
@@ -240,6 +242,7 @@ void SCH_EDIT_FRAME::OnSetOptions( wxCommandEvent& event )
GetScreen
()
->
SetGrid
(
grid_list
[
(
size_t
)
dlg
.
GetGridSelection
()
].
m_Size
);
GetScreen
()
->
SetGrid
(
grid_list
[
(
size_t
)
dlg
.
GetGridSelection
()
].
m_Size
);
g_DefaultBusWidth
=
dlg
.
GetBusWidth
();
g_DrawDefaultLineThickness
=
dlg
.
GetLineWidth
();
g_DrawDefaultLineThickness
=
dlg
.
GetLineWidth
();
g_DefaultTextLabelSize
=
dlg
.
GetTextSize
();
g_DefaultTextLabelSize
=
dlg
.
GetTextSize
();
g_RepeatStep
.
x
=
dlg
.
GetRepeatHorizontal
();
g_RepeatStep
.
x
=
dlg
.
GetRepeatHorizontal
();
...
@@ -420,7 +423,7 @@ void SCH_EDIT_FRAME::SaveProjectFile()
...
@@ -420,7 +423,7 @@ void SCH_EDIT_FRAME::SaveProjectFile()
wxGetApp
().
WriteProjectConfig
(
fn
.
GetFullPath
(),
GROUP
,
GetProjectFileParameters
()
);
wxGetApp
().
WriteProjectConfig
(
fn
.
GetFullPath
(),
GROUP
,
GetProjectFileParameters
()
);
}
}
static
const
wxString
DefaultBusWidthEntry
(
wxT
(
"DefaultBusWidth"
)
);
static
const
wxString
DefaultDrawLineWidthEntry
(
wxT
(
"DefaultDrawLineWidth"
)
);
static
const
wxString
DefaultDrawLineWidthEntry
(
wxT
(
"DefaultDrawLineWidth"
)
);
static
const
wxString
ShowHiddenPinsEntry
(
wxT
(
"ShowHiddenPins"
)
);
static
const
wxString
ShowHiddenPinsEntry
(
wxT
(
"ShowHiddenPins"
)
);
static
const
wxString
HorzVertLinesOnlyEntry
(
wxT
(
"HorizVertLinesOnly"
)
);
static
const
wxString
HorzVertLinesOnlyEntry
(
wxT
(
"HorizVertLinesOnly"
)
);
...
@@ -553,6 +556,7 @@ void SCH_EDIT_FRAME::LoadSettings()
...
@@ -553,6 +556,7 @@ void SCH_EDIT_FRAME::LoadSettings()
// This is required until someone gets rid of the global variable g_LayerDescription().
// This is required until someone gets rid of the global variable g_LayerDescription().
m_GridColor
=
g_LayerDescr
.
LayerColor
[
LAYER_GRID
];
m_GridColor
=
g_LayerDescr
.
LayerColor
[
LAYER_GRID
];
g_DefaultBusWidth
=
cfg
->
Read
(
DefaultBusWidthEntry
,
(
long
)
8
);
g_DrawDefaultLineThickness
=
cfg
->
Read
(
DefaultDrawLineWidthEntry
,(
long
)
6
);
g_DrawDefaultLineThickness
=
cfg
->
Read
(
DefaultDrawLineWidthEntry
,(
long
)
6
);
cfg
->
Read
(
ShowHiddenPinsEntry
,
&
m_showAllPins
,
false
);
cfg
->
Read
(
ShowHiddenPinsEntry
,
&
m_showAllPins
,
false
);
cfg
->
Read
(
HorzVertLinesOnlyEntry
,
&
g_HVLines
,
true
);
cfg
->
Read
(
HorzVertLinesOnlyEntry
,
&
g_HVLines
,
true
);
...
@@ -644,6 +648,7 @@ void SCH_EDIT_FRAME::SaveSettings()
...
@@ -644,6 +648,7 @@ void SCH_EDIT_FRAME::SaveSettings()
wxGetApp
().
SaveCurrentSetupValues
(
GetConfigurationSettings
()
);
wxGetApp
().
SaveCurrentSetupValues
(
GetConfigurationSettings
()
);
cfg
->
Write
(
DefaultBusWidthEntry
,
(
long
)
g_DefaultBusWidth
);
cfg
->
Write
(
DefaultDrawLineWidthEntry
,
(
long
)
g_DrawDefaultLineThickness
);
cfg
->
Write
(
DefaultDrawLineWidthEntry
,
(
long
)
g_DrawDefaultLineThickness
);
cfg
->
Write
(
ShowHiddenPinsEntry
,
m_showAllPins
);
cfg
->
Write
(
ShowHiddenPinsEntry
,
m_showAllPins
);
cfg
->
Write
(
HorzVertLinesOnlyEntry
,
g_HVLines
);
cfg
->
Write
(
HorzVertLinesOnlyEntry
,
g_HVLines
);
...
...
eeschema/eeschema_config.h
View file @
afdf5258
...
@@ -8,7 +8,17 @@
...
@@ -8,7 +8,17 @@
#define GROUPCOMMON wxT( "/common" )
#define GROUPCOMMON wxT( "/common" )
#define GROUPLIB wxT( "libraries" )
#define GROUPLIB wxT( "libraries" )
extern
int
g_PenMinWidth
;
/**
* The width given to bus drawings that do not have a specific width
*/
extern
int
g_DefaultBusWidth
;
#if defined(KICAD_GOST)
/** In a GOST build, the bus width is set and cannot be changed */
#define GOST_BUS_WIDTH 22
#endif
/* saving parameters option : */
/* saving parameters option : */
#define INSETUP true
/* used when the parameter is saved in general config
#define INSETUP true
/* used when the parameter is saved in general config
...
...
eeschema/sch_bus_entry.cpp
View file @
afdf5258
...
@@ -36,6 +36,7 @@
...
@@ -36,6 +36,7 @@
#include <richio.h>
#include <richio.h>
#include <plot_common.h>
#include <plot_common.h>
#include <eeschema_config.h>
#include <general.h>
#include <general.h>
#include <protos.h>
#include <protos.h>
#include <sch_bus_entry.h>
#include <sch_bus_entry.h>
...
@@ -167,10 +168,9 @@ int SCH_BUS_ENTRY::GetPenSize() const
...
@@ -167,10 +168,9 @@ int SCH_BUS_ENTRY::GetPenSize() const
{
{
int
pensize
=
(
m_width
==
0
)
?
g_DrawDefaultLineThickness
:
m_width
;
int
pensize
=
(
m_width
==
0
)
?
g_DrawDefaultLineThickness
:
m_width
;
if
(
m_Layer
==
LAYER_BUS
&&
m_width
==
0
)
if
(
m_Layer
==
LAYER_BUS
)
{
{
pensize
=
KiROUND
(
g_DrawDefaultLineThickness
*
BUS_WIDTH_EXPAND
);
pensize
=
(
m_width
==
0
)
?
g_DefaultBusWidth
:
m_width
;
pensize
=
MAX
(
pensize
,
3
);
}
}
return
pensize
;
return
pensize
;
...
...
eeschema/sch_line.cpp
View file @
afdf5258
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
#include <richio.h>
#include <richio.h>
#include <plot_common.h>
#include <plot_common.h>
#include <base_units.h>
#include <base_units.h>
#include <eeschema_config.h>
#include <general.h>
#include <general.h>
#include <protos.h>
#include <protos.h>
#include <sch_line.h>
#include <sch_line.h>
...
@@ -212,10 +212,13 @@ int SCH_LINE::GetPenSize() const
...
@@ -212,10 +212,13 @@ int SCH_LINE::GetPenSize() const
{
{
int
pensize
=
(
m_width
==
0
)
?
g_DrawDefaultLineThickness
:
m_width
;
int
pensize
=
(
m_width
==
0
)
?
g_DrawDefaultLineThickness
:
m_width
;
if
(
m_Layer
==
LAYER_BUS
&&
m_width
==
0
)
if
(
m_Layer
==
LAYER_BUS
)
{
{
pensize
=
KiROUND
(
g_DrawDefaultLineThickness
*
BUS_WIDTH_EXPAND
);
#if defined(KICAD_GOST)
pensize
=
MAX
(
pensize
,
3
);
pensize
=
GOST_BUS_WIDTH
;
#else
pensize
=
(
m_width
==
0
)
?
g_DefaultBusWidth
:
m_width
;
#endif
}
}
return
pensize
;
return
pensize
;
...
...
include/sch_item_struct.h
View file @
afdf5258
...
@@ -50,16 +50,6 @@ typedef SCH_ITEMS::iterator SCH_ITEMS_ITR;
...
@@ -50,16 +50,6 @@ typedef SCH_ITEMS::iterator SCH_ITEMS_ITR;
typedef
vector
<
SCH_ITEMS_ITR
>
SCH_ITEMS_ITRS
;
typedef
vector
<
SCH_ITEMS_ITR
>
SCH_ITEMS_ITRS
;
/* used to calculate the pen size from default value
* the actual pen size is default value * BUS_WIDTH_EXPAND
*/
#if defined(KICAD_GOST)
#define BUS_WIDTH_EXPAND 3.6
#else
#define BUS_WIDTH_EXPAND 1.4
#endif
#define FMT_IU SCH_ITEM::FormatInternalUnits
#define FMT_IU SCH_ITEM::FormatInternalUnits
#define FMT_ANGLE SCH_ITEM::FormatAngle
#define FMT_ANGLE SCH_ITEM::FormatAngle
...
...
pcbnew/dialogs/dialog_design_rules.cpp
View file @
afdf5258
...
@@ -986,11 +986,8 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
...
@@ -986,11 +986,8 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
int
minUViaDia
=
ReturnValueFromTextCtrl
(
*
m_SetMicroViasMinSizeCtrl
);
int
minUViaDia
=
ReturnValueFromTextCtrl
(
*
m_SetMicroViasMinSizeCtrl
);
int
minUViaDrill
=
ReturnValueFromTextCtrl
(
*
m_SetMicroViasMinDrillCtrl
);
int
minUViaDrill
=
ReturnValueFromTextCtrl
(
*
m_SetMicroViasMinDrillCtrl
);
int
minTrackWidth
=
ReturnValueFromTextCtrl
(
*
m_SetTrackMinWidthCtrl
);
int
minTrackWidth
=
ReturnValueFromTextCtrl
(
*
m_SetTrackMinWidthCtrl
);
#if defined( USE_PCBNEW_NANOMETRES )
int
maxval
=
1000
*
IU_PER_MILS
;
// a max value for tracks and vias sizes (1 inch)
int
maxval
=
25400000
;
#else
int
maxval
=
10000
;
#endif
for
(
int
row
=
0
;
row
<
m_grid
->
GetNumberRows
();
row
++
)
for
(
int
row
=
0
;
row
<
m_grid
->
GetNumberRows
();
row
++
)
...
...
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