From 822f4362315cadc1673086dcab579e7701438e42 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Thu, 11 Aug 2016 14:41:35 +0200 Subject: [PATCH] Removed unused DIALOG_SIMULATE_PLOT --- eeschema/dialogs/dialog_simulate_plot.cpp | 55 --- eeschema/dialogs/dialog_simulate_plot.fbp | 556 ---------------------- eeschema/dialogs/dialog_simulate_plot.h | 63 --- 3 files changed, 674 deletions(-) delete mode 100644 eeschema/dialogs/dialog_simulate_plot.cpp delete mode 100644 eeschema/dialogs/dialog_simulate_plot.fbp delete mode 100644 eeschema/dialogs/dialog_simulate_plot.h diff --git a/eeschema/dialogs/dialog_simulate_plot.cpp b/eeschema/dialogs/dialog_simulate_plot.cpp deleted file mode 100644 index c4b1b9be71..0000000000 --- a/eeschema/dialogs/dialog_simulate_plot.cpp +++ /dev/null @@ -1,55 +0,0 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jun 17 2015) -// http://www.wxformbuilder.org/ -// -// PLEASE DO "NOT" EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#include "sim_plot_panel.h" - -#include "dialog_simulate_plot.h" - -/////////////////////////////////////////////////////////////////////////// - -SIM_PLOT_FRAME::SIM_PLOT_FRAME( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style ) -{ - this->SetSizeHints( wxDefaultSize, wxDefaultSize ); - - wxBoxSizer* bSizer1; - bSizer1 = new wxBoxSizer( wxVERTICAL ); - - m_auiToolBar1 = new wxAuiToolBar( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxAUI_TB_HORZ_LAYOUT ); - m_toolZoomIn = m_auiToolBar1->AddTool( wxID_ANY, wxT("Zoom In"), wxNullBitmap, wxNullBitmap, wxITEM_NORMAL, wxEmptyString, wxEmptyString, NULL ); - - m_auiToolBar1->Realize(); - - bSizer1->Add( m_auiToolBar1, 0, wxALL, 5 ); - - m_splitter1 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D ); - m_splitter1->Connect( wxEVT_IDLE, wxIdleEventHandler( SIM_PLOT_FRAME::m_splitter1OnIdle ), NULL, this ); - - m_plotPanel = new SIM_PLOT_PANEL( m_splitter1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - m_panel3 = new wxPanel( m_splitter1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - wxBoxSizer* bSizer3; - bSizer3 = new wxBoxSizer( wxVERTICAL ); - - m_simConsole = new wxRichTextCtrl( m_panel3, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0|wxVSCROLL|wxHSCROLL|wxNO_BORDER|wxWANTS_CHARS ); - bSizer3->Add( m_simConsole, 1, wxEXPAND | wxALL, 5 ); - - - m_panel3->SetSizer( bSizer3 ); - m_panel3->Layout(); - bSizer3->Fit( m_panel3 ); - m_splitter1->SplitHorizontally( m_plotPanel, m_panel3, 0 ); - bSizer1->Add( m_splitter1, 1, wxEXPAND, 5 ); - - - this->SetSizer( bSizer1 ); - this->Layout(); - - this->Centre( wxBOTH ); -} - -SIM_PLOT_FRAME::~SIM_PLOT_FRAME() -{ -} diff --git a/eeschema/dialogs/dialog_simulate_plot.fbp b/eeschema/dialogs/dialog_simulate_plot.fbp deleted file mode 100644 index 6aecf4e088..0000000000 --- a/eeschema/dialogs/dialog_simulate_plot.fbp +++ /dev/null @@ -1,556 +0,0 @@ - - - - - - C++ - 1 - source_name - 0 - 0 - res - UTF-8 - connect - - 1000 - none - 0 - SpiceWIndow - - . - - 1 - 1 - 1 - 1 - UI - 0 - 0 - - 0 - wxAUI_MGR_DEFAULT - - wxBOTH - - 1 - 1 - impl_virtual - - - - 0 - wxID_ANY - - - SIM_PLOT_FRAME - - 548,434 - wxDEFAULT_FRAME_STYLE - - Spice Simulation - - - - wxTAB_TRAVERSAL - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bSizer1 - wxVERTICAL - none - - 5 - wxALL - 0 - - 1 - 1 - 1 - 1 - - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - 0 - - - 0 - - - 0 - - 1 - m_auiToolBar1 - 1 - 1 - - - protected - 1 - - Resizable - 5 - 1 - - wxAUI_TB_HORZ_LAYOUT - - label - 0 - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - Load From File; - 0 - wxID_ANY - wxITEM_NORMAL - Zoom In - m_toolZoomIn - protected - - - - - - - - - - - - - - - - - 5 - wxEXPAND - 1 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - 0 - - 0 - - 1 - m_splitter1 - 1 - - - protected - 1 - - Resizable - 0.0 - 0 - -1 - 1 - - wxSPLIT_HORIZONTAL - wxSP_3D - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - m_plotPanel - 1 - - - protected - 1 - - Resizable - 1 - - SIM_PLOT_PANEL; sim_plot_panel.h - 0 - - - - wxTAB_TRAVERSAL - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - m_panel3 - 1 - - - protected - 1 - - Resizable - 1 - - - 0 - - - - wxTAB_TRAVERSAL - - - - - - - - - - - - - - - - - - - - - - - - - - bSizer3 - wxVERTICAL - none - - 5 - wxEXPAND | wxALL - 1 - - 1 - 1 - 1 - 1 - - - - - - - - 1 - 0 - 1 - - 1 - 0 - Dock - 0 - Left - 1 - - 1 - - 0 - 0 - wxID_ANY - - 0 - - - 0 - - 1 - m_simConsole - 1 - - - protected - 1 - - Resizable - 1 - - - - 0 - - - wxFILTER_NONE - wxDefaultValidator - - - - wxVSCROLL|wxHSCROLL|wxNO_BORDER|wxWANTS_CHARS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/eeschema/dialogs/dialog_simulate_plot.h b/eeschema/dialogs/dialog_simulate_plot.h deleted file mode 100644 index d9a581c036..0000000000 --- a/eeschema/dialogs/dialog_simulate_plot.h +++ /dev/null @@ -1,63 +0,0 @@ -/////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jun 17 2015) -// http://www.wxformbuilder.org/ -// -// PLEASE DO "NOT" EDIT THIS FILE! -/////////////////////////////////////////////////////////////////////////// - -#ifndef __DIALOG_SIMULATE_PLOT_H__ -#define __DIALOG_SIMULATE_PLOT_H__ - -#include -#include -class SIM_PLOT_PANEL; - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/////////////////////////////////////////////////////////////////////////// - - -/////////////////////////////////////////////////////////////////////////////// -/// Class SIM_PLOT_FRAME -/////////////////////////////////////////////////////////////////////////////// -class SIM_PLOT_FRAME : public wxFrame -{ - private: - - protected: - wxAuiToolBar* m_auiToolBar1; - wxAuiToolBarItem* m_toolZoomIn; - wxSplitterWindow* m_splitter1; - SIM_PLOT_PANEL* m_plotPanel; - wxPanel* m_panel3; - wxRichTextCtrl* m_simConsole; - - public: - - SIM_PLOT_FRAME( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Spice Simulation"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 548,434 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); - - ~SIM_PLOT_FRAME(); - - void m_splitter1OnIdle( wxIdleEvent& ) - { - m_splitter1->SetSashPosition( 0 ); - m_splitter1->Disconnect( wxEVT_IDLE, wxIdleEventHandler( SIM_PLOT_FRAME::m_splitter1OnIdle ), NULL, this ); - } - -}; - -#endif //__DIALOG_SIMULATE_PLOT_H__