doc: Sync classref with current source

This commit is contained in:
Rémi Verschelde 2018-07-18 11:04:13 +02:00
parent 8e4836f1e3
commit 67f1113ba4
1 changed files with 27 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<doc version="2.1.5.beta.custom_build" name="Engine Types"> <doc version="2.1.5.rc.custom_build" name="Engine Types">
<class name="@GDScript" category="Core"> <class name="@GDScript" category="Core">
<brief_description> <brief_description>
Built-in GDScript functions. Built-in GDScript functions.
@ -10238,6 +10238,10 @@
<constant name="NOTIFICATION_MODAL_CLOSE" value="46"> <constant name="NOTIFICATION_MODAL_CLOSE" value="46">
Modal control was closed. Modal control was closed.
</constant> </constant>
<constant name="NOTIFICATION_SCROLL_BEGIN" value="47">
</constant>
<constant name="NOTIFICATION_SCROLL_END" value="48">
</constant>
<constant name="CURSOR_ARROW" value="0"> <constant name="CURSOR_ARROW" value="0">
</constant> </constant>
<constant name="CURSOR_IBEAM" value="1"> <constant name="CURSOR_IBEAM" value="1">
@ -35308,6 +35312,12 @@
A ScrollContainer node with a [Control] child and scrollbar child ([HScrollbar], [VScrollBar], or both) will only draw the Control within the ScrollContainer area. Scrollbars will automatically be drawn at the right (for vertical) or bottom (for horizontal) and will enable dragging to move the viewable Control (and its children) within the ScrollContainer. Scrollbars will also automatically resize the grabber based on the minimum_size of the Control relative to the ScrollContainer. Works great with a [Panel] control. You can set EXPAND on children size flags, so they will upscale to ScrollContainer size if ScrollContainer size is bigger (scroll is invisible for chosen dimension). A ScrollContainer node with a [Control] child and scrollbar child ([HScrollbar], [VScrollBar], or both) will only draw the Control within the ScrollContainer area. Scrollbars will automatically be drawn at the right (for vertical) or bottom (for horizontal) and will enable dragging to move the viewable Control (and its children) within the ScrollContainer. Scrollbars will also automatically resize the grabber based on the minimum_size of the Control relative to the ScrollContainer. Works great with a [Panel] control. You can set EXPAND on children size flags, so they will upscale to ScrollContainer size if ScrollContainer size is bigger (scroll is invisible for chosen dimension).
</description> </description>
<methods> <methods>
<method name="get_deadzone" qualifiers="const">
<return type="int">
</return>
<description>
</description>
</method>
<method name="get_h_scroll" qualifiers="const"> <method name="get_h_scroll" qualifiers="const">
<return type="int"> <return type="int">
</return> </return>
@ -35336,6 +35346,12 @@
Return true if vertical scroll is allowed. Return true if vertical scroll is allowed.
</description> </description>
</method> </method>
<method name="set_deadzone">
<argument index="0" name="deadzone" type="int">
</argument>
<description>
</description>
</method>
<method name="set_enable_h_scroll"> <method name="set_enable_h_scroll">
<argument index="0" name="enable" type="bool"> <argument index="0" name="enable" type="bool">
</argument> </argument>
@ -35365,6 +35381,16 @@
</description> </description>
</method> </method>
</methods> </methods>
<signals>
<signal name="scroll_ended">
<description>
</description>
</signal>
<signal name="scroll_started">
<description>
</description>
</signal>
</signals>
<constants> <constants>
</constants> </constants>
</class> </class>