From bf485fa577a76731f9eac97de3b0a647cd492e49 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Mon, 28 Feb 2022 13:44:27 +0100 Subject: Refactoring game tab --- src/game_tab/GameTab.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/game_tab/GameTab.hpp') diff --git a/src/game_tab/GameTab.hpp b/src/game_tab/GameTab.hpp index d013266..c9dcd5a 100644 --- a/src/game_tab/GameTab.hpp +++ b/src/game_tab/GameTab.hpp @@ -2,8 +2,8 @@ #include "ChessArbiter.hpp" #include "Game.hpp" #include "HalfMove.hpp" -#include "board/BoardPanel.hpp" -#include "editor/EditorPanel.hpp" +#include "left_panel/GameTabLeftPanel.hpp" +#include "right_panel/GameTabRightPanel.hpp" #include "ochess.hpp" #include #include @@ -14,8 +14,8 @@ wxDECLARE_EVENT(REFRESH_TAB_TITLE, wxCommandEvent); wxDECLARE_EVENT(GAME_CHANGE, wxCommandEvent); class GameTab : public wxPanel, public TabInfos { - EditorPanel *editor_panel; - BoardPanel *board_panel; + GameTabRightPanel *editor_panel; + GameTabLeftPanel *board_panel; Game *game; void RefreshLabel(); void OnRefreshTabTitle(wxCommandEvent &event); -- cgit v1.2.3