Types/ButtonStyleSpecification: Difference between revisions
Jump to navigation
Jump to search
(added extensions) |
(0.18.22) |
||
Line 36: | Line 36: | ||
=== strikethrough_color === | === strikethrough_color === | ||
'''Type''': [[Types/Color|Color]] | '''Type''': [[Types/Color|Color]] | ||
=== pie_progress_color === | === pie_progress_color === | ||
Line 47: | 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
- Types/TechnologySlotStyleSpecification technology_slot_style
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".