Types/ProgressBarStyleSpecification: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "Extension of Types/StyleSpecification.<br> Style specification type: '''progressbar_style''' == Optional properties == Inherits all properties from Types/StyleSpecifica...")
 
(0.18.22)
Line 32: Line 32:
=== font_color ===
=== font_color ===
'''Type''': [[Types/Color|Color]]
'''Type''': [[Types/Color|Color]]
=== filled_font_color ===
'''Type''': [[Types/Color|Color]]
=== embed_text_in_bar ===
'''Type''': [[Types/bool|bool]]

Revision as of 16:09, 30 April 2020

Extension of Types/StyleSpecification.
Style specification type: progressbar_style

Optional properties

Inherits all properties from Types/StyleSpecification.

bar_width

Type: uint32

color

Type: Color

other_colors

Type: table of table

Array of tables with the following key/value pairs:

bar

Type: ElementImageSet

bar_background

Type: ElementImageSet

font

Type: string

Name of a Prototype/Font.

font_color

Type: Color

filled_font_color

Type: Color

embed_text_in_bar

Type: bool