]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.h
Bug #1375
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxGEditorTabPanel.h
index d305732e9b17a70d4d5736a6fe497fa8c7b0a0b4..dddf555ea03f43aa9c7c5cfbf7dedd9de3f0cb6d 100644 (file)
@@ -103,11 +103,20 @@ namespace bbtk
                // Save temporary diagram as BBG
                void saveTempDiagram();
 
+               // Save temporary diagram as BBG and update buttons
+               void saveTempandUpdate();
+
                // Load BBG diagram
                void loadDiagram(ifstream &inputStream, const std::string &path); //DFCH
 
                // Load temporary diagram as BBG
-               unsigned short  loadTempDiagram(unsigned short un);
+               void  loadTempDiagram(unsigned short un);
+
+               // evaluate the position in the undo actions list
+               unsigned short getUndoState();
+
+               // evaluate the position in the redo actions list
+               unsigned short getRedoState();
 
                // Add a new complex input object to the scene
                void addComplexInputPort(std::string portName);