summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2021-08-04 19:54:41 +0300
committerYuri Sizov <yuris@humnom.net>2021-08-04 22:27:10 +0300
commitbf2839ea3ee280462fb9117a73bae407354ea832 (patch)
treeb13bb7dc667dd8d27bd756013dea7373f7834d0e /core
parent85186bc0c5f8ad135168018bb90ac0dd4e834500 (diff)
Add theme item descriptions to the online documentation
Diffstat (limited to 'core')
-rw-r--r--core/doc_data.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/core/doc_data.h b/core/doc_data.h
index 46ab697768..a3011fe275 100644
--- a/core/doc_data.h
+++ b/core/doc_data.h
@@ -116,6 +116,17 @@ public:
}
};
+ struct ThemeItemDoc {
+ String name;
+ String type;
+ String data_type;
+ String description;
+ String default_value;
+ bool operator<(const ThemeItemDoc &p_theme_item) const {
+ return name < p_theme_item.name;
+ }
+ };
+
struct TutorialDoc {
String link;
String title;
@@ -133,7 +144,7 @@ public:
Vector<ConstantDoc> constants;
Map<String, String> enums;
Vector<PropertyDoc> properties;
- Vector<PropertyDoc> theme_properties;
+ Vector<ThemeItemDoc> theme_properties;
bool is_script_doc = false;
String script_path;
bool operator<(const ClassDoc &p_class) const {