70 lines
2.4 KiB
XML
70 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="TextServerManager" inherits="Object" version="4.0">
|
|
<brief_description>
|
|
Manager for the font and complex text layout servers.
|
|
</brief_description>
|
|
<description>
|
|
[TextServerManager] is the API backend for loading, enumeration and switching [TextServer]s.
|
|
Note: Switching text server at runtime is possible, but will invalidate all fonts and text buffers. Make sure to unload all controls, fonts, and themes before doing so.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="find_interface" qualifiers="const">
|
|
<return type="TextServer" />
|
|
<argument index="0" name="name" type="String" />
|
|
<description>
|
|
Finds an interface by its name.
|
|
</description>
|
|
</method>
|
|
<method name="get_interface" qualifiers="const">
|
|
<return type="TextServer" />
|
|
<argument index="0" name="index" type="int" />
|
|
<description>
|
|
Returns the interface registered at a given index.
|
|
</description>
|
|
</method>
|
|
<method name="get_interface_count" qualifiers="const">
|
|
<return type="int" />
|
|
<description>
|
|
Returns the number of interfaces currently registered.
|
|
</description>
|
|
</method>
|
|
<method name="get_interface_features" qualifiers="const">
|
|
<return type="int" />
|
|
<argument index="0" name="index" type="int" />
|
|
<description>
|
|
Returns text server supported features (binary OR).
|
|
</description>
|
|
</method>
|
|
<method name="get_interface_name" qualifiers="const">
|
|
<return type="String" />
|
|
<argument index="0" name="index" type="int" />
|
|
<description>
|
|
Returns the interface name registered at a given index.
|
|
</description>
|
|
</method>
|
|
<method name="get_interfaces" qualifiers="const">
|
|
<return type="Array" />
|
|
<description>
|
|
Returns a list of available interfaces the index and name of each interface.
|
|
</description>
|
|
</method>
|
|
<method name="get_primary_interface" qualifiers="const">
|
|
<return type="TextServer" />
|
|
<description>
|
|
Returns the primary [TextServer] interface.
|
|
</description>
|
|
</method>
|
|
<method name="set_primary_interface">
|
|
<return type="bool" />
|
|
<argument index="0" name="index" type="int" />
|
|
<description>
|
|
Sets (and initializes it if required) interface registered at a given index as the primary. Invalidates all references to the fonts and text buffers.
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<constants>
|
|
</constants>
|
|
</class>
|