00001
00002 #ifndef __MAIN_FRAME_HPP__
00003 #define __MAIN_FRAME_HPP__
00004
00005 #include "wx_sdl.hpp"
00006 #include "SDLPanel.hpp"
00007
00008
00009 class mainFrame : public wxFrame {
00010 DECLARE_CLASS(mainFrame)
00011 DECLARE_EVENT_TABLE()
00012
00013 private:
00014 SDLPanel* SDL_panel;
00015
00016 void onFileExit (wxCommandEvent& event){ Close(); }
00017 void onHelpAbout(wxCommandEvent& event);
00018
00019 mapManager mapManagement;
00020
00021 public:
00022 mainFrame();
00023 SDLPanel &getPanel(){ return *SDL_panel; }
00024 };
00025
00026 #endif // __SDL_FRAME_HPP__