aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/GameTab.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-02-28 13:44:27 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-02-28 13:44:27 +0100
commitbf485fa577a76731f9eac97de3b0a647cd492e49 (patch)
tree731d9ec91070406124044e75b4b27949e5d230c0 /src/game_tab/GameTab.hpp
parent7178f18ab88bcc93bfbf2019adf53d2f60d8fa20 (diff)
Refactoring game tab
Diffstat (limited to 'src/game_tab/GameTab.hpp')
-rw-r--r--src/game_tab/GameTab.hpp8
1 files changed, 4 insertions, 4 deletions
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 <utility>
#include <wx/collpane.h>
@@ -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);