![]() |
OChess v0.0.2
Programmer's Manual
|
Main GUI window of OChess. More...
#include <MainWindow.hpp>
Public Member Functions | |
| MainWindow () | |
| -------— MainWindow -------— More... | |
| TabInfos * | NewGame (std::shared_ptr< Game > game) |
| void | ApplyPreferences () |
| Apply preferences to MainWindow and all the opened tabs. | |
Public Member Functions inherited from MainFrame | |
| MainFrame (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxT("OChess"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(500, 300), long style=wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL) | |
Private Member Functions | |
| void | OnClose (wxCloseEvent &e) |
| void | NewGame (bool useFen) |
| void | OnPageChange (wxAuiNotebookEvent &event) |
| void | OnRefreshTabTitle (wxCommandEvent &event) |
| void | OpenSettings () |
| void | NewEngine () |
| Setting up a new chess engine (select executable and open engine tab) | |
| void | OnCloseTabEvent (wxCommandEvent &event) |
| void | OnRefreshEngineList (wxCommandEvent &event) |
| void | OnMenuItemClick (wxCommandEvent &event) |
| void | OnAuiNotebookPageClosed (wxAuiNotebookEvent &event) |
| void | OnAuiNotebookPageCheck (wxAuiNotebookEvent &event) |
| void | OnCloseTabLinkedTo (wxCommandEvent &event) |
| void | AddPage (wxWindow *window, TabInfos *infos) |
| void | ShowAbout () |
Additional Inherited Members | |
Public Attributes inherited from MainFrame | |
| wxAuiNotebook * | notebook |
Protected Attributes inherited from MainFrame | |
| wxMenuBar * | menu_bar |
| wxMenu * | menu_file |
| wxMenu * | menu_game |
| wxMenu * | menu_db |
| wxMenu * | menu_engine |
| wxMenu * | menu_help |
| wxStatusBar * | status_bar |
Main GUI window of OChess.
| MainWindow::MainWindow | ( | ) |
-------— MainWindow -------—
File menu