From 62b44b2f0690fdd8150d12f8f49cb196ac0e8097 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 24 Nov 2022 22:19:24 +0100 Subject: Add some comments. --- src/wx/full_language_tag_dialog.h | 3 +++ src/wx/language_subtag_panel.h | 3 +++ src/wx/language_tag_dialog.h | 9 +++++++++ 3 files changed, 15 insertions(+) (limited to 'src') 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 +/** 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: -- cgit v1.2.3