aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/editor/EditorPanel.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game_tab/editor/EditorPanel.hpp')
-rw-r--r--src/game_tab/editor/EditorPanel.hpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/game_tab/editor/EditorPanel.hpp b/src/game_tab/editor/EditorPanel.hpp
deleted file mode 100644
index 3ab98a5..0000000
--- a/src/game_tab/editor/EditorPanel.hpp
+++ /dev/null
@@ -1,40 +0,0 @@
-#include "../Game.hpp"
-#include "EditorCanvas.hpp"
-#include "ochess.hpp"
-#include <wx/listctrl.h>
-#include <wx/notebook.h>
-
-// Local events
-wxDECLARE_EVENT(GOTO_MOVE_EVENT, wxCommandEvent);
-wxDECLARE_EVENT(DELETE_MOVE_EVENT, wxCommandEvent);
-wxDECLARE_EVENT(PROMOTE_MOVE_EVENT, wxCommandEvent);
-wxDECLARE_EVENT(SET_AS_MAINLINE_EVENT, wxCommandEvent);
-wxDECLARE_EVENT(REFRESH_TAB_TITLE, wxCommandEvent);
-
-// Foreign events
-wxDECLARE_EVENT(GAME_CHANGE, wxCommandEvent);
-
-class EditorPanel : public TabGameRightPanel {
- Game *game;
- EditorCanvas *editor_canvas;
- long selected_item;
-
-public:
- EditorPanel(wxFrame *parent, Game *game);
- void NotifyBoard();
- void Notify();
- void OnCommentChange(wxCommandEvent &event);
- void OnGotoMove(wxCommandEvent &event);
- void OnMoveDelete(wxCommandEvent &event);
- void OnMovePromote(wxCommandEvent &event);
- void OnMoveSetAsMainline(wxCommandEvent &event);
- void RefreshTagsList();
- void OnTagSelected(wxListEvent &event);
- void OnTagDeselected(wxListEvent &event);
- void OnApply(wxCommandEvent &event);
- void OnDelete(wxCommandEvent &event);
- void OnPreviousMove(wxCommandEvent &event);
- void OnNextMove(wxCommandEvent &event);
- void OnLiveAnalysis(wxCommandEvent &event);
- void ApplyPreferences();
-}; \ No newline at end of file