-
Notifications
You must be signed in to change notification settings - Fork 2
/
mappinpopup.xml
58 lines (50 loc) · 3.37 KB
/
mappinpopup.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
<?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"
ColorSet="Beige_Black" FontStyle="Shadow">
<Box Color="0,0,0,150" Size="parent,parent" ConsumeMouse="1">
<AlphaAnim ID="PopupAlphaIn" AlphaBegin="0" AlphaEnd="1" Speed="3" Function="Root" Cycle="Once" Size="parent,parent">
<SlideAnim ID="PopupSlideIn" Start="0,-20" End="0,0" Speed="3" Function="Root" Cycle="Once" Size="parent,parent">
<Grid ID="WindowContainer" Size="auto,auto" Anchor="C,C" Offset="0,0" Style="DropShadow2" Color="255,255,255,200" AutoSizePadding="25,25" ConsumeMouse="1">
<Grid ID="Window" Size="910,auto" Anchor="C,C" Offset="0,0" Style="WindowFrameTitle" AutoSizePadding="0,13">
<Stack ID="WindowStack" StackGrowth="Down" Padding="10" Anchor="C,T">
<Container Size="330,42" Anchor="C,T">
<Label ID="TitleText" Style="WindowHeader" Anchor="C,C" String="{LOC_MAP_PIN_POPUP_TITLE:upper}" />
</Container>
<Container Size="auto,auto" Anchor="C,T">
<Stack ID="WindowContentsStack" Anchor="L,T" StackGrowth="Bottom" Padding="12">
<!-- Name -->
<Grid ID="PinFrame" Style="EditTextButton" Anchor="C,T" Size="310,26">
<EditBox ID="PinName" Style="EditTextArea" Size="parent-34,22" Anchor="R,C" Offset="6,0" MaxLength="20" EditMode="0" KeepFocus="1"/>
</Grid>
<!-- Icons -->
<Stack ID="IconOptionStack" Anchor="C,T" StackGrowth="Down" Padding="4"/>
<!-- Visible to ... -->
<Container ID="VisibilityContainer" Anchor="C,T" Size="222,26" Offset="0,0" Hidden="1">
<PullDown ID="VisibilityPull" Anchor="C,T" Size="166,26" Offset="0,-30" Style="MainPullDown"/>
</Container>
<!-- Buttons -->
<Stack ID="OptionsStack" StackGrowth="Right" Padding="8" Anchor="C,T" WrapWidth="480">
<GridButton ID="OkButton" Anchor="L,T" Size="150,41" Style="MainButton" FontStyle="Shadow" String="LOC_OK_BUTTON" />
<GridButton ID="SendToChatButton" Anchor="L,T" Size="150,41" Style="MainButton" FontStyle="Shadow" String="LOC_MAP_PIN_SEND_TO_CHAT" ToolTip="LOC_MAP_PIN_SEND_TO_CHAT_TT" Hidden="1"/>
<GridButton ID="DeleteButton" Anchor="L,T" Size="150,41" Style="ButtonRed" FontStyle="Shadow" String="LOC_DELETE_BUTTON" />
</Stack>
</Stack>
</Container>
</Stack>
</Grid>
</Grid>
</SlideAnim>
</AlphaAnim>
</Box>
<Instance Name="IconOptionRowInstance">
<Stack ID="IconOptionRowStack" Anchor="C,T" StackGrowth="Right" Padding="4" WrapWidth="40" WrapGrowth="Down"/>
</Instance>
<Instance Name="IconOptionInstance">
<Container ID="IconOptionRoot" Anchor="L,T" Size="40,36">
<GridButton ID="IconOptionButton" Anchor="C,C" Size="parent,parent" Style="ButtonControl">
<Image ID="Icon" Texture="MapPins24" Size="32,32" Anchor="C,C" Color="255,255,255"/>
</GridButton>
</Container>
</Instance>
</Context>
<!-- vim: set sw=2 ts=2 et: -->