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
95213372
Commit
95213372
authored
Feb 12, 2013
by
Emmeran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved changes to dialogs into fbp files
parent
226b877a
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
10280 additions
and
9911 deletions
+10280
-9911
dialog_display_options_base.cpp
cvpcb/dialogs/dialog_display_options_base.cpp
+111
-109
dialog_display_options_base.fbp
cvpcb/dialogs/dialog_display_options_base.fbp
+885
-797
dialog_display_options_base.h
cvpcb/dialogs/dialog_display_options_base.h
+71
-69
dialog_eeschema_options_base.cpp
eeschema/dialogs/dialog_eeschema_options_base.cpp
+321
-313
dialog_eeschema_options_base.fbp
eeschema/dialogs/dialog_eeschema_options_base.fbp
+4792
-4704
dialog_eeschema_options_base.h
eeschema/dialogs/dialog_eeschema_options_base.h
+124
-124
gerbview_dialog_display_options_frame_base.cpp
...ew/dialogs/gerbview_dialog_display_options_frame_base.cpp
+138
-136
gerbview_dialog_display_options_frame_base.fbp
...ew/dialogs/gerbview_dialog_display_options_frame_base.fbp
+1254
-1166
gerbview_dialog_display_options_frame_base.h
...view/dialogs/gerbview_dialog_display_options_frame_base.h
+70
-68
dialog_general_options_BoardEditor_base.cpp
pcbnew/dialogs/dialog_general_options_BoardEditor_base.cpp
+210
-210
dialog_general_options_BoardEditor_base.fbp
pcbnew/dialogs/dialog_general_options_BoardEditor_base.fbp
+2205
-2117
dialog_general_options_BoardEditor_base.h
pcbnew/dialogs/dialog_general_options_BoardEditor_base.h
+99
-98
No files found.
cvpcb/dialogs/dialog_display_options_base.cpp
View file @
95213372
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Apr 10 2012)
// C++ code generated with wxFormBuilder (version
Oct 8 2012)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
...
...
@@ -56,7 +56,9 @@ DIALOG_FOOTPRINTS_DISPLAY_OPTIONS_BASE::DIALOG_FOOTPRINTS_DISPLAY_OPTIONS_BASE(
sbSizerViewOpt
=
new
wxStaticBoxSizer
(
new
wxStaticBox
(
this
,
wxID_ANY
,
_
(
"Pan:"
)
),
wxVERTICAL
);
m_IsZoomNoCenter
=
new
wxCheckBox
(
this
,
wxID_ANY
,
_
(
"Zoom off center"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
sbSizerViewOpt
->
Add
(
m_IsZoomNoCenter
,
0
,
wxALL
|
wxEXPAND
,
5
);
m_IsZoomNoCenter
->
SetToolTip
(
_
(
"Keep the cursor at its current location when zooming"
)
);
sbSizerViewOpt
->
Add
(
m_IsZoomNoCenter
,
0
,
wxALL
,
5
);
m_IsMiddleButtonPan
=
new
wxCheckBox
(
this
,
wxID_ANY
,
_
(
"Middle Button PAN Enabled"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
sbSizerViewOpt
->
Add
(
m_IsMiddleButtonPan
,
0
,
wxALL
|
wxEXPAND
,
5
);
...
...
cvpcb/dialogs/dialog_display_options_base.fbp
View file @
95213372
...
...
@@ -502,6 +502,94 @@
<property
name=
"orient"
>
wxVERTICAL
</property>
<property
name=
"permission"
>
none
</property>
<event
name=
"OnUpdateUI"
></event>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"proportion"
>
0
</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>
<property
name=
"caption_visible"
>
1
</property>
<property
name=
"center_pane"
>
0
</property>
<property
name=
"checked"
>
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"
>
Zoom off center
</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_IsZoomNoCenter
</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"
>
Keep the cursor at its current location when zooming
</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>
<event
name=
"OnChar"
></event>
<event
name=
"OnCheckBox"
></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"
>
5
</property>
<property
name=
"flag"
>
wxALL|wxEXPAND
</property>
...
...
cvpcb/dialogs/dialog_display_options_base.h
View file @
95213372
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Apr 10 2012)
// C++ code generated with wxFormBuilder (version
Oct 8 2012)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
...
...
@@ -11,6 +11,8 @@
#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/radiobox.h>
...
...
eeschema/dialogs/dialog_eeschema_options_base.cpp
View file @
95213372
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Apr 10 2012)
// C++ code generated with wxFormBuilder (version
Oct 8 2012)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
...
...
@@ -155,10 +155,10 @@ DIALOG_EESCHEMA_OPTIONS_BASE::DIALOG_EESCHEMA_OPTIONS_BASE( wxWindow* parent, wx
m_checkShowHiddenPins
=
new
wxCheckBox
(
m_panel1
,
wxID_ANY
,
_
(
"Show hi&dden pins"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
bSizer2
->
Add
(
m_checkShowHiddenPins
,
0
,
wxALL
|
wxEXPAND
,
3
);
m_checkEnableZoomNoCenter
=
new
wxCheckBox
(
m_panel1
,
xwID_ANY
,
_
(
"Enable zooming off center"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_checkEnableZoomNoCenter
=
new
wxCheckBox
(
m_panel1
,
wxID_ANY
,
_
(
"Zoom off center"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_checkEnableZoomNoCenter
->
SetToolTip
(
_
(
"Keep the cursor at its current location when zooming"
)
);
bSizer2
->
Add
(
m_checkEnableZoomNoCenter
,
0
,
wxALL
,
3
);
bSizer2
->
Add
(
m_checkEnableZoomNoCenter
,
0
,
wxALL
,
5
);
m_checkEnableMiddleButtonPan
=
new
wxCheckBox
(
m_panel1
,
xwID_ANY
,
_
(
"Enable middle mouse button panning"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_checkEnableMiddleButtonPan
->
SetToolTip
(
_
(
"Use middle mouse button dragging to pan"
)
);
...
...
@@ -223,6 +223,7 @@ DIALOG_EESCHEMA_OPTIONS_BASE::DIALOG_EESCHEMA_OPTIONS_BASE( wxWindow* parent, wx
fgSizer2
->
Add
(
m_staticText15
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALIGN_RIGHT
|
wxALL
,
3
);
m_fieldName1
=
new
wxTextCtrl
(
m_panel2
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_fieldName1
->
SetMaxLength
(
0
);
fgSizer2
->
Add
(
m_fieldName1
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
|
wxEXPAND
,
3
);
m_staticText161
=
new
wxStaticText
(
m_panel2
,
wxID_ANY
,
_
(
"Custom field 2"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
...
...
@@ -230,6 +231,7 @@ DIALOG_EESCHEMA_OPTIONS_BASE::DIALOG_EESCHEMA_OPTIONS_BASE( wxWindow* parent, wx
fgSizer2
->
Add
(
m_staticText161
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALIGN_RIGHT
|
wxALL
,
3
);
m_fieldName2
=
new
wxTextCtrl
(
m_panel2
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_fieldName2
->
SetMaxLength
(
0
);
fgSizer2
->
Add
(
m_fieldName2
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
|
wxEXPAND
,
3
);
m_staticText17
=
new
wxStaticText
(
m_panel2
,
wxID_ANY
,
_
(
"Custom field 3"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
...
...
@@ -237,6 +239,7 @@ DIALOG_EESCHEMA_OPTIONS_BASE::DIALOG_EESCHEMA_OPTIONS_BASE( wxWindow* parent, wx
fgSizer2
->
Add
(
m_staticText17
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALIGN_RIGHT
|
wxALL
,
3
);
m_fieldName3
=
new
wxTextCtrl
(
m_panel2
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_fieldName3
->
SetMaxLength
(
0
);
fgSizer2
->
Add
(
m_fieldName3
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
|
wxEXPAND
,
3
);
m_staticText18
=
new
wxStaticText
(
m_panel2
,
wxID_ANY
,
_
(
"Custom field 4"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
...
...
@@ -244,6 +247,7 @@ DIALOG_EESCHEMA_OPTIONS_BASE::DIALOG_EESCHEMA_OPTIONS_BASE( wxWindow* parent, wx
fgSizer2
->
Add
(
m_staticText18
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALIGN_RIGHT
|
wxALL
,
3
);
m_fieldName4
=
new
wxTextCtrl
(
m_panel2
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_fieldName4
->
SetMaxLength
(
0
);
fgSizer2
->
Add
(
m_fieldName4
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
|
wxEXPAND
,
3
);
m_staticText19
=
new
wxStaticText
(
m_panel2
,
wxID_ANY
,
_
(
"Custom field 5"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
...
...
@@ -251,6 +255,7 @@ DIALOG_EESCHEMA_OPTIONS_BASE::DIALOG_EESCHEMA_OPTIONS_BASE( wxWindow* parent, wx
fgSizer2
->
Add
(
m_staticText19
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALIGN_RIGHT
|
wxALL
,
3
);
m_fieldName5
=
new
wxTextCtrl
(
m_panel2
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_fieldName5
->
SetMaxLength
(
0
);
fgSizer2
->
Add
(
m_fieldName5
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
|
wxEXPAND
,
3
);
m_staticText20
=
new
wxStaticText
(
m_panel2
,
wxID_ANY
,
_
(
"Custom field 6"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
...
...
@@ -258,6 +263,7 @@ DIALOG_EESCHEMA_OPTIONS_BASE::DIALOG_EESCHEMA_OPTIONS_BASE( wxWindow* parent, wx
fgSizer2
->
Add
(
m_staticText20
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALIGN_RIGHT
|
wxALL
,
3
);
m_fieldName6
=
new
wxTextCtrl
(
m_panel2
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_fieldName6
->
SetMaxLength
(
0
);
fgSizer2
->
Add
(
m_fieldName6
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
|
wxEXPAND
,
3
);
m_staticText21
=
new
wxStaticText
(
m_panel2
,
wxID_ANY
,
_
(
"Custom field 7"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
...
...
@@ -265,6 +271,7 @@ DIALOG_EESCHEMA_OPTIONS_BASE::DIALOG_EESCHEMA_OPTIONS_BASE( wxWindow* parent, wx
fgSizer2
->
Add
(
m_staticText21
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALIGN_RIGHT
|
wxALL
,
3
);
m_fieldName7
=
new
wxTextCtrl
(
m_panel2
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_fieldName7
->
SetMaxLength
(
0
);
fgSizer2
->
Add
(
m_fieldName7
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
|
wxEXPAND
,
3
);
m_staticText22
=
new
wxStaticText
(
m_panel2
,
wxID_ANY
,
_
(
"Custom field 8"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
...
...
@@ -272,6 +279,7 @@ DIALOG_EESCHEMA_OPTIONS_BASE::DIALOG_EESCHEMA_OPTIONS_BASE( wxWindow* parent, wx
fgSizer2
->
Add
(
m_staticText22
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALIGN_RIGHT
|
wxALL
,
3
);
m_fieldName8
=
new
wxTextCtrl
(
m_panel2
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_fieldName8
->
SetMaxLength
(
0
);
fgSizer2
->
Add
(
m_fieldName8
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
|
wxEXPAND
,
3
);
...
...
eeschema/dialogs/dialog_eeschema_options_base.fbp
View file @
95213372
...
...
@@ -2425,11 +2425,11 @@
</object>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"
0"
>
<object
class=
"sizeritem"
expanded=
"
1"
>
<property
name=
"border"
>
0
</property>
<property
name=
"flag"
>
wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxBoxSizer"
expanded=
"
0"
>
<object
class=
"wxBoxSizer"
expanded=
"
1"
>
<property
name=
"minimum_size"
></property>
<property
name=
"name"
>
bSizer2
</property>
<property
name=
"orient"
>
wxVERTICAL
</property>
...
...
@@ -2610,6 +2610,94 @@
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"proportion"
>
0
</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>
<property
name=
"caption_visible"
>
1
</property>
<property
name=
"center_pane"
>
0
</property>
<property
name=
"checked"
>
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"
>
Zoom off center
</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_checkEnableZoomNoCenter
</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"
>
Keep the cursor at its current location when zooming
</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>
<event
name=
"OnChar"
></event>
<event
name=
"OnCheckBox"
></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"
>
wxALL
</property>
...
...
eeschema/dialogs/dialog_eeschema_options_base.h
View file @
95213372
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Apr 10 2012)
// C++ code generated with wxFormBuilder (version
Oct 8 2012)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
...
...
gerbview/dialogs/gerbview_dialog_display_options_frame_base.cpp
View file @
95213372
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Apr 10 2012)
// C++ code generated with wxFormBuilder (version
Oct 8 2012)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
...
...
@@ -87,6 +87,8 @@ DIALOG_DISPLAY_OPTIONS_BASE::DIALOG_DISPLAY_OPTIONS_BASE( wxWindow* parent, wxWi
bLeftBottomSizer
=
new
wxStaticBoxSizer
(
new
wxStaticBox
(
this
,
wxID_ANY
,
_
(
"Pan:"
)
),
wxVERTICAL
);
m_OptZoomNoCenter
=
new
wxCheckBox
(
this
,
wxID_ANY
,
_
(
"Zoom off center"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_OptZoomNoCenter
->
SetToolTip
(
_
(
"Keep the cursor at its current location when zooming"
)
);
bLeftBottomSizer
->
Add
(
m_OptZoomNoCenter
,
0
,
wxALL
,
5
);
m_OptMiddleButtonPan
=
new
wxCheckBox
(
this
,
wxID_ANY
,
_
(
"Middle Button PAN Enabled"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
...
...
gerbview/dialogs/gerbview_dialog_display_options_frame_base.fbp
View file @
95213372
...
...
@@ -871,6 +871,94 @@
<property
name=
"orient"
>
wxVERTICAL
</property>
<property
name=
"permission"
>
none
</property>
<event
name=
"OnUpdateUI"
></event>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"proportion"
>
0
</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>
<property
name=
"caption_visible"
>
1
</property>
<property
name=
"center_pane"
>
0
</property>
<property
name=
"checked"
>
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"
>
Zoom off center
</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_OptZoomNoCenter
</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"
>
Keep the cursor at its current location when zooming
</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>
<event
name=
"OnChar"
></event>
<event
name=
"OnCheckBox"
></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"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
...
...
gerbview/dialogs/gerbview_dialog_display_options_frame_base.h
View file @
95213372
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Apr 10 2012)
// C++ code generated with wxFormBuilder (version
Oct 8 2012)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
...
...
@@ -11,6 +11,8 @@
#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/radiobox.h>
...
...
pcbnew/dialogs/dialog_general_options_BoardEditor_base.cpp
View file @
95213372
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Apr 10 2012)
// C++ code generated with wxFormBuilder (version
Oct 8 2012)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
...
...
@@ -149,12 +149,12 @@ DIALOG_GENERALOPTIONS_BOARDEDITOR_BASE::DIALOG_GENERALOPTIONS_BOARDEDITOR_BASE(
wxStaticBoxSizer
*
sbSizer2PAN
;
sbSizer2PAN
=
new
wxStaticBoxSizer
(
new
wxStaticBox
(
this
,
wxID_ANY
,
_
(
"Pan:"
)
),
wxVERTICAL
);
m_ZoomNoCenterOpt
=
new
wxCheckBox
(
this
,
wxID_
ZOOMNOCENTER
,
_
(
"Zoom off center"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_ZoomNoCenterOpt
=
new
wxCheckBox
(
this
,
wxID_
ANY
,
_
(
"Zoom off center"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_ZoomNoCenterOpt
->
SetToolTip
(
_
(
"Keep the cursor at its current location when zooming"
)
);
sbSizer2PAN
->
Add
(
m_ZoomNoCenterOpt
,
0
,
wxALL
,
5
);
m_MiddleButtonPANOpt
=
new
wxCheckBox
(
this
,
wxID_
MIDDLEBUTTONPAN
,
_
(
"Middle Button PAN Enabled"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_MiddleButtonPANOpt
=
new
wxCheckBox
(
this
,
wxID_
ANY
,
_
(
"Middle Button PAN Enabled"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_MiddleButtonPANOpt
->
SetToolTip
(
_
(
"Use middle mouse button dragging to pan"
)
);
sbSizer2PAN
->
Add
(
m_MiddleButtonPANOpt
,
0
,
wxALL
,
5
);
...
...
pcbnew/dialogs/dialog_general_options_BoardEditor_base.fbp
View file @
95213372
...
...
@@ -915,11 +915,11 @@
<property
name=
"orient"
>
wxVERTICAL
</property>
<property
name=
"permission"
>
none
</property>
<event
name=
"OnUpdateUI"
></event>
<object
class=
"sizeritem"
expanded=
"
1"
>
<object
class=
"sizeritem"
expanded=
"
0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxCheckBox"
expanded=
"
1"
>
<object
class=
"wxCheckBox"
expanded=
"
0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
...
...
@@ -1003,11 +1003,11 @@
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"
1"
>
<object
class=
"sizeritem"
expanded=
"
0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxCheckBox"
expanded=
"
1"
>
<object
class=
"wxCheckBox"
expanded=
"
0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
...
...
@@ -1091,11 +1091,11 @@
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"
1"
>
<object
class=
"sizeritem"
expanded=
"
0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxCheckBox"
expanded=
"
1"
>
<object
class=
"wxCheckBox"
expanded=
"
0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
...
...
@@ -1179,11 +1179,11 @@
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"
1"
>
<object
class=
"sizeritem"
expanded=
"
0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxCheckBox"
expanded=
"
1"
>
<object
class=
"wxCheckBox"
expanded=
"
0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
...
...
@@ -1267,11 +1267,11 @@
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"
1"
>
<object
class=
"sizeritem"
expanded=
"
0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxCheckBox"
expanded=
"
1"
>
<object
class=
"wxCheckBox"
expanded=
"
0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
...
...
@@ -1355,11 +1355,11 @@
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"
1"
>
<object
class=
"sizeritem"
expanded=
"
0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxCheckBox"
expanded=
"
1"
>
<object
class=
"wxCheckBox"
expanded=
"
0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
...
...
@@ -1443,11 +1443,11 @@
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"
1"
>
<object
class=
"sizeritem"
expanded=
"
0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxCheckBox"
expanded=
"
1"
>
<object
class=
"wxCheckBox"
expanded=
"
0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
...
...
@@ -1766,7 +1766,95 @@
<property
name=
"font"
></property>
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_MIDDLEBUTTONPAN
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"label"
>
Zoom off center
</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_ZoomNoCenterOpt
</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"
>
Keep the cursor at its current location when zooming
</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>
<event
name=
"OnChar"
></event>
<event
name=
"OnCheckBox"
></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"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxCheckBox"
expanded=
"0"
>
<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=
"checked"
>
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"
>
Middle Button PAN Enabled
</property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
...
...
@@ -1822,11 +1910,11 @@
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"
1"
>
<object
class=
"sizeritem"
expanded=
"
0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxCheckBox"
expanded=
"
1"
>
<object
class=
"wxCheckBox"
expanded=
"
0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
...
...
@@ -1910,11 +1998,11 @@
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"
1"
>
<object
class=
"sizeritem"
expanded=
"
0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxCheckBox"
expanded=
"
1"
>
<object
class=
"wxCheckBox"
expanded=
"
0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
...
...
pcbnew/dialogs/dialog_general_options_BoardEditor_base.h
View file @
95213372
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Apr 10 2012)
// C++ code generated with wxFormBuilder (version
Oct 8 2012)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
...
...
@@ -11,6 +11,8 @@
#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/radiobox.h>
...
...
@@ -50,7 +52,6 @@ class DIALOG_GENERALOPTIONS_BOARDEDITOR_BASE : public DIALOG_SHIM
wxID_TRACKS45
,
wxID_SEGMENTS45
,
wxID_MAGNETIC_TRACKS
,
wxID_ZOOMNOCENTER
,
wxID_MIDDLEBUTTONPAN
,
wxID_AUTOPAN
};
...
...
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