Program: bbtk
Module: $RCSfile: bbtkWxEditor.h,v $
Language: C++
- Date: $Date: 2008/03/18 13:50:43 $
- Version: $Revision: 1.2 $
+ Date: $Date: 2008/03/19 08:03:59 $
+ Version: $Revision: 1.4 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include "bbtkWx.h"
#include "bbtkInterpreter.h"
+#include <wx/splitter.h>
namespace bbtk
{
WxEditor( wxWindow *parent );
~WxEditor();
- void OnKeyPress(wxKeyEvent& event);
+ void OnKeyDown(wxKeyEvent& event);
+ void OnKeyUp(wxKeyEvent& event);
void OnButtonNew(wxCommandEvent& event);
void OnButtonOpen(wxCommandEvent& event);
void Quit();
void HighlightSyntax();
-
+ void UpdatePosition();
+
private:
Interpreter* mInterpreter;
+ wxSplitterWindow* mwxSplit;
WxTextCtrlGettingKeyEvents* mwxInputText;
wxTextAttr* mwxInputTextAttr;
WxTextCtrlGettingKeyEvents* mwxOutputText;
wxButton * mwxButtonSave;
wxButton * mwxButtonRun;
wxButton * mwxButtonQuit;
+ wxStaticText* mwxPosition;
WxStreamRedirector* mRedirect_cout;
WxStreamRedirector* mRedirect_cerr;
public: