// generated by wxGlade 0.6.8 on Wed May 20 12:40:03 2015 #ifndef WXGUI_HPP #define WXGUI_HPP #include #include #include #include #include "wx/intl.h" #include "crossgen.hpp" #include "fbgui/fbgui.h" #ifndef APP_CATALOG #define APP_CATALOG "app" // replace with the appropriate catalog name #endif class MainFrame: public VMainFrame { protected: std::vector _words; DictType _dict; bool _isDictLoaded; AllWordsType _allWords; CharsTransType _transType; public: void SetGridImage(GridType &grid, size_t w=400); MainFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("CrossGen"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 700,500 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ) : VMainFrame(parent){ _isDictLoaded = false; srand(time(NULL)); } virtual void onExitClick( wxCloseEvent& event ) { event.Skip(); } virtual void onOpenGridClick( wxCommandEvent& event ); virtual void onGenerateClick( wxCommandEvent& event ); virtual void onExitClick( wxCommandEvent& event ) { event.Skip(); } virtual void onAboutClick( wxCommandEvent& event ) { event.Skip(); } }; #endif // WXGUI_HPP