mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-09 22:56:53 +00:00
25 lines
628 B
C++
25 lines
628 B
C++
![]() |
#include "game_tab/GameTab.hpp"
|
||
|
#include "ochess.hpp"
|
||
|
#include <wx/aui/auibook.h>
|
||
|
#include <wx/filedlg.h>
|
||
|
#include <wx/textdlg.h>
|
||
|
|
||
|
wxDECLARE_EVENT(REFRESH_TAB_TITLE, wxCommandEvent);
|
||
|
|
||
|
class MainWindow : public wxFrame {
|
||
|
wxAuiNotebook *notebook;
|
||
|
wxMenu *menuGame;
|
||
|
wxMenuBar *menuBar;
|
||
|
|
||
|
void OnExit(wxCommandEvent &event);
|
||
|
void OnNewGame(wxCommandEvent &event);
|
||
|
void OnOpen(wxCommandEvent &event);
|
||
|
void OnPageChange(wxAuiNotebookEvent &event);
|
||
|
void OnRefreshTabTitle(wxCommandEvent &event);
|
||
|
void NewGame(Game *game);
|
||
|
void OnSettings(wxCommandEvent &event);
|
||
|
|
||
|
public:
|
||
|
MainWindow();
|
||
|
void ApplyPreferences();
|
||
|
};
|