-
Notifications
You must be signed in to change notification settings - Fork 0
/
confirm.xml
49 lines (49 loc) · 2.32 KB
/
confirm.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
<GuiXml>
<Controls>
<TopLevelControl name="ItemTrig_GenericConfirm"
mouseEnabled="true"
movable="true"
clampedToScreen="true"
hidden="true"
inherits="ItemTrig_UITemplate_WWindow"
>
<Anchor point="CENTER" />
<!-- <Dimensions x="500" y="150" /> -->
<Dimensions x="625" y="300" />
<OnInitialized> ItemTrig:setupWindow("genericConfirm", self) </OnInitialized>
<Controls>
<Control name="$(parent)Buttons" resizeToFitDescendents="true">
<Anchor point="BOTTOMLEFT" />
<Anchor point="BOTTOMRIGHT" />
<Controls>
<Control name="$(parent)Positioner">
<Anchor point="BOTTOM" />
</Control>
<Button inherits="ItemTrig_UITemplate_ThemedButton" name="$(parent)N" text="No">
<Anchor point="BOTTOMRIGHT" relativeTo="$(parent)Positioner" relativePoint="BOTTOMLEFT" offsetX="-8" />
<OnClicked> ItemTrig.windows.genericConfirm:no() </OnClicked>
</Button>
<Button inherits="ItemTrig_UITemplate_ThemedButton" name="$(parent)Y" text="Yes">
<Anchor point="BOTTOMLEFT" relativeTo="$(parent)Positioner" relativePoint="BOTTOMRIGHT" offsetX="8" />
<OnClicked> ItemTrig.windows.genericConfirm:yes() </OnClicked>
</Button>
</Controls>
</Control>
<Control name="$(parent)Body" resizeToFitDescendents="true">
<Anchor point="TOPLEFT" relativeTo="$(parent)TitleBar" relativePoint="BOTTOMLEFT" />
<Anchor point="BOTTOMRIGHT" relativeTo="$(parent)Buttons" relativePoint="TOPRIGHT" />
<Controls>
<Label name="$(parent)Text"
horizontalAlignment="CENTER"
verticalAlignment="CENTER"
inherits="ItemTrig_UITemplate_ThemedBareText"
>
<Anchor point="TOPLEFT" offsetY="15" />
<Anchor point="TOPRIGHT" offsetY="15" />
</Label>
</Controls>
</Control>
</Controls>
</TopLevelControl>
</Controls>
</GuiXml>