-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathoutliner_panel.gui
80 lines (71 loc) · 1.73 KB
/
outliner_panel.gui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# COPY-PASTED FOR NOW
@panel_width_minus_10 = 530 # used to be 450
@panel_width = 540 # used to be 460
@panel_width_half = 270 # used to be 230
@panel_width_plus_10 = 550 # used to be 470
@panel_width_plus_14 = 554 # used to be 474
@panel_width_plus_14_half = 277 # used to be 237
@panel_width_plus_20 = 560 # used to be 480
@panel_width_plus_30 = 570 # used to be 490
@panel_width_plus_70 = 610 # used to be 530
types outliner_panel_types
{
type outliner_panel = default_block_window {
name = "outliner_panel"
blockoverride "animation_state_block" {
state = {
name = _show
start_sound = {
soundeffect = "event:/SFX/UI/SideBar/outliner"
}
}
state = {
name = _hide
}
}
blockoverride "window_header_name" {
text = "OUTLINER"
}
blockoverride "scrollarea_content"
{
flowcontainer = {
margin_top = 20
direction = vertical
parentanchor = hcenter
spacing = 20
textbox = {
parentanchor = hcenter
max_width = @panel_width_minus_10
multiline = yes
autoresize = yes
align = left|nobaseline
text = "OUTLINER_PANEL_DESCRIPTION"
margin = { 10 0 }
}
divider_clean = {
block "divider_size" {
size = { @panel_width 2 }
}
parentanchor = hcenter
}
flowcontainer = {
direction = vertical
parentanchor = hcenter
### Regular
outliner_interest_groups = {}
outliner_formations = {}
outliner_commanders = {}
outliner_agitators = {}
outliner_politicians = {}
outliner_companies = {}
outliner_markets = {}
outliner_goods = {}
outliner_colonies = {}
outliner_states = {}
outliner_players = {}
outliner_buildingtypes = {}
}
}
}
}
}