From 80d8dd72051316f170bb30b4cd4cfaebd5dcebc8 Mon Sep 17 00:00:00 2001 From: Tomasz Wlostowski Date: Thu, 11 Aug 2016 14:42:15 +0200 Subject: [PATCH] sim: default to decade frequency sweep for ac analysis --- eeschema/dialogs/dialog_sim_settings_base.cpp | 6 +++--- eeschema/dialogs/dialog_sim_settings_base.fbp | 10 ++++------ eeschema/dialogs/dialog_sim_settings_base.h | 2 +- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/eeschema/dialogs/dialog_sim_settings_base.cpp b/eeschema/dialogs/dialog_sim_settings_base.cpp index c33376441e..2d5f2e86e4 100644 --- a/eeschema/dialogs/dialog_sim_settings_base.cpp +++ b/eeschema/dialogs/dialog_sim_settings_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jun 24 2016) +// C++ code generated with wxFormBuilder (version Jun 17 2015) // http://www.wxformbuilder.org/ // // PLEASE DO "NOT" EDIT THIS FILE! @@ -27,7 +27,7 @@ DIALOG_SIM_SETTINGS_BASE::DIALOG_SIM_SETTINGS_BASE( wxWindow* parent, wxWindowID wxString m_acScaleChoices[] = { wxT("Decade"), wxT("Octave"), wxT("Linear") }; int m_acScaleNChoices = sizeof( m_acScaleChoices ) / sizeof( wxString ); m_acScale = new wxRadioBox( m_pgAC, wxID_ANY, wxT("Frequency scale"), wxDefaultPosition, wxDefaultSize, m_acScaleNChoices, m_acScaleChoices, 1, wxRA_SPECIFY_COLS ); - m_acScale->SetSelection( 2 ); + m_acScale->SetSelection( 0 ); m_acScale->Hide(); bSizer3->Add( m_acScale, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 ); @@ -368,7 +368,7 @@ DIALOG_SIM_SETTINGS_BASE::DIALOG_SIM_SETTINGS_BASE( wxWindow* parent, wxWindowID bSizer2->Add( m_staticText18, 0, wxALL, 5 ); m_customTxt = new wxTextCtrl( m_pgCustom, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE ); - m_customTxt->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_TELETYPE, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxEmptyString ) ); + m_customTxt->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 76, 90, 90, false, wxEmptyString ) ); bSizer2->Add( m_customTxt, 1, wxALL|wxEXPAND, 5 ); diff --git a/eeschema/dialogs/dialog_sim_settings_base.fbp b/eeschema/dialogs/dialog_sim_settings_base.fbp index 00194907df..1fdf847b6c 100644 --- a/eeschema/dialogs/dialog_sim_settings_base.fbp +++ b/eeschema/dialogs/dialog_sim_settings_base.fbp @@ -175,11 +175,11 @@ - + AC 1 - + 1 1 1 @@ -253,7 +253,7 @@ - + bSizer3 wxVERTICAL @@ -318,7 +318,7 @@ 1 Resizable - 2 + 0 1 wxRA_SPECIFY_COLS @@ -1014,7 +1014,6 @@ sbSizer21 wxVERTICAL - 1 none @@ -1831,7 +1830,6 @@ sbSizer2 wxVERTICAL - 1 none diff --git a/eeschema/dialogs/dialog_sim_settings_base.h b/eeschema/dialogs/dialog_sim_settings_base.h index bf1d09b1de..a8d62b4bba 100644 --- a/eeschema/dialogs/dialog_sim_settings_base.h +++ b/eeschema/dialogs/dialog_sim_settings_base.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jun 24 2016) +// C++ code generated with wxFormBuilder (version Jun 17 2015) // http://www.wxformbuilder.org/ // // PLEASE DO "NOT" EDIT THIS FILE!