forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_texturebutton
reduz edited this page Feb 23, 2014
·
9 revisions
Inherits: BaseButton\n\n
Button that can be themed with textures.
- void ** set_normal_texture ** ( Texture texture )
- void ** set_pressed_texture ** ( Texture texture )
- void ** set_hover_texture ** ( Texture texture )
- void ** set_disabled_texture ** ( Texture texture )
- void ** set_focused_texture ** ( Texture texture )
- void ** set_click_mask ** ( BitMap mask )
- Texture ** get_normal_texture ** ( ) const
- Texture ** get_pressed_texture ** ( ) const
- Texture ** get_hover_texture ** ( ) const
- Texture ** get_disabled_texture ** ( ) const
- Texture ** get_focused_texture ** ( ) const
- BitMap ** get_click_mask ** ( ) const
Button that can be themed with textures. This is like a regular button but can be themed by assigning textures to it. This button is intended to be easy to theme, however a regular button can expand (that uses styleboxes) and still be better if the interface is expect to have internationalization of texts.\
Only the normal texture is required, the others are optional.