-
Notifications
You must be signed in to change notification settings - Fork 0
class_theme
reduz edited this page Feb 23, 2014
·
9 revisions
Inherits: resource\ Category: Core\
Theme for controls.
- void #set_icon( String name, String type, Texture texture )
- Texture #get_icon( String name, String type ) const
- bool #has_icon( String name, String type ) const
- void #clear_icon( String name, String type )
- StringArray #get_icon_list( String arg0 ) const
- void #set_stylebox( String name, String type, StyleBox texture )
- StyleBox #get_stylebox( String name, String type ) const
- bool #has_stylebox( String name, String type ) const
- void #clear_stylebox( String name, String type )
- StringArray #get_stylebox_list( String arg0 ) const
- void #set_font( String name, String type, Font font )
- Font #get_font( String name, String type ) const
- bool #has_font( String name, String type ) const
- void #clear_font( String name, String type )
- StringArray #get_font_list( String arg0 ) const
- void #set_color( String name, String type, Color color )
- Color #get_color( String name, String type ) const
- bool #has_color( String name, String type ) const
- void #clear_color( String name, String type )
- StringArray #get_color_list( String arg0 ) const
- void #set_constant( String name, String type, int constant )
- int #get_constant( String name, String type ) const
- bool #has_constant( String name, String type ) const
- void #clear_constant( String name, String type )
- StringArray #get_constant_list( String arg0 ) const
- StringArray #get_type_list( String arg0 ) const
- void #copy_default_theme(****)
Theme for skinning controls. Controls can be skinned individually, but for complex applications it's more efficient to just create a global theme that defines everything. This theme can be applied to any control, and it and the children will automatically use it.\
Theme resources can be alternatively loaded by writing them in a .theme file, see wiki for more info.