aboutsummaryrefslogtreecommitdiff
path: root/src/MainWindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MainWindow.hpp')
-rw-r--r--src/MainWindow.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/MainWindow.hpp b/src/MainWindow.hpp
index 5e01def..5204220 100644
--- a/src/MainWindow.hpp
+++ b/src/MainWindow.hpp
@@ -15,9 +15,16 @@ wxDECLARE_EVENT(CLOSE_TAB_EVENT, wxCommandEvent);
wxDECLARE_EVENT(REFRESH_ENGINE_LIST, wxCommandEvent);
wxDECLARE_EVENT(CLOSE_LINKED_TAB, wxCommandEvent);
+/**
+ * @brief Main GUI window of OChess
+ *
+ */
class MainWindow : public MainFrame {
+ /// @brief Preference popup window
wxPreferencesEditor *prefsEditor;
+ /// @brief Menu to manage existing chess engines
wxMenu *manageMenu;
+ /// @brief Store the number of available chess engines (to create entries in the menus)
int engine_count;
void OnClose(wxCloseEvent &e);