00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00017 #ifndef __mainFrame__
00018 #define __mainFrame__
00019
00020 #include "3DpGUI.h"
00021 #include "../libControl3Dp/space.h"
00022
00024 class MainFrame_t : public mainFrameGui
00025 {
00026 public:
00028 MainFrame_t( wxWindow* parent );
00029 ~MainFrame_t();
00030
00031 protected:
00032
00033 void onConnect( wxCommandEvent& event );
00034 void onLoad( wxCommandEvent& event );
00035 void onSave( wxCommandEvent& event );
00036 void onOptions( wxCommandEvent& event );
00037
00038 void onAxeScroll( wxScrollEvent& event );
00039
00040 private:
00041 void save(const std::string &fileName);
00042 void load(const std::string &fileName);
00043
00044
00045 private:
00046 static const wxChar *configFileTypes;
00047 Space_t<3> space;
00048 };
00049
00050 #endif // __mainFrame__