diff --git a/cvpcb/menubar.cpp b/cvpcb/menubar.cpp
index dd7cc5f5be..1d701b1c9c 100644
--- a/cvpcb/menubar.cpp
+++ b/cvpcb/menubar.cpp
@@ -66,7 +66,7 @@ void CVPCB_MAINFRAME::ReCreateMenuBar()
AddMenuItem( filesMenu,
wxID_SAVE,
_( "&Save\tCtrl+S" ),
- _( "Save net list and footprint list files" ),
+ _( "Save net list and footprint files" ),
KiBitmap( save_xpm ) );
// Save as
diff --git a/eeschema/dialogs/dialog_SVG_print_base.cpp b/eeschema/dialogs/dialog_SVG_print_base.cpp
index 9f3eddc338..9cdc62d51f 100644
--- a/eeschema/dialogs/dialog_SVG_print_base.cpp
+++ b/eeschema/dialogs/dialog_SVG_print_base.cpp
@@ -1,107 +1,107 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "dialog_SVG_print_base.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-DIALOG_SVG_PRINT_base::DIALOG_SVG_PRINT_base( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
-
- wxBoxSizer* bMainSizer;
- bMainSizer = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bUpperSizer;
- bUpperSizer = new wxBoxSizer( wxHORIZONTAL );
-
- wxStaticBoxSizer* sbOptionsSizer;
- sbOptionsSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Print SVG options:") ), wxVERTICAL );
-
- m_TextPenWidth = new wxStaticText( this, wxID_ANY, _("Default Pen Size"), wxDefaultPosition, wxDefaultSize, 0 );
- m_TextPenWidth->Wrap( -1 );
- sbOptionsSizer->Add( m_TextPenWidth, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- m_DialogPenWidth = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_DialogPenWidth->SetToolTip( _("Selection of the default pen thickness used to draw items, when their thickness is set to 0.") );
-
- sbOptionsSizer->Add( m_DialogPenWidth, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
-
- wxString m_ModeColorOptionChoices[] = { _("Color"), _("Black and White") };
- int m_ModeColorOptionNChoices = sizeof( m_ModeColorOptionChoices ) / sizeof( wxString );
- m_ModeColorOption = new wxRadioBox( this, wxID_ANY, _("Print mode"), wxDefaultPosition, wxDefaultSize, m_ModeColorOptionNChoices, m_ModeColorOptionChoices, 1, wxRA_SPECIFY_COLS );
- m_ModeColorOption->SetSelection( 1 );
- m_ModeColorOption->SetToolTip( _("Choose if you wand to draw the sheet like it appears on screen,\nor in black and white mode, better to print it when using black and white printers") );
-
- sbOptionsSizer->Add( m_ModeColorOption, 0, wxALL|wxEXPAND, 5 );
-
- m_Print_Sheet_Ref = new wxCheckBox( this, wxID_ANY, _("Print Frame Ref"), wxDefaultPosition, wxDefaultSize, 0 );
-
- m_Print_Sheet_Ref->SetToolTip( _("Print (or not) the Frame references.") );
-
- sbOptionsSizer->Add( m_Print_Sheet_Ref, 0, wxALL, 5 );
-
- bUpperSizer->Add( sbOptionsSizer, 1, 0, 5 );
-
- wxBoxSizer* bButtonsSizer;
- bButtonsSizer = new wxBoxSizer( wxVERTICAL );
-
- m_buttonPlotCurrent = new wxButton( this, wxID_PRINT_CURRENT, _("Print Current"), wxDefaultPosition, wxDefaultSize, 0 );
- bButtonsSizer->Add( m_buttonPlotCurrent, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
-
- m_buttonPlotAll = new wxButton( this, wxID_PRINT_ALL, _("Print All"), wxDefaultPosition, wxDefaultSize, 0 );
- m_buttonPlotAll->SetDefault();
- bButtonsSizer->Add( m_buttonPlotAll, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
-
- m_buttonQuit = new wxButton( this, wxID_CANCEL, _("Quit"), wxDefaultPosition, wxDefaultSize, 0 );
- bButtonsSizer->Add( m_buttonQuit, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
-
- bUpperSizer->Add( bButtonsSizer, 0, wxALIGN_CENTER_VERTICAL, 5 );
-
- bMainSizer->Add( bUpperSizer, 0, wxEXPAND, 5 );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, _("Filename:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- bMainSizer->Add( m_staticText1, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- m_FileNameCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_FileNameCtrl->SetToolTip( _("Enter a filename if you do not want to use default file names\nCan be used only when printing the current sheet") );
- m_FileNameCtrl->SetMinSize( wxSize( 450,-1 ) );
-
- bMainSizer->Add( m_FileNameCtrl, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, _("Messages:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- bMainSizer->Add( m_staticText2, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- m_MessagesBox = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
- m_MessagesBox->SetMinSize( wxSize( -1,80 ) );
-
- bMainSizer->Add( m_MessagesBox, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
-
- this->SetSizer( bMainSizer );
- this->Layout();
-
- // Connect Events
- this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_SVG_PRINT_base::OnCloseWindow ) );
- this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( DIALOG_SVG_PRINT_base::OnInitDialog ) );
- m_ModeColorOption->Connect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnSetColorModeSelected ), NULL, this );
- m_buttonPlotCurrent->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonPlotCurrentClick ), NULL, this );
- m_buttonPlotAll->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonPlotAllClick ), NULL, this );
- m_buttonQuit->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonCancelClick ), NULL, this );
-}
-
-DIALOG_SVG_PRINT_base::~DIALOG_SVG_PRINT_base()
-{
- // Disconnect Events
- this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_SVG_PRINT_base::OnCloseWindow ) );
- this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( DIALOG_SVG_PRINT_base::OnInitDialog ) );
- m_ModeColorOption->Disconnect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnSetColorModeSelected ), NULL, this );
- m_buttonPlotCurrent->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonPlotCurrentClick ), NULL, this );
- m_buttonPlotAll->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonPlotAllClick ), NULL, this );
- m_buttonQuit->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonCancelClick ), NULL, this );
-}
+///////////////////////////////////////////////////////////////////////////
+// C++ code generated with wxFormBuilder (version Jun 30 2011)
+// http://www.wxformbuilder.org/
+//
+// PLEASE DO "NOT" EDIT THIS FILE!
+///////////////////////////////////////////////////////////////////////////
+
+#include "dialog_SVG_print_base.h"
+
+///////////////////////////////////////////////////////////////////////////
+
+DIALOG_SVG_PRINT_base::DIALOG_SVG_PRINT_base( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
+{
+ this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
+
+ wxBoxSizer* bMainSizer;
+ bMainSizer = new wxBoxSizer( wxVERTICAL );
+
+ wxBoxSizer* bUpperSizer;
+ bUpperSizer = new wxBoxSizer( wxHORIZONTAL );
+
+ wxStaticBoxSizer* sbOptionsSizer;
+ sbOptionsSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Print SVG options:") ), wxVERTICAL );
+
+ m_TextPenWidth = new wxStaticText( this, wxID_ANY, _("Default Pen Size"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_TextPenWidth->Wrap( -1 );
+ sbOptionsSizer->Add( m_TextPenWidth, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
+
+ m_DialogPenWidth = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
+ m_DialogPenWidth->SetToolTip( _("Selection of the default pen thickness used to draw items, when their thickness is set to 0.") );
+
+ sbOptionsSizer->Add( m_DialogPenWidth, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
+
+ wxString m_ModeColorOptionChoices[] = { _("Color"), _("Black and White") };
+ int m_ModeColorOptionNChoices = sizeof( m_ModeColorOptionChoices ) / sizeof( wxString );
+ m_ModeColorOption = new wxRadioBox( this, wxID_ANY, _("Print mode"), wxDefaultPosition, wxDefaultSize, m_ModeColorOptionNChoices, m_ModeColorOptionChoices, 1, wxRA_SPECIFY_COLS );
+ m_ModeColorOption->SetSelection( 1 );
+ m_ModeColorOption->SetToolTip( _("Choose if you want to draw the sheet like it appears on screen,\nor in black and white mode, better to print it when using black and white printers") );
+
+ sbOptionsSizer->Add( m_ModeColorOption, 0, wxALL|wxEXPAND, 5 );
+
+ m_Print_Sheet_Ref = new wxCheckBox( this, wxID_ANY, _("Print Frame Ref"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_Print_Sheet_Ref->SetToolTip( _("Print (or not) the Frame references.") );
+
+ sbOptionsSizer->Add( m_Print_Sheet_Ref, 0, wxALL, 5 );
+
+ bUpperSizer->Add( sbOptionsSizer, 1, 0, 5 );
+
+ wxBoxSizer* bButtonsSizer;
+ bButtonsSizer = new wxBoxSizer( wxVERTICAL );
+
+ m_buttonPlotCurrent = new wxButton( this, wxID_PRINT_CURRENT, _("Print Current"), wxDefaultPosition, wxDefaultSize, 0 );
+ bButtonsSizer->Add( m_buttonPlotCurrent, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
+
+ m_buttonPlotAll = new wxButton( this, wxID_PRINT_ALL, _("Print All"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_buttonPlotAll->SetDefault();
+ bButtonsSizer->Add( m_buttonPlotAll, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
+
+ m_buttonQuit = new wxButton( this, wxID_CANCEL, _("Quit"), wxDefaultPosition, wxDefaultSize, 0 );
+ bButtonsSizer->Add( m_buttonQuit, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
+
+ bUpperSizer->Add( bButtonsSizer, 0, wxALIGN_CENTER_VERTICAL, 5 );
+
+ bMainSizer->Add( bUpperSizer, 0, wxEXPAND, 5 );
+
+ m_staticText1 = new wxStaticText( this, wxID_ANY, _("Filename:"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_staticText1->Wrap( -1 );
+ bMainSizer->Add( m_staticText1, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
+
+ m_FileNameCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
+ m_FileNameCtrl->SetToolTip( _("Enter a filename if you do not want to use default file names\nCan be used only when printing the current sheet") );
+ m_FileNameCtrl->SetMinSize( wxSize( 450,-1 ) );
+
+ bMainSizer->Add( m_FileNameCtrl, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
+
+ m_staticText2 = new wxStaticText( this, wxID_ANY, _("Messages:"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_staticText2->Wrap( -1 );
+ bMainSizer->Add( m_staticText2, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
+
+ m_MessagesBox = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
+ m_MessagesBox->SetMinSize( wxSize( -1,80 ) );
+
+ bMainSizer->Add( m_MessagesBox, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
+
+ this->SetSizer( bMainSizer );
+ this->Layout();
+
+ // Connect Events
+ this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_SVG_PRINT_base::OnCloseWindow ) );
+ this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( DIALOG_SVG_PRINT_base::OnInitDialog ) );
+ m_ModeColorOption->Connect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnSetColorModeSelected ), NULL, this );
+ m_buttonPlotCurrent->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonPlotCurrentClick ), NULL, this );
+ m_buttonPlotAll->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonPlotAllClick ), NULL, this );
+ m_buttonQuit->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonCancelClick ), NULL, this );
+}
+
+DIALOG_SVG_PRINT_base::~DIALOG_SVG_PRINT_base()
+{
+ // Disconnect Events
+ this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_SVG_PRINT_base::OnCloseWindow ) );
+ this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( DIALOG_SVG_PRINT_base::OnInitDialog ) );
+ m_ModeColorOption->Disconnect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnSetColorModeSelected ), NULL, this );
+ m_buttonPlotCurrent->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonPlotCurrentClick ), NULL, this );
+ m_buttonPlotAll->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonPlotAllClick ), NULL, this );
+ m_buttonQuit->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonCancelClick ), NULL, this );
+
+}
diff --git a/eeschema/dialogs/dialog_SVG_print_base.fbp b/eeschema/dialogs/dialog_SVG_print_base.fbp
index 54dc016df2..64dd9d5f4b 100644
--- a/eeschema/dialogs/dialog_SVG_print_base.fbp
+++ b/eeschema/dialogs/dialog_SVG_print_base.fbp
@@ -1,697 +1,1141 @@
-
-
-
-
-
+
+
+
+
+
+ C++
+ 1
+ source_name
+ 0
+ res
+ UTF-8
+ connect
+ dialog_SVG_print_base
+ 1000
+ none
+ 1
+ DialogSVGPrint_base
+
+ .
+
+ 1
+ 1
+ 1
+ 0
+
+ 1
+ 1
+ 1
+ 1
+ 0
+
+
+
+
+ 1
+
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
+ 1
+ impl_virtual
+
+
+ 1
+
+ 0
+ 0
+ wxID_ANY
+
+
+ 0
+
+
+ 0
+ -1,-1
+ 1
+ DIALOG_SVG_PRINT_base
+ 1
+
+
+ 1
+
+
+ Resizable
+
+ 1
+ 550,446
+ wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER
+
+ Create SVG file
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OnCloseWindow
+
+
+
+
+
+ OnInitDialog
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ bMainSizer
+ wxVERTICAL
+ none
+
+ 5
+ wxEXPAND
+ 0
+
+
+ bUpperSizer
+ wxHORIZONTAL
+ none
+
+ 5
+
+ 1
+
+ wxID_ANY
+ Print SVG options:
+
+ sbOptionsSizer
+ wxVERTICAL
+ none
+
+
+ 5
+ wxTOP|wxRIGHT|wxLEFT
+ 0
+
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
+ 1
+
+ 1
+
+ 0
+ 0
+ wxID_ANY
+ Default Pen Size
+
+
+ 0
+
+
+ 0
+
+ 1
+ m_TextPenWidth
+ 1
+
+
+ protected
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+ -1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5
+ wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND
+ 0
+
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
+ 1
+
+ 1
+
+ 0
+ 0
+ wxID_ANY
+
+
+ 0
+
+ 0
+
+ 0
+
+ 1
+ m_DialogPenWidth
+ 1
+
+
+ protected
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+ Selection of the default pen thickness used to draw items, when their thickness is set to 0.
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5
+ wxALL|wxEXPAND
+ 0
+
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ "Color" "Black and White"
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
+ 1
+
+ 1
+
+ 0
+ 0
+ wxID_ANY
+ Print mode
+
+ 1
+
+ 0
+
+
+ 0
+
+ 1
+ m_ModeColorOption
+ 1
+
+
+ protected
+ 1
+
+
+ Resizable
+
+ 1
+ 1
+
+ wxRA_SPECIFY_COLS
+
+ 0
+ Choose if you want to draw the sheet like it appears on screen,
or in black and white mode, better to print it when using black and white printers
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OnSetColorModeSelected
+
+
+
+
+
+
+
+
+
+ 5
+ wxALL
+ 0
+
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
+ 1
+
+ 1
+
+ 0
+ 0
+ wxID_ANY
+ Print Frame Ref
+
+
+ 0
+
+
+ 0
+
+ 1
+ m_Print_Sheet_Ref
+ 1
+
+
+ protected
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+ Print (or not) the Frame references.
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5
+ wxALIGN_CENTER_VERTICAL
+ 0
+
+
+ bButtonsSizer
+ wxVERTICAL
+ none
+
+ 5
+ wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND
+ 0
+
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ 0
+ Dock
+ 0
+ Left
+ 1
+
+ 1
+
+ 0
+ 0
+ wxID_PRINT_CURRENT
+ Print Current
+
+
+ 0
+
+
+ 0
+
+ 1
+ m_buttonPlotCurrent
+ 1
+
+
+ protected
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+ OnButtonPlotCurrentClick
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5
+ wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND
+ 0
+
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 1
+ 0
+ Dock
+ 0
+ Left
+ 1
+
+ 1
+
+ 0
+ 0
+ wxID_PRINT_ALL
+ Print All
+
+
+ 0
+
+
+ 0
+
+ 1
+ m_buttonPlotAll
+ 1
+
+
+ protected
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+ OnButtonPlotAllClick
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5
+ wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND
+ 0
+
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ 0
+ Dock
+ 0
+ Left
+ 1
+
+ 1
+
+ 0
+ 0
+ wxID_CANCEL
+ Quit
+
+
+ 0
+
+
+ 0
+
+ 1
+ m_buttonQuit
+ 1
+
+
+ protected
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+ OnButtonCancelClick
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5
+ wxTOP|wxRIGHT|wxLEFT
+ 0
+
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
+ 1
+
+ 1
+
+ 0
+ 0
+ wxID_ANY
+ Filename:
+
+
+ 0
+
+
+ 0
+
+ 1
+ m_staticText1
+ 1
+
+
+ protected
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+ -1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5
+ wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT
+ 0
+
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
+ 1
+
+ 1
+
+ 0
+ 0
+ wxID_ANY
+
+
+ 0
+
+ 0
+
+ 0
+ 450,-1
+ 1
+ m_FileNameCtrl
+ 1
+
+
+ protected
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+ Enter a filename if you do not want to use default file names
Can be used only when printing the current sheet
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5
+ wxTOP|wxRIGHT|wxLEFT
+ 0
+
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
+ 1
+
+ 1
+
+ 0
+ 0
+ wxID_ANY
+ Messages:
+
+
+ 0
+
+
+ 0
+
+ 1
+ m_staticText2
+ 1
+
+
+ protected
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+ -1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 5
+ wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT
+ 1
+
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
+ 1
+
+ 1
+
+ 0
+ 0
+ wxID_ANY
+
+
+ 0
+
+ 0
+
+ 0
+ -1,80
+ 1
+ m_MessagesBox
+ 1
+
+
+ protected
+ 1
+
+
+ Resizable
+
+ 1
+
+ wxTE_MULTILINE
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/eeschema/dialogs/dialog_SVG_print_base.h b/eeschema/dialogs/dialog_SVG_print_base.h
index 593ddcb078..7e37697500 100644
--- a/eeschema/dialogs/dialog_SVG_print_base.h
+++ b/eeschema/dialogs/dialog_SVG_print_base.h
@@ -1,70 +1,72 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __dialog_SVG_print_base__
-#define __dialog_SVG_print_base__
-
-#include
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-///////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class DIALOG_SVG_PRINT_base
-///////////////////////////////////////////////////////////////////////////////
-class DIALOG_SVG_PRINT_base : public wxDialog
-{
- private:
-
- protected:
- enum
- {
- wxID_PRINT_CURRENT = 1000,
- wxID_PRINT_ALL,
- };
-
- wxStaticText* m_TextPenWidth;
- wxTextCtrl* m_DialogPenWidth;
- wxRadioBox* m_ModeColorOption;
- wxCheckBox* m_Print_Sheet_Ref;
- wxButton* m_buttonPlotCurrent;
- wxButton* m_buttonPlotAll;
- wxButton* m_buttonQuit;
- wxStaticText* m_staticText1;
- wxTextCtrl* m_FileNameCtrl;
- wxStaticText* m_staticText2;
- wxTextCtrl* m_MessagesBox;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnCloseWindow( wxCloseEvent& event ){ event.Skip(); }
- virtual void OnInitDialog( wxInitDialogEvent& event ){ event.Skip(); }
- virtual void OnSetColorModeSelected( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonPlotCurrentClick( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonPlotAllClick( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonCancelClick( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- DIALOG_SVG_PRINT_base( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Create SVG file"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 550,446 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~DIALOG_SVG_PRINT_base();
-
-};
-
-#endif //__dialog_SVG_print_base__
+///////////////////////////////////////////////////////////////////////////
+// C++ code generated with wxFormBuilder (version Jun 30 2011)
+// http://www.wxformbuilder.org/
+//
+// PLEASE DO "NOT" EDIT THIS FILE!
+///////////////////////////////////////////////////////////////////////////
+
+#ifndef __DIALOG_SVG_PRINT_BASE_H__
+#define __DIALOG_SVG_PRINT_BASE_H__
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+///////////////////////////////////////////////////////////////////////////
+
+///////////////////////////////////////////////////////////////////////////////
+/// Class DIALOG_SVG_PRINT_base
+///////////////////////////////////////////////////////////////////////////////
+class DIALOG_SVG_PRINT_base : public wxDialog
+{
+ private:
+
+ protected:
+ enum
+ {
+ wxID_PRINT_CURRENT = 1000,
+ wxID_PRINT_ALL,
+ };
+
+ wxStaticText* m_TextPenWidth;
+ wxTextCtrl* m_DialogPenWidth;
+ wxRadioBox* m_ModeColorOption;
+ wxCheckBox* m_Print_Sheet_Ref;
+ wxButton* m_buttonPlotCurrent;
+ wxButton* m_buttonPlotAll;
+ wxButton* m_buttonQuit;
+ wxStaticText* m_staticText1;
+ wxTextCtrl* m_FileNameCtrl;
+ wxStaticText* m_staticText2;
+ wxTextCtrl* m_MessagesBox;
+
+ // Virtual event handlers, overide them in your derived class
+ virtual void OnCloseWindow( wxCloseEvent& event ) { event.Skip(); }
+ virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
+ virtual void OnSetColorModeSelected( wxCommandEvent& event ) { event.Skip(); }
+ virtual void OnButtonPlotCurrentClick( wxCommandEvent& event ) { event.Skip(); }
+ virtual void OnButtonPlotAllClick( wxCommandEvent& event ) { event.Skip(); }
+ virtual void OnButtonCancelClick( wxCommandEvent& event ) { event.Skip(); }
+
+
+ public:
+
+ DIALOG_SVG_PRINT_base( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Create SVG file"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 550,446 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
+ ~DIALOG_SVG_PRINT_base();
+
+};
+
+#endif //__DIALOG_SVG_PRINT_BASE_H__
diff --git a/eeschema/dialogs/dialog_print_using_printer_base.fbp b/eeschema/dialogs/dialog_print_using_printer_base.fbp
index f63c2f14cb..007188f6ac 100644
--- a/eeschema/dialogs/dialog_print_using_printer_base.fbp
+++ b/eeschema/dialogs/dialog_print_using_printer_base.fbp
@@ -1,10 +1,13 @@
-
+
C++
1
+ source_name
+ 0
+ res
UTF-8
connect
dialog_print_using_printer_base
@@ -16,32 +19,77 @@
.
1
+ 1
1
0
+ 1
+ 1
+ 1
+ 1
+ 0
+
+
+
+ 1
+ 0
+ 1
+ 1
+ 0
+ Dock
+ 0
+ Left
1
+ impl_virtual
+ 1
+ 0
0
wxID_ANY
+
+
+ 0
+
+ 0
-1,-1
+ 1
DIALOG_PRINT_USING_PRINTER_BASE
+ 1
+
+
+ 1
+
+ Resizable
+
+ 1
-1,-1
wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER
Print
+ 0
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
OnCloseWindow
@@ -89,24 +137,60 @@
wxALL
0
+ 1
+ 1
+ 1
+ 1
+
+
+
+ 1
+ 0
1
+ 1
+ 1
+ 0
+ Dock
+ 0
+ Left
1
+ 1
+ 0
0
wxID_ANY
Print sheet &reference and title block
+
+
+ 0
+
+ 0
+ 1
m_checkReference
+ 1
+
+
protected
+ 1
+
+ Resizable
+
+ 1
+ 0
Print (or not) the Frame references.
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
@@ -141,24 +225,60 @@
wxALL
0
+ 1
+ 1
+ 1
+ 1
+
+
+
+ 1
+ 0
0
+ 1
+ 1
+ 0
+ Dock
+ 0
+ Left
1
+ 1
+ 0
0
wxID_ANY
Print in &black and white only
+
+
+ 0
+
+ 0
+ 1
m_checkMonochrome
+ 1
+
+
protected
+ 1
+
+ Resizable
+
+ 1
+ 0
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
@@ -204,24 +324,60 @@
wxALIGN_CENTER_HORIZONTAL|wxALL|wxEXPAND
0
+ 1
+ 1
+ 1
+ 1
+
+
+
+ 1
+ 0
+ 1
+ 1
0
+ 0
+ Dock
+ 0
+ Left
1
+ 1
+ 0
0
wxID_ANY
Page Setup
+
+
+ 0
+
+ 0
+ 1
m_buttonPageSetup
+ 1
+
+
protected
+ 1
+
+ Resizable
+
+ 1
+ 0
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
@@ -256,24 +412,60 @@
wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND
0
+ 1
+ 1
+ 1
+ 1
+
+
+
+ 1
+ 0
+ 1
+ 1
0
+ 0
+ Dock
+ 0
+ Left
1
+ 1
+ 0
0
wxID_ANY
Preview
+
+
+ 0
+
+ 0
+ 1
m_buttonPreview
+ 1
+
+
protected
+ 1
+
+ Resizable
+
+ 1
+ 0
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
@@ -308,24 +500,60 @@
wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND
0
+ 1
+ 1
+ 1
+ 1
+
+
+
+ 1
+ 0
+ 1
+ 1
0
+ 0
+ Dock
+ 0
+ Left
1
+ 1
+ 0
0
wxID_ANY
Print
+
+
+ 0
+
+ 0
+ 1
m_buttonPrint
+ 1
+
+
protected
+ 1
+
+ Resizable
+
+ 1
+ 0
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
@@ -360,24 +588,60 @@
wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND
0
+ 1
+ 1
+ 1
+ 1
+
+
+
+ 1
+ 0
+ 1
+ 1
0
+ 0
+ Dock
+ 0
+ Left
1
+ 1
+ 0
0
wxID_CANCEL
Close
+
+
+ 0
+
+ 0
+ 1
m_buttonQuit
+ 1
+
+
protected
+ 1
+
+ Resizable
+
+ 1
+ 0
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
diff --git a/pcbnew/dialogs/dialog_SVG_print_base.cpp b/pcbnew/dialogs/dialog_SVG_print_base.cpp
index 205c5f8329..681d167d5f 100644
--- a/pcbnew/dialogs/dialog_SVG_print_base.cpp
+++ b/pcbnew/dialogs/dialog_SVG_print_base.cpp
@@ -1,125 +1,124 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "dialog_SVG_print_base.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-DIALOG_SVG_PRINT_base::DIALOG_SVG_PRINT_base( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxSize( -1,350 ), wxDefaultSize );
-
- wxBoxSizer* bMainSizer;
- bMainSizer = new wxBoxSizer( wxVERTICAL );
-
- wxBoxSizer* bUpperSizer;
- bUpperSizer = new wxBoxSizer( wxHORIZONTAL );
-
- wxStaticBoxSizer* sbLayersSizer;
- sbLayersSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Layers:") ), wxHORIZONTAL );
-
- m_CopperLayersBoxSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Copper Layers:") ), wxVERTICAL );
-
- sbLayersSizer->Add( m_CopperLayersBoxSizer, 1, wxEXPAND, 5 );
-
- m_TechnicalBoxSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Technical Layers:") ), wxVERTICAL );
-
- sbLayersSizer->Add( m_TechnicalBoxSizer, 1, wxEXPAND, 5 );
-
- bUpperSizer->Add( sbLayersSizer, 1, wxEXPAND, 5 );
-
- wxStaticBoxSizer* sbOptionsSizer;
- sbOptionsSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Print SVG options:") ), wxVERTICAL );
-
- m_TextPenWidth = new wxStaticText( this, wxID_ANY, _("Pen width mini"), wxDefaultPosition, wxDefaultSize, 0 );
- m_TextPenWidth->Wrap( -1 );
- sbOptionsSizer->Add( m_TextPenWidth, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- m_DialogPenWidth = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_DialogPenWidth->SetToolTip( _("Selection of the minimum pen thickness used to draw items.") );
-
- sbOptionsSizer->Add( m_DialogPenWidth, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
-
- wxString m_ModeColorOptionChoices[] = { _("Color"), _("Black and White") };
- int m_ModeColorOptionNChoices = sizeof( m_ModeColorOptionChoices ) / sizeof( wxString );
- m_ModeColorOption = new wxRadioBox( this, wxID_ANY, _("Print mode"), wxDefaultPosition, wxDefaultSize, m_ModeColorOptionNChoices, m_ModeColorOptionChoices, 1, wxRA_SPECIFY_COLS );
- m_ModeColorOption->SetSelection( 0 );
- m_ModeColorOption->SetToolTip( _("Choose if you wand to draw the sheet like it appears on screen,\nor in black and white mode, better to print it when using black and white printers") );
-
- sbOptionsSizer->Add( m_ModeColorOption, 0, wxALL|wxEXPAND, 5 );
-
- m_Print_Frame_Ref_Ctrl = new wxCheckBox( this, wxID_ANY, _("Print Frame Ref"), wxDefaultPosition, wxDefaultSize, 0 );
- m_Print_Frame_Ref_Ctrl->SetValue(true);
-
- m_Print_Frame_Ref_Ctrl->SetToolTip( _("Print (or not) the Frame references.") );
-
- sbOptionsSizer->Add( m_Print_Frame_Ref_Ctrl, 0, wxALL, 5 );
-
- m_PrintBoardEdgesCtrl = new wxCheckBox( this, wxID_ANY, _("Print Board Edges"), wxDefaultPosition, wxDefaultSize, 0 );
- m_PrintBoardEdgesCtrl->SetValue(true);
-
- m_PrintBoardEdgesCtrl->SetToolTip( _("Print (or not) the edges layer with others layers") );
-
- sbOptionsSizer->Add( m_PrintBoardEdgesCtrl, 0, wxALL, 5 );
-
- bUpperSizer->Add( sbOptionsSizer, 1, wxEXPAND, 5 );
-
- wxBoxSizer* bButtonsSizer;
- bButtonsSizer = new wxBoxSizer( wxVERTICAL );
-
- m_buttonPrintSelected = new wxButton( this, wxID_PRINT_CURRENT, _("Print Selected"), wxDefaultPosition, wxDefaultSize, 0 );
- bButtonsSizer->Add( m_buttonPrintSelected, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
-
- m_buttonBoard = new wxButton( this, wxID_PRINT_BOARD, _("Print Board"), wxDefaultPosition, wxDefaultSize, 0 );
- bButtonsSizer->Add( m_buttonBoard, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
-
- m_buttonQuit = new wxButton( this, wxID_CANCEL, _("Quit"), wxDefaultPosition, wxDefaultSize, 0 );
- bButtonsSizer->Add( m_buttonQuit, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
-
- bUpperSizer->Add( bButtonsSizer, 0, wxALIGN_CENTER_VERTICAL, 5 );
-
- bMainSizer->Add( bUpperSizer, 0, wxEXPAND, 5 );
-
- m_staticText1 = new wxStaticText( this, wxID_ANY, _("Filename:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText1->Wrap( -1 );
- bMainSizer->Add( m_staticText1, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- m_FileNameCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
- m_FileNameCtrl->SetToolTip( _("Enter a filename if you do not want to use default file names\nCan be used only when printing the current sheet") );
- m_FileNameCtrl->SetMinSize( wxSize( 450,-1 ) );
-
- bMainSizer->Add( m_FileNameCtrl, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
-
- m_staticText2 = new wxStaticText( this, wxID_ANY, _("Messages:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticText2->Wrap( -1 );
- bMainSizer->Add( m_staticText2, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
-
- m_MessagesBox = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
- m_MessagesBox->SetMinSize( wxSize( -1,100 ) );
-
- bMainSizer->Add( m_MessagesBox, 1, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
-
- this->SetSizer( bMainSizer );
- this->Layout();
-
- // Connect Events
- this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_SVG_PRINT_base::OnCloseWindow ) );
- m_ModeColorOption->Connect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnSetColorModeSelected ), NULL, this );
- m_buttonPrintSelected->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonPrintSelectedClick ), NULL, this );
- m_buttonBoard->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonPrintBoardClick ), NULL, this );
- m_buttonQuit->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonCancelClick ), NULL, this );
-}
-
-DIALOG_SVG_PRINT_base::~DIALOG_SVG_PRINT_base()
-{
- // Disconnect Events
- this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_SVG_PRINT_base::OnCloseWindow ) );
- m_ModeColorOption->Disconnect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnSetColorModeSelected ), NULL, this );
- m_buttonPrintSelected->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonPrintSelectedClick ), NULL, this );
- m_buttonBoard->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonPrintBoardClick ), NULL, this );
- m_buttonQuit->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonCancelClick ), NULL, this );
-}
+///////////////////////////////////////////////////////////////////////////
+// C++ code generated with wxFormBuilder (version Jun 30 2011)
+// http://www.wxformbuilder.org/
+//
+// PLEASE DO "NOT" EDIT THIS FILE!
+///////////////////////////////////////////////////////////////////////////
+
+#include "dialog_SVG_print_base.h"
+
+///////////////////////////////////////////////////////////////////////////
+
+DIALOG_SVG_PRINT_base::DIALOG_SVG_PRINT_base( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
+{
+ this->SetSizeHints( wxSize( -1,350 ), wxDefaultSize );
+
+ wxBoxSizer* bMainSizer;
+ bMainSizer = new wxBoxSizer( wxVERTICAL );
+
+ wxBoxSizer* bUpperSizer;
+ bUpperSizer = new wxBoxSizer( wxHORIZONTAL );
+
+ wxStaticBoxSizer* sbLayersSizer;
+ sbLayersSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Layers:") ), wxHORIZONTAL );
+
+ m_CopperLayersBoxSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Copper Layers:") ), wxVERTICAL );
+
+ sbLayersSizer->Add( m_CopperLayersBoxSizer, 1, wxEXPAND, 5 );
+
+ m_TechnicalBoxSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Technical Layers:") ), wxVERTICAL );
+
+ sbLayersSizer->Add( m_TechnicalBoxSizer, 1, wxEXPAND, 5 );
+
+ bUpperSizer->Add( sbLayersSizer, 1, wxEXPAND, 5 );
+
+ wxStaticBoxSizer* sbOptionsSizer;
+ sbOptionsSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Print SVG options:") ), wxVERTICAL );
+
+ m_TextPenWidth = new wxStaticText( this, wxID_ANY, _("Pen width mini"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_TextPenWidth->Wrap( -1 );
+ sbOptionsSizer->Add( m_TextPenWidth, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
+
+ m_DialogPenWidth = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
+ m_DialogPenWidth->SetToolTip( _("Selection of the minimum pen thickness used to draw items.") );
+
+ sbOptionsSizer->Add( m_DialogPenWidth, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
+
+ wxString m_ModeColorOptionChoices[] = { _("Color"), _("Black and White") };
+ int m_ModeColorOptionNChoices = sizeof( m_ModeColorOptionChoices ) / sizeof( wxString );
+ m_ModeColorOption = new wxRadioBox( this, wxID_ANY, _("Print mode"), wxDefaultPosition, wxDefaultSize, m_ModeColorOptionNChoices, m_ModeColorOptionChoices, 1, wxRA_SPECIFY_COLS );
+ m_ModeColorOption->SetSelection( 0 );
+ m_ModeColorOption->SetToolTip( _("Choose if you want to draw the sheet like it appears on screen,\nor in black and white mode, better to print it when using black and white printers") );
+
+ sbOptionsSizer->Add( m_ModeColorOption, 0, wxALL|wxEXPAND, 5 );
+
+ m_Print_Frame_Ref_Ctrl = new wxCheckBox( this, wxID_ANY, _("Print Frame Ref"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_Print_Frame_Ref_Ctrl->SetValue(true);
+ m_Print_Frame_Ref_Ctrl->SetToolTip( _("Print (or not) the Frame references.") );
+
+ sbOptionsSizer->Add( m_Print_Frame_Ref_Ctrl, 0, wxALL, 5 );
+
+ m_PrintBoardEdgesCtrl = new wxCheckBox( this, wxID_ANY, _("Print Board Edges"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_PrintBoardEdgesCtrl->SetValue(true);
+ m_PrintBoardEdgesCtrl->SetToolTip( _("Print (or not) the edges layer with others layers") );
+
+ sbOptionsSizer->Add( m_PrintBoardEdgesCtrl, 0, wxALL, 5 );
+
+ bUpperSizer->Add( sbOptionsSizer, 1, wxEXPAND, 5 );
+
+ wxBoxSizer* bButtonsSizer;
+ bButtonsSizer = new wxBoxSizer( wxVERTICAL );
+
+ m_buttonPrintSelected = new wxButton( this, wxID_PRINT_CURRENT, _("Print Selected"), wxDefaultPosition, wxDefaultSize, 0 );
+ bButtonsSizer->Add( m_buttonPrintSelected, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
+
+ m_buttonBoard = new wxButton( this, wxID_PRINT_BOARD, _("Print Board"), wxDefaultPosition, wxDefaultSize, 0 );
+ bButtonsSizer->Add( m_buttonBoard, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
+
+ m_buttonQuit = new wxButton( this, wxID_CANCEL, _("Quit"), wxDefaultPosition, wxDefaultSize, 0 );
+ bButtonsSizer->Add( m_buttonQuit, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
+
+ bUpperSizer->Add( bButtonsSizer, 0, wxALIGN_CENTER_VERTICAL, 5 );
+
+ bMainSizer->Add( bUpperSizer, 0, wxEXPAND, 5 );
+
+ m_staticText1 = new wxStaticText( this, wxID_ANY, _("Filename:"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_staticText1->Wrap( -1 );
+ bMainSizer->Add( m_staticText1, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
+
+ m_FileNameCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
+ m_FileNameCtrl->SetToolTip( _("Enter a filename if you do not want to use default file names\nCan be used only when printing the current sheet") );
+ m_FileNameCtrl->SetMinSize( wxSize( 450,-1 ) );
+
+ bMainSizer->Add( m_FileNameCtrl, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
+
+ m_staticText2 = new wxStaticText( this, wxID_ANY, _("Messages:"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_staticText2->Wrap( -1 );
+ bMainSizer->Add( m_staticText2, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
+
+ m_MessagesBox = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
+ m_MessagesBox->SetMinSize( wxSize( -1,100 ) );
+
+ bMainSizer->Add( m_MessagesBox, 1, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
+
+ this->SetSizer( bMainSizer );
+ this->Layout();
+
+ // Connect Events
+ this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_SVG_PRINT_base::OnCloseWindow ) );
+ m_ModeColorOption->Connect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnSetColorModeSelected ), NULL, this );
+ m_buttonPrintSelected->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonPrintSelectedClick ), NULL, this );
+ m_buttonBoard->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonPrintBoardClick ), NULL, this );
+ m_buttonQuit->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonCancelClick ), NULL, this );
+}
+
+DIALOG_SVG_PRINT_base::~DIALOG_SVG_PRINT_base()
+{
+ // Disconnect Events
+ this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_SVG_PRINT_base::OnCloseWindow ) );
+ m_ModeColorOption->Disconnect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnSetColorModeSelected ), NULL, this );
+ m_buttonPrintSelected->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonPrintSelectedClick ), NULL, this );
+ m_buttonBoard->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonPrintBoardClick ), NULL, this );
+ m_buttonQuit->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SVG_PRINT_base::OnButtonCancelClick ), NULL, this );
+
+}
diff --git a/pcbnew/dialogs/dialog_SVG_print_base.fbp b/pcbnew/dialogs/dialog_SVG_print_base.fbp
index b29538b747..01e67ef493 100644
--- a/pcbnew/dialogs/dialog_SVG_print_base.fbp
+++ b/pcbnew/dialogs/dialog_SVG_print_base.fbp
@@ -2,9 +2,12 @@
-
+
C++
1
+ source_name
+ 0
+ res
UTF-8
connect
dialog_SVG_print_base
@@ -12,66 +15,111 @@
none
1
DialogSVGPrint_base
-
+
.
-
+
1
+ 1
1
0
-
-
-
+ 1
+ 1
+ 1
+ 1
+ 0
+
+
+
+
+ 1
+
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
-
+ impl_virtual
+
+
+ 1
+
+ 0
0
wxID_ANY
-
+
+
+ 0
+
+
+ 0
-1,350
+ 1
DIALOG_SVG_PRINT_base
-
+ 1
+
+
+ 1
+
+
+ Resizable
+
+ 1
507,375
wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER
-
+
Create SVG file
-
-
-
-
-
-
-
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
OnCloseWindow
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
bMainSizer
wxVERTICAL
none
@@ -80,7 +128,7 @@
wxEXPAND
0
-
+
bUpperSizer
wxHORIZONTAL
none
@@ -91,11 +139,11 @@
wxID_ANY
Layers:
-
+
sbLayersSizer
wxHORIZONTAL
none
-
+
5
wxEXPAND
@@ -103,11 +151,11 @@
wxID_ANY
Copper Layers:
-
+
m_CopperLayersBoxSizer
wxVERTICAL
protected
-
+
@@ -117,11 +165,11 @@
wxID_ANY
Technical Layers:
-
+
m_TechnicalBoxSizer
wxVERTICAL
protected
-
+
@@ -133,60 +181,96 @@
wxID_ANY
Print SVG options:
-
+
sbOptionsSizer
wxVERTICAL
none
-
+
5
wxTOP|wxRIGHT|wxLEFT
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
Pen width mini
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_TextPenWidth
+ 1
+
+
protected
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
-1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -194,54 +278,90 @@
wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
-
+
+
+ 0
+
0
-
+
+ 0
+
+ 1
m_DialogPenWidth
+ 1
+
+
protected
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
Selection of the minimum pen thickness used to draw items.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -249,53 +369,89 @@
wxALL|wxEXPAND
0
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
"Color" "Black and White"
-
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
Print mode
+
1
-
-
+
+ 0
+
+
+ 0
+
+ 1
m_ModeColorOption
+ 1
+
+
protected
-
+ 1
+
+
+ Resizable
+
0
-
+ 1
+
wxRA_SPECIFY_COLS
-
- Choose if you wand to draw the sheet like it appears on screen,
or in black and white mode, better to print it when using black and white printers
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ 0
+ Choose if you want to draw the sheet like it appears on screen,
or in black and white mode, better to print it when using black and white printers
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
OnSetColorModeSelected
-
-
-
-
-
-
+
+
+
+
+
+
@@ -303,51 +459,87 @@
wxALL
0
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
1
-
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
Print Frame Ref
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_Print_Frame_Ref_Ctrl
+ 1
+
+
protected
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
Print (or not) the Frame references.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -355,51 +547,87 @@
wxALL
0
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
1
-
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
Print Board Edges
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_PrintBoardEdgesCtrl
+ 1
+
+
protected
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
Print (or not) the edges layer with others layers
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -409,7 +637,7 @@
wxALIGN_CENTER_VERTICAL
0
-
+
bButtonsSizer
wxVERTICAL
none
@@ -418,51 +646,87 @@
wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
0
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_PRINT_CURRENT
Print Selected
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_buttonPrintSelected
+ 1
+
+
protected
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
OnButtonPrintSelectedClick
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -470,51 +734,87 @@
wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
0
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_PRINT_BOARD
Print Board
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_buttonBoard
+ 1
+
+
protected
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
OnButtonPrintBoardClick
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -522,51 +822,87 @@
wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
0
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_CANCEL
Quit
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_buttonQuit
+ 1
+
+
protected
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
OnButtonCancelClick
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -578,50 +914,86 @@
wxTOP|wxRIGHT|wxLEFT
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
Filename:
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_staticText1
+ 1
+
+
protected
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
-1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -629,54 +1001,90 @@
wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
-
+
+
+ 0
+
0
+
+ 0
450,-1
+ 1
m_FileNameCtrl
+ 1
+
+
protected
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
Enter a filename if you do not want to use default file names
Can be used only when printing the current sheet
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -684,50 +1092,86 @@
wxTOP|wxRIGHT|wxLEFT
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
Messages:
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_staticText2
+ 1
+
+
protected
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
-1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -735,54 +1179,90 @@
wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND
1
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
-
+
+
+ 0
+
0
+
+ 0
-1,100
+ 1
m_MessagesBox
+ 1
+
+
protected
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
wxTE_MULTILINE
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pcbnew/dialogs/dialog_SVG_print_base.h b/pcbnew/dialogs/dialog_SVG_print_base.h
index 27da774d36..41fddd4210 100644
--- a/pcbnew/dialogs/dialog_SVG_print_base.h
+++ b/pcbnew/dialogs/dialog_SVG_print_base.h
@@ -1,72 +1,74 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __dialog_SVG_print_base__
-#define __dialog_SVG_print_base__
-
-#include
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-///////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class DIALOG_SVG_PRINT_base
-///////////////////////////////////////////////////////////////////////////////
-class DIALOG_SVG_PRINT_base : public wxDialog
-{
- private:
-
- protected:
- enum
- {
- wxID_PRINT_CURRENT = 1000,
- wxID_PRINT_BOARD,
- };
-
- wxStaticBoxSizer* m_CopperLayersBoxSizer;
- wxStaticBoxSizer* m_TechnicalBoxSizer;
- wxStaticText* m_TextPenWidth;
- wxTextCtrl* m_DialogPenWidth;
- wxRadioBox* m_ModeColorOption;
- wxCheckBox* m_Print_Frame_Ref_Ctrl;
- wxCheckBox* m_PrintBoardEdgesCtrl;
- wxButton* m_buttonPrintSelected;
- wxButton* m_buttonBoard;
- wxButton* m_buttonQuit;
- wxStaticText* m_staticText1;
- wxTextCtrl* m_FileNameCtrl;
- wxStaticText* m_staticText2;
- wxTextCtrl* m_MessagesBox;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnCloseWindow( wxCloseEvent& event ){ event.Skip(); }
- virtual void OnSetColorModeSelected( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonPrintSelectedClick( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonPrintBoardClick( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonCancelClick( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- DIALOG_SVG_PRINT_base( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Create SVG file"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 507,375 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~DIALOG_SVG_PRINT_base();
-
-};
-
-#endif //__dialog_SVG_print_base__
+///////////////////////////////////////////////////////////////////////////
+// C++ code generated with wxFormBuilder (version Jun 30 2011)
+// http://www.wxformbuilder.org/
+//
+// PLEASE DO "NOT" EDIT THIS FILE!
+///////////////////////////////////////////////////////////////////////////
+
+#ifndef __DIALOG_SVG_PRINT_BASE_H__
+#define __DIALOG_SVG_PRINT_BASE_H__
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+///////////////////////////////////////////////////////////////////////////
+
+///////////////////////////////////////////////////////////////////////////////
+/// Class DIALOG_SVG_PRINT_base
+///////////////////////////////////////////////////////////////////////////////
+class DIALOG_SVG_PRINT_base : public wxDialog
+{
+ private:
+
+ protected:
+ enum
+ {
+ wxID_PRINT_CURRENT = 1000,
+ wxID_PRINT_BOARD,
+ };
+
+ wxStaticBoxSizer* m_CopperLayersBoxSizer;
+ wxStaticBoxSizer* m_TechnicalBoxSizer;
+ wxStaticText* m_TextPenWidth;
+ wxTextCtrl* m_DialogPenWidth;
+ wxRadioBox* m_ModeColorOption;
+ wxCheckBox* m_Print_Frame_Ref_Ctrl;
+ wxCheckBox* m_PrintBoardEdgesCtrl;
+ wxButton* m_buttonPrintSelected;
+ wxButton* m_buttonBoard;
+ wxButton* m_buttonQuit;
+ wxStaticText* m_staticText1;
+ wxTextCtrl* m_FileNameCtrl;
+ wxStaticText* m_staticText2;
+ wxTextCtrl* m_MessagesBox;
+
+ // Virtual event handlers, overide them in your derived class
+ virtual void OnCloseWindow( wxCloseEvent& event ) { event.Skip(); }
+ virtual void OnSetColorModeSelected( wxCommandEvent& event ) { event.Skip(); }
+ virtual void OnButtonPrintSelectedClick( wxCommandEvent& event ) { event.Skip(); }
+ virtual void OnButtonPrintBoardClick( wxCommandEvent& event ) { event.Skip(); }
+ virtual void OnButtonCancelClick( wxCommandEvent& event ) { event.Skip(); }
+
+
+ public:
+
+ DIALOG_SVG_PRINT_base( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Create SVG file"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 507,375 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
+ ~DIALOG_SVG_PRINT_base();
+
+};
+
+#endif //__DIALOG_SVG_PRINT_BASE_H__
diff --git a/pcbnew/dialogs/dialog_print_for_modedit_base.cpp b/pcbnew/dialogs/dialog_print_for_modedit_base.cpp
index d588b0a46a..0ee33e086b 100644
--- a/pcbnew/dialogs/dialog_print_for_modedit_base.cpp
+++ b/pcbnew/dialogs/dialog_print_for_modedit_base.cpp
@@ -1,79 +1,80 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#include "dialog_print_for_modedit_base.h"
-
-///////////////////////////////////////////////////////////////////////////
-
-DIALOG_PRINT_FOR_MODEDIT_BASE::DIALOG_PRINT_FOR_MODEDIT_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
-{
- this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
-
- wxBoxSizer* bMainSizer;
- bMainSizer = new wxBoxSizer( wxHORIZONTAL );
-
- wxBoxSizer* bmiddleLeftSizer;
- bmiddleLeftSizer = new wxBoxSizer( wxVERTICAL );
-
- wxString m_ScaleOptionChoices[] = { _("fit in page"), _("Scale 0.5"), _("Scale 0.7"), _("Scale 1"), _("Scale 1.4"), _("Scale 2"), _("Scale 3"), _("Scale 4"), _("Scale 8"), _("Scale 16") };
- int m_ScaleOptionNChoices = sizeof( m_ScaleOptionChoices ) / sizeof( wxString );
- m_ScaleOption = new wxRadioBox( this, wxID_ANY, _("Approx. Scale:"), wxDefaultPosition, wxDefaultSize, m_ScaleOptionNChoices, m_ScaleOptionChoices, 1, wxRA_SPECIFY_COLS );
- m_ScaleOption->SetSelection( 3 );
- bmiddleLeftSizer->Add( m_ScaleOption, 0, wxALL, 5 );
-
- bMainSizer->Add( bmiddleLeftSizer, 0, wxEXPAND, 5 );
-
- wxBoxSizer* bmiddleRightSizer;
- bmiddleRightSizer = new wxBoxSizer( wxVERTICAL );
-
- wxString m_ModeColorOptionChoices[] = { _("Color"), _("Black and white") };
- int m_ModeColorOptionNChoices = sizeof( m_ModeColorOptionChoices ) / sizeof( wxString );
- m_ModeColorOption = new wxRadioBox( this, wxID_PRINT_MODE, _("Print Mode"), wxDefaultPosition, wxDefaultSize, m_ModeColorOptionNChoices, m_ModeColorOptionChoices, 1, wxRA_SPECIFY_COLS );
- m_ModeColorOption->SetSelection( 1 );
- m_ModeColorOption->SetToolTip( _("Choose if you wand to draw the sheet like it appears on screen,\nor in black and white mode, better to print it when using black and white printers") );
-
- bmiddleRightSizer->Add( m_ModeColorOption, 0, wxALL|wxEXPAND, 5 );
-
- bMainSizer->Add( bmiddleRightSizer, 1, 0, 5 );
-
- wxBoxSizer* bbuttonsSizer;
- bbuttonsSizer = new wxBoxSizer( wxVERTICAL );
-
- m_buttonOption = new wxButton( this, wxID_PRINT_OPTIONS, _("Page Options"), wxDefaultPosition, wxDefaultSize, 0 );
- bbuttonsSizer->Add( m_buttonOption, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
-
- m_buttonPreview = new wxButton( this, wxID_PREVIEW, _("Preview"), wxDefaultPosition, wxDefaultSize, 0 );
- bbuttonsSizer->Add( m_buttonPreview, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
-
- m_buttonPrint = new wxButton( this, wxID_PRINT_ALL, _("Print"), wxDefaultPosition, wxDefaultSize, 0 );
- bbuttonsSizer->Add( m_buttonPrint, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
-
- m_buttonQuit = new wxButton( this, wxID_CANCEL, _("Close"), wxDefaultPosition, wxDefaultSize, 0 );
- bbuttonsSizer->Add( m_buttonQuit, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
-
- bMainSizer->Add( bbuttonsSizer, 0, 0, 5 );
-
- this->SetSizer( bMainSizer );
- this->Layout();
-
- // Connect Events
- this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnCloseWindow ) );
- m_buttonOption->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnPrintSetup ), NULL, this );
- m_buttonPreview->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnPrintPreview ), NULL, this );
- m_buttonPrint->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnPrintButtonClick ), NULL, this );
- m_buttonQuit->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnButtonCancelClick ), NULL, this );
-}
-
-DIALOG_PRINT_FOR_MODEDIT_BASE::~DIALOG_PRINT_FOR_MODEDIT_BASE()
-{
- // Disconnect Events
- this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnCloseWindow ) );
- m_buttonOption->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnPrintSetup ), NULL, this );
- m_buttonPreview->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnPrintPreview ), NULL, this );
- m_buttonPrint->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnPrintButtonClick ), NULL, this );
- m_buttonQuit->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnButtonCancelClick ), NULL, this );
-}
+///////////////////////////////////////////////////////////////////////////
+// C++ code generated with wxFormBuilder (version Jun 30 2011)
+// http://www.wxformbuilder.org/
+//
+// PLEASE DO "NOT" EDIT THIS FILE!
+///////////////////////////////////////////////////////////////////////////
+
+#include "dialog_print_for_modedit_base.h"
+
+///////////////////////////////////////////////////////////////////////////
+
+DIALOG_PRINT_FOR_MODEDIT_BASE::DIALOG_PRINT_FOR_MODEDIT_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
+{
+ this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
+
+ wxBoxSizer* bMainSizer;
+ bMainSizer = new wxBoxSizer( wxHORIZONTAL );
+
+ wxBoxSizer* bmiddleLeftSizer;
+ bmiddleLeftSizer = new wxBoxSizer( wxVERTICAL );
+
+ wxString m_ScaleOptionChoices[] = { _("fit in page"), _("Scale 0.5"), _("Scale 0.7"), _("Scale 1"), _("Scale 1.4"), _("Scale 2"), _("Scale 3"), _("Scale 4"), _("Scale 8"), _("Scale 16") };
+ int m_ScaleOptionNChoices = sizeof( m_ScaleOptionChoices ) / sizeof( wxString );
+ m_ScaleOption = new wxRadioBox( this, wxID_ANY, _("Approx. Scale:"), wxDefaultPosition, wxDefaultSize, m_ScaleOptionNChoices, m_ScaleOptionChoices, 1, wxRA_SPECIFY_COLS );
+ m_ScaleOption->SetSelection( 3 );
+ bmiddleLeftSizer->Add( m_ScaleOption, 0, wxALL, 5 );
+
+ bMainSizer->Add( bmiddleLeftSizer, 0, wxEXPAND, 5 );
+
+ wxBoxSizer* bmiddleRightSizer;
+ bmiddleRightSizer = new wxBoxSizer( wxVERTICAL );
+
+ wxString m_ModeColorOptionChoices[] = { _("Color"), _("Black and white") };
+ int m_ModeColorOptionNChoices = sizeof( m_ModeColorOptionChoices ) / sizeof( wxString );
+ m_ModeColorOption = new wxRadioBox( this, wxID_PRINT_MODE, _("Print Mode"), wxDefaultPosition, wxDefaultSize, m_ModeColorOptionNChoices, m_ModeColorOptionChoices, 1, wxRA_SPECIFY_COLS );
+ m_ModeColorOption->SetSelection( 1 );
+ m_ModeColorOption->SetToolTip( _("Choose if you want to draw the sheet like it appears on screen,\nor in black and white mode, better to print it when using black and white printers") );
+
+ bmiddleRightSizer->Add( m_ModeColorOption, 0, wxALL|wxEXPAND, 5 );
+
+ bMainSizer->Add( bmiddleRightSizer, 1, 0, 5 );
+
+ wxBoxSizer* bbuttonsSizer;
+ bbuttonsSizer = new wxBoxSizer( wxVERTICAL );
+
+ m_buttonOption = new wxButton( this, wxID_PRINT_OPTIONS, _("Page Options"), wxDefaultPosition, wxDefaultSize, 0 );
+ bbuttonsSizer->Add( m_buttonOption, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
+
+ m_buttonPreview = new wxButton( this, wxID_PREVIEW, _("Preview"), wxDefaultPosition, wxDefaultSize, 0 );
+ bbuttonsSizer->Add( m_buttonPreview, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
+
+ m_buttonPrint = new wxButton( this, wxID_PRINT_ALL, _("Print"), wxDefaultPosition, wxDefaultSize, 0 );
+ bbuttonsSizer->Add( m_buttonPrint, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
+
+ m_buttonQuit = new wxButton( this, wxID_CANCEL, _("Close"), wxDefaultPosition, wxDefaultSize, 0 );
+ bbuttonsSizer->Add( m_buttonQuit, 0, wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND, 5 );
+
+ bMainSizer->Add( bbuttonsSizer, 0, 0, 5 );
+
+ this->SetSizer( bMainSizer );
+ this->Layout();
+
+ // Connect Events
+ this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnCloseWindow ) );
+ m_buttonOption->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnPrintSetup ), NULL, this );
+ m_buttonPreview->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnPrintPreview ), NULL, this );
+ m_buttonPrint->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnPrintButtonClick ), NULL, this );
+ m_buttonQuit->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnButtonCancelClick ), NULL, this );
+}
+
+DIALOG_PRINT_FOR_MODEDIT_BASE::~DIALOG_PRINT_FOR_MODEDIT_BASE()
+{
+ // Disconnect Events
+ this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnCloseWindow ) );
+ m_buttonOption->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnPrintSetup ), NULL, this );
+ m_buttonPreview->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnPrintPreview ), NULL, this );
+ m_buttonPrint->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnPrintButtonClick ), NULL, this );
+ m_buttonQuit->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_FOR_MODEDIT_BASE::OnButtonCancelClick ), NULL, this );
+
+}
diff --git a/pcbnew/dialogs/dialog_print_for_modedit_base.fbp b/pcbnew/dialogs/dialog_print_for_modedit_base.fbp
index 9c1c7deaa5..efbc572a49 100644
--- a/pcbnew/dialogs/dialog_print_for_modedit_base.fbp
+++ b/pcbnew/dialogs/dialog_print_for_modedit_base.fbp
@@ -2,9 +2,12 @@
-
+
C++
1
+ source_name
+ 0
+ res
UTF-8
connect
dialog_print_for_modedit_base
@@ -12,66 +15,111 @@
none
1
DialogPrintModedit_base
-
+
.
-
+
1
+ 1
1
0
-
-
-
+ 1
+ 1
+ 1
+ 1
+ 0
+
+
+
+
+ 1
+
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
-
+ impl_virtual
+
+
+ 1
+
+ 0
0
wxID_ANY
-
+
+
+ 0
+
+
+ 0
-1,-1
+ 1
DIALOG_PRINT_FOR_MODEDIT_BASE
-
+ 1
+
+
+ 1
+
+
+ Resizable
+
+ 1
375,254
wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER
-
+
Print
-
-
-
-
-
-
-
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
OnCloseWindow
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
bMainSizer
wxHORIZONTAL
none
@@ -80,7 +128,7 @@
wxEXPAND
0
-
+
bmiddleLeftSizer
wxVERTICAL
none
@@ -89,63 +137,99 @@
wxALL
0
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
"fit in page" "Scale 0.5" "Scale 0.7" "Scale 1" "Scale 1.4" "Scale 2" "Scale 3" "Scale 4" "Scale 8" "Scale 16"
-
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
Approx. Scale:
+
1
-
-
+
+ 0
+
+
+ 0
+
+ 1
m_ScaleOption
+ 1
+
+
protected
-
+ 1
+
+
+ Resizable
+
3
-
+ 1
+
wxRA_SPECIFY_COLS
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
5
-
+
1
-
+
bmiddleRightSizer
wxVERTICAL
none
@@ -154,63 +238,99 @@
wxALL|wxEXPAND
0
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
"Color" "Black and white"
-
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_PRINT_MODE
Print Mode
+
1
-
-
+
+ 0
+
+
+ 0
+
+ 1
m_ModeColorOption
+ 1
+
+
protected
-
+ 1
+
+
+ Resizable
+
1
-
+ 1
+
wxRA_SPECIFY_COLS
-
- Choose if you wand to draw the sheet like it appears on screen,
or in black and white mode, better to print it when using black and white printers
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ 0
+ Choose if you want to draw the sheet like it appears on screen,
or in black and white mode, better to print it when using black and white printers
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
5
-
+
0
-
+
bbuttonsSizer
wxVERTICAL
none
@@ -219,51 +339,87 @@
wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
0
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_PRINT_OPTIONS
Page Options
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_buttonOption
+ 1
+
+
protected
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
OnPrintSetup
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -271,51 +427,87 @@
wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
0
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_PREVIEW
Preview
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_buttonPreview
+ 1
+
+
protected
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
OnPrintPreview
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -323,51 +515,87 @@
wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
0
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_PRINT_ALL
Print
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_buttonPrint
+ 1
+
+
protected
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
OnPrintButtonClick
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -375,51 +603,87 @@
wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
0
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_CANCEL
Close
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_buttonQuit
+ 1
+
+
protected
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
OnButtonCancelClick
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pcbnew/dialogs/dialog_print_for_modedit_base.h b/pcbnew/dialogs/dialog_print_for_modedit_base.h
index 7a0afa910a..f6f874df7d 100644
--- a/pcbnew/dialogs/dialog_print_for_modedit_base.h
+++ b/pcbnew/dialogs/dialog_print_for_modedit_base.h
@@ -1,61 +1,63 @@
-///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
-// http://www.wxformbuilder.org/
-//
-// PLEASE DO "NOT" EDIT THIS FILE!
-///////////////////////////////////////////////////////////////////////////
-
-#ifndef __dialog_print_for_modedit_base__
-#define __dialog_print_for_modedit_base__
-
-#include
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-///////////////////////////////////////////////////////////////////////////
-
-///////////////////////////////////////////////////////////////////////////////
-/// Class DIALOG_PRINT_FOR_MODEDIT_BASE
-///////////////////////////////////////////////////////////////////////////////
-class DIALOG_PRINT_FOR_MODEDIT_BASE : public wxDialog
-{
- private:
-
- protected:
- enum
- {
- wxID_PRINT_MODE = 1000,
- wxID_PRINT_OPTIONS,
- wxID_PRINT_ALL,
- };
-
- wxRadioBox* m_ScaleOption;
- wxRadioBox* m_ModeColorOption;
- wxButton* m_buttonOption;
- wxButton* m_buttonPreview;
- wxButton* m_buttonPrint;
- wxButton* m_buttonQuit;
-
- // Virtual event handlers, overide them in your derived class
- virtual void OnCloseWindow( wxCloseEvent& event ){ event.Skip(); }
- virtual void OnPrintSetup( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnPrintPreview( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnPrintButtonClick( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonCancelClick( wxCommandEvent& event ){ event.Skip(); }
-
-
- public:
- DIALOG_PRINT_FOR_MODEDIT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Print"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 375,254 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
- ~DIALOG_PRINT_FOR_MODEDIT_BASE();
-
-};
-
-#endif //__dialog_print_for_modedit_base__
+///////////////////////////////////////////////////////////////////////////
+// C++ code generated with wxFormBuilder (version Jun 30 2011)
+// http://www.wxformbuilder.org/
+//
+// PLEASE DO "NOT" EDIT THIS FILE!
+///////////////////////////////////////////////////////////////////////////
+
+#ifndef __DIALOG_PRINT_FOR_MODEDIT_BASE_H__
+#define __DIALOG_PRINT_FOR_MODEDIT_BASE_H__
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+///////////////////////////////////////////////////////////////////////////
+
+///////////////////////////////////////////////////////////////////////////////
+/// Class DIALOG_PRINT_FOR_MODEDIT_BASE
+///////////////////////////////////////////////////////////////////////////////
+class DIALOG_PRINT_FOR_MODEDIT_BASE : public wxDialog
+{
+ private:
+
+ protected:
+ enum
+ {
+ wxID_PRINT_MODE = 1000,
+ wxID_PRINT_OPTIONS,
+ wxID_PRINT_ALL,
+ };
+
+ wxRadioBox* m_ScaleOption;
+ wxRadioBox* m_ModeColorOption;
+ wxButton* m_buttonOption;
+ wxButton* m_buttonPreview;
+ wxButton* m_buttonPrint;
+ wxButton* m_buttonQuit;
+
+ // Virtual event handlers, overide them in your derived class
+ virtual void OnCloseWindow( wxCloseEvent& event ) { event.Skip(); }
+ virtual void OnPrintSetup( wxCommandEvent& event ) { event.Skip(); }
+ virtual void OnPrintPreview( wxCommandEvent& event ) { event.Skip(); }
+ virtual void OnPrintButtonClick( wxCommandEvent& event ) { event.Skip(); }
+ virtual void OnButtonCancelClick( wxCommandEvent& event ) { event.Skip(); }
+
+
+ public:
+
+ DIALOG_PRINT_FOR_MODEDIT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Print"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 375,254 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
+ ~DIALOG_PRINT_FOR_MODEDIT_BASE();
+
+};
+
+#endif //__DIALOG_PRINT_FOR_MODEDIT_BASE_H__
diff --git a/pcbnew/dialogs/dialog_print_using_printer_base.cpp b/pcbnew/dialogs/dialog_print_using_printer_base.cpp
index 1a1fb6e46f..fc553b9c60 100644
--- a/pcbnew/dialogs/dialog_print_using_printer_base.cpp
+++ b/pcbnew/dialogs/dialog_print_using_printer_base.cpp
@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
+// C++ code generated with wxFormBuilder (version Jun 30 2011)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
@@ -33,7 +33,6 @@ DIALOG_PRINT_USING_PRINTER_base::DIALOG_PRINT_USING_PRINTER_base( wxWindow* pare
sbLayersSizer->Add( bleftSizer, 1, wxEXPAND, 5 );
m_Exclude_Edges_Pcb = new wxCheckBox( this, wxID_ANY, _("Exclude Edges_Pcb Layer"), wxDefaultPosition, wxDefaultSize, 0 );
-
m_Exclude_Edges_Pcb->SetToolTip( _("Exclude contents of Edges_Pcb layer from all other layers") );
sbLayersSizer->Add( m_Exclude_Edges_Pcb, 0, wxALL|wxEXPAND, 5 );
@@ -85,14 +84,12 @@ DIALOG_PRINT_USING_PRINTER_base::DIALOG_PRINT_USING_PRINTER_base( wxWindow* pare
sbOptionsSizer->Add( m_DialogPenWidth, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
m_Print_Sheet_Ref = new wxCheckBox( this, wxID_FRAME_SEL, _("Print frame ref"), wxDefaultPosition, wxDefaultSize, 0 );
- m_Print_Sheet_Ref->SetValue(true);
-
+ m_Print_Sheet_Ref->SetValue(true);
m_Print_Sheet_Ref->SetToolTip( _("Print (or not) the Frame references.") );
sbOptionsSizer->Add( m_Print_Sheet_Ref, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
m_Print_Mirror = new wxCheckBox( this, wxID_ANY, _("Mirror"), wxDefaultPosition, wxDefaultSize, 0 );
-
sbOptionsSizer->Add( m_Print_Mirror, 0, wxALL, 5 );
bmiddleRightSizer->Add( sbOptionsSizer, 0, wxEXPAND|wxALL, 5 );
@@ -107,7 +104,7 @@ DIALOG_PRINT_USING_PRINTER_base::DIALOG_PRINT_USING_PRINTER_base( wxWindow* pare
int m_ModeColorOptionNChoices = sizeof( m_ModeColorOptionChoices ) / sizeof( wxString );
m_ModeColorOption = new wxRadioBox( this, wxID_PRINT_MODE, _("Print Mode"), wxDefaultPosition, wxDefaultSize, m_ModeColorOptionNChoices, m_ModeColorOptionChoices, 1, wxRA_SPECIFY_COLS );
m_ModeColorOption->SetSelection( 1 );
- m_ModeColorOption->SetToolTip( _("Choose if you wand to draw the sheet like it appears on screen,\nor in black and white mode, better to print it when using black and white printers") );
+ m_ModeColorOption->SetToolTip( _("Choose if you want to draw the sheet like it appears on screen,\nor in black and white mode, better to print it when using black and white printers") );
bmiddleRightSizer->Add( m_ModeColorOption, 0, wxALL|wxEXPAND, 5 );
@@ -164,4 +161,5 @@ DIALOG_PRINT_USING_PRINTER_base::~DIALOG_PRINT_USING_PRINTER_base()
m_buttonPreview->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_USING_PRINTER_base::OnPrintPreview ), NULL, this );
m_buttonPrint->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_USING_PRINTER_base::OnPrintButtonClick ), NULL, this );
m_buttonQuit->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_USING_PRINTER_base::OnButtonCancelClick ), NULL, this );
+
}
diff --git a/pcbnew/dialogs/dialog_print_using_printer_base.fbp b/pcbnew/dialogs/dialog_print_using_printer_base.fbp
index 37883a527b..1e2d2e8958 100644
--- a/pcbnew/dialogs/dialog_print_using_printer_base.fbp
+++ b/pcbnew/dialogs/dialog_print_using_printer_base.fbp
@@ -2,9 +2,12 @@
-
+
C++
1
+ source_name
+ 0
+ res
UTF-8
connect
dialog_print_using_printer_base
@@ -12,66 +15,111 @@
none
1
DialogPrint_base
-
+
.
-
+
1
+ 1
1
0
-
-
-
+ 1
+ 1
+ 1
+ 1
+ 0
+
+
+
+
+ 1
+
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
-
+ impl_virtual
+
+
+ 1
+
+ 0
0
wxID_ANY
-
+
+
+ 0
+
+
+ 0
-1,-1
+ 1
DIALOG_PRINT_USING_PRINTER_base
-
+ 1
+
+
+ 1
+
+
+ Resizable
+
+ 1
551,315
wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER
-
+
Print
-
-
-
-
-
-
-
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
OnCloseWindow
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
bMainSizer
wxHORIZONTAL
none
@@ -82,17 +130,17 @@
wxID_ANY
Layers:
-
+
sbLayersSizer
wxVERTICAL
none
-
+
5
wxEXPAND
1
-
+
bleftSizer
wxHORIZONTAL
none
@@ -103,11 +151,11 @@
wxID_ANY
Copper Layers:
-
+
m_CopperLayersBoxSizer
wxVERTICAL
protected
-
+
@@ -117,11 +165,11 @@
wxID_ANY
Technical Layers:
-
+
m_TechnicalLayersBoxSizer
wxVERTICAL
protected
-
+
@@ -131,51 +179,87 @@
wxALL|wxEXPAND
0
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
0
-
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
Exclude Edges_Pcb Layer
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_Exclude_Edges_Pcb
+ 1
+
+
protected
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
Exclude contents of Edges_Pcb layer from all other layers
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -185,7 +269,7 @@
wxEXPAND
0
-
+
bmiddleLeftSizer
wxVERTICAL
none
@@ -194,53 +278,89 @@
wxALL
0
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
"fit in page" "Scale 0.5" "Scale 0.7" "Approx. Scale 1" "Accurate Scale 1" "Scale 1.4" "Scale 2" "Scale 3" "Scale 4"
-
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
Approx. Scale:
+
1
-
-
+
+ 0
+
+
+ 0
+
+ 1
m_ScaleOption
+ 1
+
+
protected
-
+ 1
+
+
+ Resizable
+
4
-
+ 1
+
wxRA_SPECIFY_COLS
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
OnScaleSelectionClick
-
-
-
-
-
-
+
+
+
+
+
+
@@ -248,50 +368,86 @@
wxRIGHT|wxLEFT
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
X Scale Adjust
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_FineAdjustXscaleTitle
+ 1
+
+
protected
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
-1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -299,54 +455,90 @@
wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
-
+
+
+ 0
+
0
-
+
+ 0
+
+ 1
m_FineAdjustXscaleOpt
+ 1
+
+
protected
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
Set X scale adjust for exact scale plotting
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -354,50 +546,86 @@
wxRIGHT|wxLEFT
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
Y Scale Adjust
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_FineAdjustYscaleTitle
+ 1
+
+
protected
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
-1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -405,54 +633,90 @@
wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
-
+
+
+ 0
+
0
-
+
+ 0
+
+ 1
m_FineAdjustYscaleOpt
+ 1
+
+
protected
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
Set Y scale adjust for exact scale plotting
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -462,7 +726,7 @@
wxEXPAND
0
-
+
bmiddleRightSizer
wxVERTICAL
none
@@ -473,60 +737,96 @@
wxID_ANY
Options:
-
+
sbOptionsSizer
wxVERTICAL
none
-
+
5
wxTOP|wxRIGHT|wxLEFT
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
Default pen size
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_TextPenWidth
+ 1
+
+
protected
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
Pen size used to draw items that have no pen size specified.
Used mainly to draw items in sketch mode.
-
-
-
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
-1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -534,54 +834,90 @@
wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
-
+
+
+ 0
+
0
+
+ 0
-1,-1
+ 1
m_DialogPenWidth
+ 1
+
+
protected
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -589,51 +925,87 @@
wxTOP|wxRIGHT|wxLEFT
0
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
1
-
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_FRAME_SEL
Print frame ref
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_Print_Sheet_Ref
+ 1
+
+
protected
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
Print (or not) the Frame references.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -641,51 +1013,87 @@
wxALL
0
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
0
-
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
Mirror
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_Print_Mirror
+ 1
+
+
protected
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -695,53 +1103,89 @@
wxALL|wxEXPAND
0
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
"No drill mark" "Small mark" "Real drill"
-
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_ANY
Pads Drill Opt
+
1
-
-
+
+ 0
+
+
+ 0
+
+ 1
m_Drill_Shape_Opt
+ 1
+
+
protected
-
+ 1
+
+
+ Resizable
+
1
-
+ 1
+
wxRA_SPECIFY_COLS
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -749,53 +1193,89 @@
wxALL|wxEXPAND
0
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
"Color" "Black and white"
-
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_PRINT_MODE
Print Mode
+
1
-
-
+
+ 0
+
+
+ 0
+
+ 1
m_ModeColorOption
+ 1
+
+
protected
-
+ 1
+
+
+ Resizable
+
1
-
+ 1
+
wxRA_SPECIFY_COLS
-
- Choose if you wand to draw the sheet like it appears on screen,
or in black and white mode, better to print it when using black and white printers
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ 0
+ Choose if you want to draw the sheet like it appears on screen,
or in black and white mode, better to print it when using black and white printers
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -805,7 +1285,7 @@
wxALIGN_CENTER_VERTICAL|wxEXPAND
0
-
+
bbuttonsSizer
wxVERTICAL
none
@@ -814,53 +1294,89 @@
wxALL|wxEXPAND
0
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
"1 Page per Layer" "Single page"
-
+ 1
+
+ 1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_PAGE_MODE
Page Print
+
1
-
-
+
+ 0
+
+
+ 0
+
+ 1
m_PagesOption
+ 1
+
+
protected
-
+ 1
+
+
+ Resizable
+
0
-
+ 1
+
wxRA_SPECIFY_COLS
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -878,51 +1394,87 @@
wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
0
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_PRINT_OPTIONS
Page Options
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_buttonOption
+ 1
+
+
protected
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
OnPageSetup
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -930,51 +1482,87 @@
wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
0
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_PREVIEW
Preview
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_buttonPreview
+ 1
+
+
protected
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
OnPrintPreview
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -982,51 +1570,87 @@
wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
0
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_PRINT_ALL
Print
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_buttonPrint
+ 1
+
+
protected
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
OnPrintButtonClick
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1034,51 +1658,87 @@
wxALL|wxALIGN_CENTER_HORIZONTAL|wxEXPAND
0
-
-
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+ 1
+ 0
+ 1
+
+ 1
1
+ 0
+ Dock
+ 0
+ Left
1
-
-
+
+ 1
+
+ 0
0
wxID_CANCEL
Close
-
-
+
+
+ 0
+
+
+ 0
+
+ 1
m_buttonQuit
+ 1
+
+
protected
-
-
-
-
-
-
-
-
+ 1
+
+
+ Resizable
+
+ 1
+
+
+
+ 0
+
+
+ wxFILTER_NONE
+ wxDefaultValidator
+
+
+
+
OnButtonCancelClick
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pcbnew/dialogs/dialog_print_using_printer_base.h b/pcbnew/dialogs/dialog_print_using_printer_base.h
index 38d342159e..4b4049b8ef 100644
--- a/pcbnew/dialogs/dialog_print_using_printer_base.h
+++ b/pcbnew/dialogs/dialog_print_using_printer_base.h
@@ -1,15 +1,16 @@
///////////////////////////////////////////////////////////////////////////
-// C++ code generated with wxFormBuilder (version Apr 16 2008)
+// C++ code generated with wxFormBuilder (version Jun 30 2011)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
-#ifndef __dialog_print_using_printer_base__
-#define __dialog_print_using_printer_base__
+#ifndef __DIALOG_PRINT_USING_PRINTER_BASE_H__
+#define __DIALOG_PRINT_USING_PRINTER_BASE_H__
+#include
+#include
#include
-
#include
#include
#include
@@ -58,26 +59,25 @@ class DIALOG_PRINT_USING_PRINTER_base : public wxDialog
wxRadioBox* m_Drill_Shape_Opt;
wxRadioBox* m_ModeColorOption;
wxRadioBox* m_PagesOption;
-
wxButton* m_buttonOption;
wxButton* m_buttonPreview;
wxButton* m_buttonPrint;
wxButton* m_buttonQuit;
-
// Virtual event handlers, overide them in your derived class
- virtual void OnCloseWindow( wxCloseEvent& event ){ event.Skip(); }
- virtual void OnScaleSelectionClick( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnPageSetup( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnPrintPreview( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnPrintButtonClick( wxCommandEvent& event ){ event.Skip(); }
- virtual void OnButtonCancelClick( wxCommandEvent& event ){ event.Skip(); }
+ virtual void OnCloseWindow( wxCloseEvent& event ) { event.Skip(); }
+ virtual void OnScaleSelectionClick( wxCommandEvent& event ) { event.Skip(); }
+ virtual void OnPageSetup( wxCommandEvent& event ) { event.Skip(); }
+ virtual void OnPrintPreview( wxCommandEvent& event ) { event.Skip(); }
+ virtual void OnPrintButtonClick( wxCommandEvent& event ) { event.Skip(); }
+ virtual void OnButtonCancelClick( wxCommandEvent& event ) { event.Skip(); }
public:
- DIALOG_PRINT_USING_PRINTER_base( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Print"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 551,315 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
+
+ DIALOG_PRINT_USING_PRINTER_base( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Print"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 551,315 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
~DIALOG_PRINT_USING_PRINTER_base();
};
-#endif //__dialog_print_using_printer_base__
+#endif //__DIALOG_PRINT_USING_PRINTER_BASE_H__