25#ifndef __SIM_WORKBOOK__
26#define __SIM_WORKBOOK__
37 SIM_WORKBOOK( wxWindow* aParent, wxWindowID aId=wxID_ANY,
const wxPoint&
38 aPos=wxDefaultPosition,
const wxSize& aSize=wxDefaultSize,
long
39 aStyle=wxAUI_NB_DEFAULT_STYLE );
43 bool AddPage( wxWindow* aPage,
const wxString& aCaption,
bool aSelect=
false,
const wxBitmap& aBitmap=wxNullBitmap );
44 bool AddPage( wxWindow* aPage,
const wxString& aText,
bool aSelect,
int aImageId )
override;
52 int aPoints,
const double* aX,
const double* aY,
SIM_PLOT_TYPE aType );
void setSimOptions(int aOptions)
const wxString & getSimCommand() const
const int getSimOptions() const
void setSimCommand(const wxString &aSimCommand)
const wxString & GetSimCommand(const SIM_PANEL_BASE *aPlotPanel)
bool AddTrace(SIM_PLOT_PANEL *aPlotPanel, const wxString &aTitle, const wxString &aName, int aPoints, const double *aX, const double *aY, SIM_PLOT_TYPE aType)
bool DeleteAllPages() override
void SetSimCommand(SIM_PANEL_BASE *aPlotPanel, const wxString &aSimCommand)
void SetSimOptions(SIM_PANEL_BASE *aPlotPanel, int aOptions)
int GetSimOptions(const SIM_PANEL_BASE *aPlotPanel)
bool DeleteTrace(SIM_PLOT_PANEL *aPlotPanel, const wxString &aName)
bool DeletePage(size_t aPage) override
void setModified()
Dirty bit, indicates something in the workbook has changed.
bool AddPage(wxWindow *aPage, const wxString &aCaption, bool aSelect=false, const wxBitmap &aBitmap=wxNullBitmap)
wxDECLARE_EVENT(EVT_WORKBOOK_MODIFIED, wxCommandEvent)