]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWxGUITextEditor.h
Forgot this one
[bbtk.git] / kernel / src / bbtkWxGUITextEditor.h
index 77eac316e7f68b660a99be8e090bf8b5063721d4..e1a1a589a3c0fe254f43aeaf4f13834aa92366a3 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxGUITextEditor.h,v $
   Language:  C++
-  Date:      $Date: 2008/10/17 08:18:15 $
-  Version:   $Revision: 1.8 $
+  Date:      $Date: 2009/12/04 10:48:34 $
+  Version:   $Revision: 1.10 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -76,6 +76,10 @@ namespace bbtk
     virtual ~WxGUITextEditorUser() {}
     /// Callback invoked when the 'run' button is pressed
     virtual void WxGUITextEditorRun() {}
+    virtual void WxGUITextEditorRunBBI() {} 
+       virtual void WxGUITextEditorGraphSimple() {}
+       virtual void WxGUITextEditorGraphDetail() {}
+         
   };
 
   //================================================================
@@ -95,7 +99,9 @@ namespace bbtk
 
     void Load(const std::string& filename);
     void Save(const std::string& filter);
+       void SaveFile(const std::string& filename);
 
+         
     bool IsModified(); //{ return mwxInputText->IsModified(); }
    
     std::string GetText();
@@ -104,6 +110,7 @@ namespace bbtk
     WxGUITextEditor* mEditor;
     WxTextCtrlGettingKeyEvents* mwxInputText;
     wxTextAttr* mwxInputTextAttr;
+       wxFont* mFixedFont;
     std::string mName;
     bool mAskFilename;
 
@@ -176,7 +183,10 @@ namespace bbtk
       ID_ButtonClose,
       ID_ButtonSave,
       ID_ButtonSaveAs,
-      ID_ButtonRun
+      ID_ButtonRun,
+         ID_ButtonRunBBI,
+         ID_ButtonGraphSimple,
+         ID_ButtonGraphDetail
       //      ID_ButtonQuit
     };