summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-11-24 22:19:24 +0100
committerCarl Hetherington <cth@carlh.net>2022-11-29 00:15:02 +0100
commit62b44b2f0690fdd8150d12f8f49cb196ac0e8097 (patch)
tree56c4de06b1ad49310306f66a64ce0d51b6655f79 /src
parent4d879e836147720bed8208f92d8d39bcbd661221 (diff)
Add some comments.
Diffstat (limited to 'src')
-rw-r--r--src/wx/full_language_tag_dialog.h3
-rw-r--r--src/wx/language_subtag_panel.h3
-rw-r--r--src/wx/language_tag_dialog.h9
3 files changed, 15 insertions, 0 deletions
diff --git a/src/wx/full_language_tag_dialog.h b/src/wx/full_language_tag_dialog.h
index 1dbdeacb1..08b8c71a3 100644
--- a/src/wx/full_language_tag_dialog.h
+++ b/src/wx/full_language_tag_dialog.h
@@ -34,6 +34,9 @@ class wxListCtrl;
class LanguageSubtagPanel;
+/** A dialog in which the user can make a full new language tag, made up of
+ * language, script, region, variant and external.
+ */
class FullLanguageTagDialog : public wxDialog
{
public:
diff --git a/src/wx/language_subtag_panel.h b/src/wx/language_subtag_panel.h
index e5972a92c..6f1b5fd01 100644
--- a/src/wx/language_subtag_panel.h
+++ b/src/wx/language_subtag_panel.h
@@ -28,6 +28,9 @@ LIBDCP_ENABLE_WARNINGS
#include <boost/signals2.hpp>
+/** A panel which offers a list of subtags in two columns: subtag and name, and has a search box to
+ * limit the view to a subset. The list contained within is a SubtagListCtrl.
+ */
class LanguageSubtagPanel : public wxPanel
{
public:
diff --git a/src/wx/language_tag_dialog.h b/src/wx/language_tag_dialog.h
index b9085e97a..34c77666f 100644
--- a/src/wx/language_tag_dialog.h
+++ b/src/wx/language_tag_dialog.h
@@ -33,6 +33,15 @@ LIBDCP_ENABLE_WARNINGS
class wxListCtrl;
+/** A dialog to choose a language e.g.
+ *
+ * English en
+ * German de
+ * Portuguese for Brazil pt-BR
+ *
+ * It displays the full names of languages in one column, and the tag in the other,
+ * and has a button to add a new language using FullLanguageTagDialog.
+ */
class LanguageTagDialog : public wxDialog
{
public: