-
Notifications
You must be signed in to change notification settings - Fork 226
/
tradetab.xml
96 lines (77 loc) · 3.92 KB
/
tradetab.xml
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?xml version="1.0"?>
<Container size="264,550" name="buy_sell_goods">
<TabBG amount="8" />
<Container position="0,70" size="250,500">
<HBox position="22,7" min_size="170,20" size="230,20">
<Spacer min_size="0,0" max_size="50,0" />
<Label name="headline" text="Trade" />
</HBox>
<hr position="20,30" />
<!-- Inventory of ship -->
<Container size="230,550" position="20,40">
<Icon image="content/gui/images/tabwidget/icon_trade_ship.png" position="160,0" />
<HBox position="0,3" min_size="170,20" size="230,20">
<Label name="ship_label" text="Ship:" />
<Spacer min_size="0,0" max_size="50,0" />
<Label name="ship_name" />
</HBox>
<Icon image="content/gui/images/background/inv_bg.png" position=" 0,35" name="slot" />
<Icon image="content/gui/images/background/inv_bg.png" position=" 55,35" name="slot" />
<Icon image="content/gui/images/background/inv_bg.png" position="110,35" name="slot" />
<Icon image="content/gui/images/background/inv_bg.png" position="165,35" name="slot" />
<Inventory name="inventory_ship" size="300,150" position="1,36" uncached="1" />
</Container>
<hr position="20,140" />
<!-- Exchange selectors -->
<Container size="260,550" position="20,145">
<Label text="Exchange:" name="exchange_label" position="0,3" />
<ImageButton name="size_1" size="32,32" position="5, 25"
path="icons/ship/smallbutton" />
<Label position="13, 58" text="1t" name="lbl_1" comment="noi18n" />
<ImageButton name="size_2" size="32,32" position="47, 25"
path="icons/ship/smallbutton" />
<Label position="55, 58" text="5t" name="lbl_5" comment="noi18n" />
<ImageButton name="size_3" size="32,32" position="90, 25"
path="icons/ship/smallbutton" />
<Label position="95, 58" text="10t" name="lbl_10" comment="noi18n" />
<ImageButton name="size_4" size="32,32" position="132, 25"
path="icons/ship/smallbutton" />
<Label position="137, 58" text="20t" name="lbl_20" comment="noi18n" />
<ImageButton name="size_5" size="32,32" position="174, 25"
path="icons/ship/smallbutton" />
<Label position="179, 58" text="50t" name="lbl_50" comment="noi18n" />
</Container>
<hr position="20,220" />
<Container size="520,30" position="20,230">
<Icon image="content/gui/images/tabwidget/icon_trade_settlement.png" position="160,0" />
<HBox position="0,3" min_size="170,20" size="230,20">
<Label name="trade_with_label" text="Trade partner:" />
<Spacer min_size="0,0" max_size="50,0" />
<Label position="100,3" name="partners" />
</HBox>
</Container>
<Container name="international" position="20,260" size="250,210"> <!-- Only one of international / domestic is displayed -->
<!-- Resources for sale in the settlement -->
<Container size="520,70">
<Label name="selling_label" text="Selling" />
<Icon image="content/gui/images/background/inv_bg.png" position=" 0,20" name="slot" />
<Icon image="content/gui/images/background/inv_bg.png" position=" 55,20" name="slot" />
<Icon image="content/gui/images/background/inv_bg.png" position="110,20" name="slot" />
<BuySellInventory name="selling_inventory" size="300,70" position="1,21" uncached="1" />
</Container>
<!-- Resources being bought in the settlement -->
<Container size="520,70" position="0,70">
<Label name="buying_label" text="Buying" />
<Icon image="content/gui/images/background/inv_bg.png" position=" 0,20" name="slot" />
<Icon image="content/gui/images/background/inv_bg.png" position=" 55,20" name="slot" />
<Icon image="content/gui/images/background/inv_bg.png" position="110,20" name="slot" />
<BuySellInventory name="buying_inventory" size="300,70" position="1,21" uncached="1" />
</Container>
</Container>
<Container name="domestic" position="20,260" size="250,210"> <!-- Only one of international / domestic is displayed -->
<ScrollArea name="inventory_area_partner" max_size="216,150" min_size="216,150">
<Inventory name="inventory_partner" size="0,200" uncached="1" display_legend="0" />
</ScrollArea>
</Container>
</Container>
</Container>