2#include "ChessArbiter.hpp"
5#include "left_panel/GameTabLeftPanel.hpp"
6#include "right_panel/GameTabRightPanel.hpp"
9#include <wx/collpane.h>
10#include <wx/splitter.h>
11#include <wx/textctrl.h>
12#include "right_panel/LiveEngineDialog.hpp"
14wxDECLARE_EVENT(REFRESH_TAB_TITLE, wxCommandEvent);
15wxDECLARE_EVENT(GAME_CHANGE, wxCommandEvent);
16wxDECLARE_EVENT(SHOW_ENGINE_EVALUATION, wxCommandEvent);
25 std::shared_ptr<Game> game;
26 std::string related_file;
29 void RefreshTabTitle();
30 void OnGameChange(wxCommandEvent &event);
31 void OnToolClick(wxCommandEvent &event);
34 GameTab(wxFrame *parent, std::shared_ptr<Game> game);
36 std::shared_ptr<Game> GetGame() {
return (std::shared_ptr<Game>(game)); }
37 std::shared_ptr<GameBase> GetBase() {
return nullptr; };
38 void OnLink(){board_panel->SetSaveToolEnable(
false);};
Used by each tab of the GUI to attach additional informations and features.
Definition: ochess.hpp:47