aboutsummaryrefslogtreecommitdiff
path: root/src/preferences
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-05-13 10:43:21 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2023-05-13 10:43:21 +0200
commit617f2b01b2679ec43330ea6fb5f25f4137565b6a (patch)
treef6d102da10821fb04f6184499e8a17cdb96472ad /src/preferences
parent055410c0e0c1297612ce9677331d012af2226fac (diff)
Improve documentation
Diffstat (limited to 'src/preferences')
-rw-r--r--src/preferences/BoardPrefs.hpp8
-rw-r--r--src/preferences/EditorPrefs.hpp8
2 files changed, 16 insertions, 0 deletions
diff --git a/src/preferences/BoardPrefs.hpp b/src/preferences/BoardPrefs.hpp
index f801817..ce975f3 100644
--- a/src/preferences/BoardPrefs.hpp
+++ b/src/preferences/BoardPrefs.hpp
@@ -7,6 +7,10 @@
#include <wx/spinctrl.h>
#include <wx/stdpaths.h>
+/**
+ * @brief Configuration page for the BoardCanvas
+ *
+ */
class BoardPrefsPanel : public PrefsBoard {
BoardCanvas *real_board_canvas;
wxFileName pieces_path;
@@ -101,6 +105,10 @@ public:
}
};
+/**
+ * @brief Interface for wxWidgets to load BoardPrefsPanel into the preference window
+ *
+ */
class BoardPrefs : public wxPreferencesPage {
public:
virtual wxString GetName() const { return "Board"; }
diff --git a/src/preferences/EditorPrefs.hpp b/src/preferences/EditorPrefs.hpp
index 6958519..09abac7 100644
--- a/src/preferences/EditorPrefs.hpp
+++ b/src/preferences/EditorPrefs.hpp
@@ -6,6 +6,10 @@
#include <wx/spinctrl.h>
#include <wx/stdpaths.h>
+/**
+ * @brief Configuration page for the EditorCanvas
+ *
+ */
class EditorPrefsPanel : public PrefsEditor {
public:
@@ -49,6 +53,10 @@ public:
}
};
+/**
+ * @brief Interface for wxWidgets to load EditorPrefsPanel into the preference window
+ *
+ */
class EditorPrefs : public wxPreferencesPage {
public:
virtual wxString GetName() const { return "Editor"; }