forked from Azurency/Civ6-UIFiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
GreatWorksOverview.xml
81 lines (67 loc) · 5.1 KB
/
GreatWorksOverview.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
<?xml version="1.0" encoding="utf-8"?>
<Context xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="..\..\..\..\..\CivTech\Libs\ForgeUI\ForgeUI_Assets\Controls.xsd">
<Container Style="FullScreenVignetteConsumer" ConsumeAllMouse="0" ConsumeMouseButton="1" ConsumeMouseWheel="1" ConsumeMouseOver="1"/>
<Container Anchor="C,C" Size="1024,768">
<Image ID="ModalBG" Size="1024,768" Texture="Religion_BG" StretchMode="Tile" ConsumeMouseButton="1" ConsumeMouseWheel="1"/>
<Image Size="parent,40" Texture="Controls_SubHeader2" />
<Grid Offset="-5,-5" Size="parent+10,parent+10" Style="WindowFrameAlpha"/>
<Label ID="ModalScreenTitle" Anchor="C,T" Offset="0,5" Style="FontFlair28" FontStyle="glow" Color="206,218,225,255" EffectColor="74,108,37,191" />
<Button ID="ModalScreenClose" Anchor="R,T" Style="CloseButtonLarge" Offset="-8,-5" />
<GridButton ID="ViewGallery" Offset="17,51" Size="250,26" Style="ButtonControlTan" String="LOC_GREAT_WORKS_VIEW_GALLERY"/>
<Label ID="ProvidingLabel" Anchor="R,T" Offset="10,57" Style="GreatWorksSubHeader" String="LOC_GREAT_WORKS_PROVIDING"/>
<Stack ID="TotalResources" Anchor="R,T" Offset="10,57" Padding="10" StackGrowth="right"/>
<Grid Offset="7,80" Size="1008,54" Texture="GreatWorks_Header" SliceCorner="18,18" SliceSize="18,18" SliceTextureSize="60,54">
<Container ID="PlacingContainer" Size="parent,parent">
<Stack Anchor="L,C" Offset="27,0" StackGrowth="Right" StackPadding="5">
<Label Anchor="L,C" Style="GreatWorksHeader" String="LOC_GREAT_WORKS_PLACING"/>
<Image ID="PlacingIcon" Anchor="L,C" Texture="GreatWorks64" Size="64,64"/>
<Label ID="PlacingName" Anchor="L,C" Style="GreatWorksSubHeader"/>
</Stack>
<GridButton ID="ViewGreatWork" Anchor="R,T" Offset="20,8" Texture="Controls_ButtonControl_Tan" SizeToText="20,20" SliceCorner="7,7" SliceSize="9,9" SliceTextureSize="24,24" StateOffsetIncrement="0,24" String="LOC_GREAT_WORKS_VIEW_GREAT_WORK"/>
</Container>
<Container ID="HeaderStatsContainer">
<Label Offset="27,18" Style="GreatWorksHeader" String="LOC_GREAT_WORKS_ORGANIZE_GREAT_WORKS"/>
<Line Start="750,8" End="750,45" Width="2" Color="0,0,0,122"/>
<Label Offset="-950,11" Align="right" Anchor="R,T" Style="GreatWorksSubHeader" String="LOC_GREAT_WORKS_SCREEN_TITLE"/>
<Label Offset="-950,31" Align="right" Anchor="R,T" Style="GreatWorksSubHeader" String="LOC_GREAT_WORKS_DISPLAY_SPACES"/>
<Label ID="NumGreatWorks" Offset="960,7" Align="left" Style="GreatWorksSubHeader" String="0"/>
<Label ID="NumDisplaySpaces" Offset="960,27" Align="left" Style="GreatWorksSubHeader" String="0"/>
</Container>
</Grid>
<ScrollPanel ID="GreatWorksScrollPanel" Size="1007,620" Offset="7,140" Vertical="false" AutoScrollBar="1">
<Stack ID="GreatWorksStack" Padding="5" StackGrowth="down" WrapWidth="620" WrapGrowth="right"/>
<ScrollBar ID="GreatWorksScrollbar" Offset="0,-2" Anchor="C,B" Style="ScrollHorizontalBar"/>
</ScrollPanel>
</Container>
<!-- ================================================================== -->
<!-- Instances -->
<!-- ================================================================== -->
<Instance Name="GreatWorkSlot">
<Container ID="TopControl" Size="248,150">
<Button ID="DefaultBG" Texture="GreatWorks_MuseumSlot" Size="248,150" NoStateChange="true"/>
<Button ID="HighlightedBG" Offset="2,2" Texture="GreatWorks_MuseumHighlight" Size="244,146" NoStateChange="true" Hidden="1"/>
<Label ID="BuildingName" Offset="0,10" Anchor="C,T" Align="center" Style="GreatWorksBuildingName"/>
<Label ID="CityName" Offset="0,27" Anchor="C,T" Align="center" Style="GreatWorksCityName"/>
<Stack ID="GreatWorks" Size="248,150" Offset="0,2" Anchor="C,C" Padding="2" StackGrowth="right"/>
<Label ID="ThemingLabel" Offset="0,111" Anchor="C,T" Align="center" Style="GreatWorksBuildingTheme"/>
<Stack ID="ThemeBonuses" Offset="0,131" Anchor="C,T" Padding="5" StackGrowth="right"/>
<Image ID="DisabledBG" Offset="-5,-5" Texture="GreatWorks_MuseumLowLight" Size="258,160" Hidden="1"/>
</Container>
</Instance>
<Instance Name="GreatWork">
<Container ID="TopControl" Size="38,64" >
<Button ID="EmptySlot" Offset="0,2" Texture="GreatWorks_EmptySlot" Size="38,60" NoStateChange="true"/>
<Button ID="EmptySlotHighlight" Offset="-2,0" Texture="GreatWorks_EmptySlotHighlight" Size="42,64" NoStateChange="true" Hidden="1"/>
<Image ID="SlotTypeIcon" Anchor="C,C" Texture="GreatWorksSlotTypes40" Size="40,40"/>
<Drag ID="GreatWorkDraggable" Size="parent,parent" Buttons="L" SnapBackSpeed="0" DragThreshold="8">
<Image ID="GreatWorkIcon" Offset="-13,-2" Texture="GreatWorks64" Size="64,64"/>
</Drag>
</Container>
</Instance>
<Instance Name="Resource">
<Label ID="Resource" Anchor="C,C" Style="GreatWorksBuildingTheme"/>
</Instance>
<Instance Name="AgregateResource">
<Label ID="Resource" Anchor="C,C" Style="GreatWorksAggregateResources"/>
</Instance>
</Context>