diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-13 12:23:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 12:23:49 +0100 |
commit | e0f2902a11c54cf32f1bcc4cc2a9a20654fdf842 (patch) | |
tree | bfc4c459d3dcfbbdc958cdd50e96dba4ab88c5a3 /doc | |
parent | 52c41e6cc068d4a6a5d87f76720446540ce6087d (diff) | |
parent | 6a2938471b6b70fc770b04b45f269c7b6ed30e66 (diff) |
Merge pull request #55665 from KoBeWi/you_touched_my_TouchScreeenButton
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/TouchScreenButton.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/classes/TouchScreenButton.xml b/doc/classes/TouchScreenButton.xml index f1becb6906..67803b92fe 100644 --- a/doc/classes/TouchScreenButton.xml +++ b/doc/classes/TouchScreenButton.xml @@ -25,16 +25,10 @@ <member name="bitmask" type="BitMap" setter="set_bitmask" getter="get_bitmask"> The button's bitmask. </member> - <member name="normal" type="Texture2D" setter="set_texture" getter="get_texture"> - The button's texture for the normal state. - </member> <member name="passby_press" type="bool" setter="set_passby_press" getter="is_passby_press_enabled" default="false"> If [code]true[/code], the [signal pressed] and [signal released] signals are emitted whenever a pressed finger goes in and out of the button, even if the pressure started outside the active area of the button. [b]Note:[/b] This is a "pass-by" (not "bypass") press mode. </member> - <member name="pressed" type="Texture2D" setter="set_texture_pressed" getter="get_texture_pressed"> - The button's texture for the pressed state. - </member> <member name="shape" type="Shape2D" setter="set_shape" getter="get_shape"> The button's shape. </member> @@ -44,6 +38,12 @@ <member name="shape_visible" type="bool" setter="set_shape_visible" getter="is_shape_visible" default="true"> If [code]true[/code], the button's shape is visible in the editor. </member> + <member name="texture_normal" type="Texture2D" setter="set_texture_normal" getter="get_texture_normal"> + The button's texture for the normal state. + </member> + <member name="texture_pressed" type="Texture2D" setter="set_texture_pressed" getter="get_texture_pressed"> + The button's texture for the pressed state. + </member> <member name="visibility_mode" type="int" setter="set_visibility_mode" getter="get_visibility_mode" enum="TouchScreenButton.VisibilityMode" default="0"> The button's visibility mode. See [enum VisibilityMode] for possible values. </member> |