]> git.somenet.org - factorio/some-zoom.git/blob - prototypes/styles.lua
RELEASE 2.0.0 - Initial compatibility with Factorio 2.0
[factorio/some-zoom.git] / prototypes / styles.lua
1 data:extend(
2     {
3         {
4             type = "sprite",
5             name = "sprite_zout",
6             filename = "__some-zoom__/graphics/but-zout.png",
7             width = 22,
8             height = 30,
9         },
10         {
11             type = "sprite",
12             name = "sprite_zin",
13             filename = "__some-zoom__/graphics/but-zin.png",
14             width = 22,
15             height = 30,
16         },
17     }
18 )
19
20 --------------------------------------------------------------------------------------
21 local default_gui = data.raw["gui-style"].default
22
23 default_gui.zoom_flow_style =
24 {
25     type="horizontal_flow_style",
26     parent="horizontal_flow",
27
28     top_padding = 0,
29     bottom_padding = 0,
30     left_padding = 0,
31     right_padding = 0,
32
33     horizontal_spacing = 0,
34     vertical_spacing = 0,
35     resize_row_to_width = true,
36     resize_to_row_height = false,
37     max_on_row = 1,
38
39     graphical_set = { type = "none" },
40 }
41
42 default_gui.zoom_sprite_style =
43 {
44     type="button_style",
45     parent="button",
46     top_padding = 0,
47     right_padding = 0,
48     bottom_padding = 0,
49     left_padding = 0,
50     width = 28,
51     height = 36,
52     scalable = false,
53 }
54