diff --git a/doc/classes/TouchScreenButton.xml b/doc/classes/TouchScreenButton.xml index 8a96fa14545..51cb7f86f28 100644 --- a/doc/classes/TouchScreenButton.xml +++ b/doc/classes/TouchScreenButton.xml @@ -1,8 +1,10 @@ + Button for touch screen devices. + Button for touch screen devices. You can set it to be visible on all screens, or only on touch devices. @@ -13,36 +15,42 @@ + Returns the button's action. + Returns the button's bitmask. + Returns the button's shape. + Returns the button's texture for the normal state. + Returns the button's texture for the pressed state. + Sets the button's visibility mode. See [code]VISIBILITY_*[/code] constants. @@ -55,6 +63,7 @@ + Returns [code]true[/code] if this button is currently pressed. @@ -75,6 +84,7 @@ + Sets the button's action. @@ -83,6 +93,7 @@ + Sets the button's [BitMap] bitmask. @@ -91,6 +102,7 @@ + If [code]true[/code] passby presses are enabled for this button. @@ -99,6 +111,7 @@ + Sets the button's shape. @@ -107,6 +120,7 @@ + If [code]true[/code] the button's shape is centered. @@ -115,6 +129,7 @@ + If [code]true[/code] the button's shape is visible. @@ -123,6 +138,7 @@ + Sets the button's [Texture] for the normal state. @@ -131,6 +147,7 @@ + Sets the button's [Texture] for the pressed state. @@ -139,43 +156,57 @@ + Sets the button's visibility mode. See the [code]VISIBILITY_*[/code] constants. + The button's action. Actions can be handled with [InputEventAction]. + The button's bitmask. + The button's texture for the normal state. + If [code]true[/code] passby presses are enabled. + The button's texture for the pressed state. + The button's shape. + If [code]true[/code] the button's shape is centered. + If [code]true[/code] the button's shape is visible. + The button's visibility mode. See [code]VISIBILITY_*[/code] constants. + Emitted when the button is pressed (down). + Emitted when the button is released (up). + Always visible. + Visible on touch screens only.