Move alert function from DisplayServer to OS.
This commit is contained in:
parent
5de991d57c
commit
618eb27e8b
36 changed files with 377 additions and 350 deletions
|
|
@ -7,16 +7,6 @@
|
|||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="alert">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="text" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="title" type="String" default=""Alert!"">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="clipboard_get" qualifiers="const">
|
||||
<return type="String">
|
||||
</return>
|
||||
|
|
|
|||
|
|
@ -10,6 +10,17 @@
|
|||
<link title="OS Test Demo">https://godotengine.org/asset-library/asset/677</link>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="alert">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="text" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="title" type="String" default=""Alert!"">
|
||||
</argument>
|
||||
<description>
|
||||
Displays a modal dialog box using the host OS' facilities. Execution is blocked until the dialog is closed.
|
||||
</description>
|
||||
</method>
|
||||
<method name="can_use_threads" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue