diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-26 15:37:03 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-26 15:37:03 +0100 |
| commit | e5aa5be42cbf93a31d3be387f24b3413f2983898 (patch) | |
| tree | 480627e83413cb5b300be954bb0e8f3b1833df99 /src/game_tab/editor/EditorPanel.hpp | |
| parent | 2068f8c6c3d3faa842bb9920591aa2ef30bc157c (diff) | |
Prepare GUI for engines
Diffstat (limited to 'src/game_tab/editor/EditorPanel.hpp')
| -rw-r--r-- | src/game_tab/editor/EditorPanel.hpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/game_tab/editor/EditorPanel.hpp b/src/game_tab/editor/EditorPanel.hpp index 0a7c0d0..36d57f1 100644 --- a/src/game_tab/editor/EditorPanel.hpp +++ b/src/game_tab/editor/EditorPanel.hpp @@ -3,6 +3,7 @@ #include "ochess.hpp" #include <wx/listctrl.h> #include <wx/notebook.h> +#include "EditorPanelBF.h" // Local events wxDECLARE_EVENT(GOTO_MOVE_EVENT, wxCommandEvent); @@ -14,15 +15,9 @@ wxDECLARE_EVENT(REFRESH_TAB_TITLE, wxCommandEvent); // Foreign events wxDECLARE_EVENT(GAME_CHANGE, wxCommandEvent); -enum { COMMENT_INPUT_BOX = wxID_HIGHEST + 100, UPDATE_BTN, DELETE_BTN }; - -class EditorPanel : public wxPanel { +class EditorPanel : public EditorPanelBF { Game *game; EditorCanvas *editor_canvas; - wxTextCtrl *comment_input; - wxListCtrl *tags_list; - wxTextCtrl *tagTextCtrl, *valueTextCtrl; - wxButton *delete_button; long selected_item; public: |
