diff options
Diffstat (limited to 'src/MainWindow.hpp')
| -rw-r--r-- | src/MainWindow.hpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/MainWindow.hpp b/src/MainWindow.hpp index 4111612..4fa3318 100644 --- a/src/MainWindow.hpp +++ b/src/MainWindow.hpp @@ -11,27 +11,30 @@ wxDECLARE_EVENT(REFRESH_TAB_TITLE, wxCommandEvent); wxDECLARE_EVENT(NEW_GAME_EVENT, wxCommandEvent); wxDECLARE_EVENT(CLOSE_TAB_EVENT, wxCommandEvent); +wxDECLARE_EVENT(REFRESH_ENGINE_LIST, wxCommandEvent); class MainWindow : public wxFrame { wxAuiNotebook *notebook; wxMenu *menuGame; wxMenuBar *menuBar; wxPreferencesEditor *prefsEditor; + wxMenu *manageMenu; - void OnExit(wxCommandEvent &event); void OnClose(wxCloseEvent &e); - void OnMenuNewGame(wxCommandEvent &event); + void NewGame(bool useFen); void OnNewGame(wxCommandEvent &event); - void OnOpen(wxCommandEvent &event); + void OpenFile(); void OnPageChange(wxAuiNotebookEvent &event); void OnRefreshTabTitle(wxCommandEvent &event); void NewGame(Game *game); - void OnSettings(wxCommandEvent &event); - void OnNewEngine(wxCommandEvent &event); + void OpenSettings(); + void NewEngine(); void OnCloseTabEvent(wxCommandEvent &event); + void OnRefreshEngineList(wxCommandEvent &event); + void OnMenuItemClick(wxCommandEvent &event); public: MainWindow(); void ApplyPreferences(); - std::vector<TabInfos*> ListTabInfos(); + std::vector<TabInfos *> ListTabInfos(); };
\ No newline at end of file |
