forked from civfanatics/Civ6-UIFiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PartialScreenHooks.xml
47 lines (40 loc) · 2.87 KB
/
PartialScreenHooks.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
<?xml version="1.0" encoding="utf-8"?>
<Context>
<Container ID="RootContainer" Offset="-65,-5" Anchor="R,T" Size="auto,auto">
<Grid Anchor="R,T" ID="LaunchBackingDropShadow" Offset="40,25" Texture="Controls_Glow2" Size="165,70" SliceCorner="25,25" SliceTextureSize="50,50" Color="0,0,0,200">
<Container ID="MouseConsumer" Offset="-8,8" Size="parent,parent-28" ConsumeMouse="1" />
</Grid>
<Image Anchor="R,T" ID="LaunchBackingTile" Offset ="65,34" Texture="LaunchBar_Backing_Tile" Size="140,41" StretchMode="Tile" />
<Grid Anchor="R,T" ID="LaunchBacking" Texture="LaunchBar_BackingRight_Backing" Size="285, 77" SliceCorner="114,32" SliceSize="1,1" SliceTextureSize="226,77"/>
<Stack ID="ButtonStack" ConsumeMouseOver="1" Anchor="R,T" StackGrowth="Right" Offset="65,38" Padding="-3">
<!--WorldRankings-->
<Stack ID="WorldRankingsStack" StackGrowth="Right" StackPadding="-2">
<Image Anchor="L,C" Size="7,7" Texture="LaunchBar_TrackPip.dds" Color="255,255,255,200" Offset="0,-2"/>
<Button ID="WorldRankingsButton" Anchor="L,C" Size="40,40" Texture="LaunchBar_Hook_ButtonSmall.dds" Style="ButtonNormalText" ToolTip="LOC_PARTIALSCREEN_WORLDRANKINGS_TOOLTIP">
<Image Texture="LaunchBar_Hook_WorldRankings" Size="26,26" Anchor="C,C" Offset="0,-1"/>
<Tutorial ID="TutOpenWorldRankings" Style="TutorialContainer" Anchor="R,T" Offset="175,10" TriggerBy="TutorialOpenWorldRankings" >
<Grid Style="TutorialCalloutGrid">
<Label Style="TutorialHeaderText" String="LOC_META_119a_HEAD" />
<Label Style="TutorialBodyText" String="LOC_META_119a_BODY" />
</Grid>
<SlideAnim Start="0,0" EndOffset="30,0" Cycle="Bounce" Function="OutQuad" >
<Image Texture="Tutorial_ArrowH" Offset="90,-11" Size="58,44" />
</SlideAnim>
</Tutorial>
</Button>
</Stack>
<!--Other screen hooks are added dynamically since they don't need the custom tutorial code-->
</Stack>
</Container>
<!-- ================================================================== -->
<!-- Instances -->
<!-- ================================================================== -->
<Instance Name="ScreenHookInstance">
<Stack ID="ScreenHookStack" StackGrowth="Right" StackPadding="-2">
<Image Anchor="L,C" Size="7,7" Texture="LaunchBar_TrackPip.dds" Color="255,255,255,200" Offset="0,-2"/>
<Button ID="ScreenHookButton" Anchor="L,C" Size="40,40" Texture="LaunchBar_Hook_ButtonSmall.dds" Style="ButtonNormalText" ToolTip="LOC_PARTIALSCREEN_CITYSTATES_TOOLTIP">
<Image ID="ScreenHookImage" Texture="LaunchBar_Hook_CityStates" Size="26,26" Anchor="C,C" Offset="0,-1"/>
</Button>
</Stack>
</Instance>
</Context>