X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FwxGEditorTabPanel.h;h=59d615e3f6801f38bd451987dd5b4244352fb31e;hb=9877bb1bc1cbfc8b4ac0dbd45d443ba670c9d8d2;hp=dddf555ea03f43aa9c7c5cfbf7dedd9de3f0cb6d;hpb=27e3325d47885b491198917840e8162c234a1545;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h index dddf555..59d615e 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h @@ -101,22 +101,24 @@ namespace bbtk void saveDiagram(std::string &content, const std::string &path); //DFCH // Save temporary diagram as BBG - void saveTempDiagram(); + void saveTempDiagram(const std::string &); // Save temporary diagram as BBG and update buttons - void saveTempandUpdate(); + void saveTempandUpdate(const std::string &); // Load BBG diagram void loadDiagram(ifstream &inputStream, const std::string &path); //DFCH + void saveStringAction(const std::string &action); + // Load temporary diagram as BBG void loadTempDiagram(unsigned short un); // evaluate the position in the undo actions list - unsigned short getUndoState(); + unsigned short getUndoState(std::string &); // evaluate the position in the redo actions list - unsigned short getRedoState(); + unsigned short getRedoState(std::string &); // Add a new complex input object to the scene void addComplexInputPort(std::string portName); @@ -173,6 +175,8 @@ namespace bbtk private: std::vector states; // represents each modification of the tab. Maxixum size 100!! std::vector::iterator _actualdo; // actual position on modifications vector + std::vector sstates; // represents string of each modification of the tab. Maxixum size 100!! + std::vector::iterator _sactualdo; // actual position onstring modifications vector int _id; wxAuiManager *_panelAUIMgr;