summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-10-01 15:24:52 +0200
committerGitHub <noreply@github.com>2021-10-01 15:24:52 +0200
commit928c002f223b67bd6fd1c55d65e37a6d5c4e3a94 (patch)
tree9b0ea4d9718fe694b2b22d9e09a66b32db8c2cb9 /core
parent06c1b40b84645b4460dd49d95694a7779d636f92 (diff)
parent0c0b5c84b06e64de6cab301994ac9cd1f845dd35 (diff)
Merge pull request #52192 from bruvzg/text_server_gdext
Diffstat (limited to 'core')
-rw-r--r--core/extension/extension_api_dump.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/core/extension/extension_api_dump.cpp b/core/extension/extension_api_dump.cpp
index 3856229eac..03b2426370 100644
--- a/core/extension/extension_api_dump.cpp
+++ b/core/extension/extension_api_dump.cpp
@@ -841,6 +841,7 @@ Dictionary NativeExtensionAPIDump::generate_extension_api() {
{
Array native_structures;
+ // AudioStream structures
{
Dictionary d;
d["name"] = "AudioFrame";
@@ -849,6 +850,22 @@ Dictionary NativeExtensionAPIDump::generate_extension_api() {
native_structures.push_back(d);
}
+ // TextServer structures
+ {
+ Dictionary d;
+ d["name"] = "Glyph";
+ d["format"] = "int start,int end,uint8_t count,uint8_t repeat,uint16_t flags,float x_off,float y_off,float advance,RID font_rid,int font_size,int32_t index";
+
+ native_structures.push_back(d);
+ }
+ {
+ Dictionary d;
+ d["name"] = "CaretInfo";
+ d["format"] = "Rect2 leading_caret,Rect2 trailing_caret,TextServer::Direction leading_direction,TextServer::Direction trailing_direction";
+
+ native_structures.push_back(d);
+ }
+
api_dump["native_structures"] = native_structures;
}