diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-28 13:44:27 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-28 13:44:27 +0100 |
| commit | bf485fa577a76731f9eac97de3b0a647cd492e49 (patch) | |
| tree | 731d9ec91070406124044e75b4b27949e5d230c0 /src/game_tab/editor/EditorPanel.hpp | |
| parent | 7178f18ab88bcc93bfbf2019adf53d2f60d8fa20 (diff) | |
Refactoring game tab
Diffstat (limited to 'src/game_tab/editor/EditorPanel.hpp')
| -rw-r--r-- | src/game_tab/editor/EditorPanel.hpp | 40 |
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 |
