Implement TextServer GDExtension interface, remove TextServer GDNative interface.
This commit is contained in:
parent
06c1b40b84
commit
0c0b5c84b0
58 changed files with 4388 additions and 3388 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue