Types/ButtonStyleSpecification: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "Extension of Types/StyleWithClickableGraphicalSetSpecification.<br> Style specification type: '''button_style''' == Optional properties == Inherits all properties from ...")
 
(0.18.22)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Extension of [[Types/StyleWithClickableGraphicalSetSpecification]].<br>
Extension of [[Types/StyleWithClickableGraphicalSetSpecification]].<br>
Style specification type: '''button_style'''
Style specification type: '''button_style'''
== Extensions ==
* [[Types/TechnologySlotStyleSpecification]] '''technology_slot_style'''


== Optional properties ==
== Optional properties ==
Line 33: Line 36:
=== strikethrough_color ===
=== strikethrough_color ===
'''Type''': [[Types/Color|Color]]
'''Type''': [[Types/Color|Color]]
=== left_click_sound ===
'''Type''': [[Types/Sound|Sound]]


=== pie_progress_color ===
=== pie_progress_color ===
Line 44: Line 44:


=== draw_shadow_under_picture ===
=== draw_shadow_under_picture ===
'''Type''': [[Types/bool|bool]]
=== draw_grayscale_picture ===
'''Type''': [[Types/bool|bool]]
'''Type''': [[Types/bool|bool]]



Latest revision as of 16:18, 30 April 2020

Extension of Types/StyleWithClickableGraphicalSetSpecification.
Style specification type: button_style

Extensions

Optional properties

Inherits all properties from Types/StyleWithClickableGraphicalSetSpecification.

font

Type: string

Name of a Prototype/Font.

default_font_color

Type: Color

hovered_font_color

Type: Color

clicked_font_color

Type: Color

disabled_font_color

Type: Color

selected_font_color

Type: Color

selected_hovered_font_color

Type: Color

selected_clicked_font_color

Type: Color

strikethrough_color

Type: Color

pie_progress_color

Type: Color

clicked_vertical_offset

Type: uint32

draw_shadow_under_picture

Type: bool

draw_grayscale_picture

Type: bool

icon_horizontal_align

Type: string

Either "left", "center" or "right".