flickerstreak@10
|
1 <Ui xmlns="http://www.blizzard.com/wow/ui/"
|
flickerstreak@10
|
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
flickerstreak@10
|
3 xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd">
|
flickerstreak@10
|
4
|
flickerstreak@10
|
5
|
flickerstreak@10
|
6 <Frame name="ReActionKeybindDialog" frameStrata="DIALOG" movable="true" hidden="true" enableMouse="true">
|
flickerstreak@10
|
7 <Size>
|
flickerstreak@10
|
8 <AbsDimension x="270" y="95"/>
|
flickerstreak@10
|
9 </Size>
|
flickerstreak@10
|
10 <Anchors>
|
flickerstreak@10
|
11 <Anchor point="CENTER"/>
|
flickerstreak@10
|
12 </Anchors>
|
flickerstreak@10
|
13 <TitleRegion>
|
flickerstreak@10
|
14 <Size>
|
flickerstreak@10
|
15 <AbsDimension x="200" y="30"/>
|
flickerstreak@10
|
16 </Size>
|
flickerstreak@10
|
17 <Anchors>
|
flickerstreak@10
|
18 <Anchor point="TOP">
|
flickerstreak@10
|
19 <Offset>
|
flickerstreak@10
|
20 <AbsDimension x="0" y="-10"/>
|
flickerstreak@10
|
21 </Offset>
|
flickerstreak@10
|
22 </Anchor>
|
flickerstreak@10
|
23 </Anchors>
|
flickerstreak@10
|
24 </TitleRegion>
|
flickerstreak@10
|
25 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
flickerstreak@10
|
26 <BackgroundInsets>
|
flickerstreak@10
|
27 <AbsInset left="4" right="4" top="4" bottom="4"/>
|
flickerstreak@10
|
28 </BackgroundInsets>
|
flickerstreak@10
|
29 <TileSize>
|
flickerstreak@10
|
30 <AbsValue val="16"/>
|
flickerstreak@10
|
31 </TileSize>
|
flickerstreak@10
|
32 <EdgeSize>
|
flickerstreak@10
|
33 <AbsValue val="16"/>
|
flickerstreak@10
|
34 </EdgeSize>
|
flickerstreak@10
|
35 </Backdrop>
|
flickerstreak@10
|
36 <Layers>
|
flickerstreak@10
|
37 <Layer level="ARTWORK">
|
flickerstreak@10
|
38 <FontString inherits="GameFontNormalLarge" text="REACTION_KEYBIND_TITLE" justifyH="CENTER">
|
flickerstreak@10
|
39 <Size>
|
flickerstreak@10
|
40 <AbsDimension x="200" y="30"/>
|
flickerstreak@10
|
41 </Size>
|
flickerstreak@10
|
42 <Anchors>
|
flickerstreak@10
|
43 <Anchor point="TOP">
|
flickerstreak@10
|
44 <Offset>
|
flickerstreak@10
|
45 <AbsDimension x="0" y="-10"/>
|
flickerstreak@10
|
46 </Offset>
|
flickerstreak@10
|
47 </Anchor>
|
flickerstreak@10
|
48 </Anchors>
|
flickerstreak@10
|
49 </FontString>
|
flickerstreak@10
|
50 <FontString inherits="GameFontNormalSmall" text="REACTION_KEYBIND_SUBTITLE" justifyH="CENTER">
|
flickerstreak@10
|
51 <Size>
|
flickerstreak@10
|
52 <AbsDimension x="240" y="70"/>
|
flickerstreak@10
|
53 </Size>
|
flickerstreak@10
|
54 <Anchors>
|
flickerstreak@10
|
55 <Anchor point="TOP">
|
flickerstreak@10
|
56 <Offset>
|
flickerstreak@10
|
57 <AbsDimension x="0" y="-10"/>
|
flickerstreak@10
|
58 </Offset>
|
flickerstreak@10
|
59 </Anchor>
|
flickerstreak@10
|
60 </Anchors>
|
flickerstreak@10
|
61 </FontString>
|
flickerstreak@10
|
62 </Layer>
|
flickerstreak@10
|
63 </Layers>
|
flickerstreak@10
|
64 <Frames>
|
flickerstreak@10
|
65 <Button inherits="GameMenuButtonTemplate" text="REACTION_KEYBIND_DONE">
|
flickerstreak@10
|
66 <Size>
|
flickerstreak@10
|
67 <AbsDimension x="112" y="28"/>
|
flickerstreak@10
|
68 </Size>
|
flickerstreak@10
|
69 <Anchors>
|
flickerstreak@10
|
70 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOM">
|
flickerstreak@10
|
71 <Offset>
|
flickerstreak@10
|
72 <AbsDimension x="10" y="10"/>
|
flickerstreak@10
|
73 </Offset>
|
flickerstreak@10
|
74 </Anchor>
|
flickerstreak@10
|
75 </Anchors>
|
flickerstreak@10
|
76 <Scripts>
|
flickerstreak@10
|
77 <OnClick>
|
flickerstreak@10
|
78 this:GetParent().save = true
|
flickerstreak@10
|
79 this:GetParent():Hide()
|
flickerstreak@10
|
80 </OnClick>
|
flickerstreak@10
|
81 </Scripts>
|
flickerstreak@10
|
82 </Button>
|
flickerstreak@10
|
83 <Button inherits="GameMenuButtonTemplate" text="REACTION_KEYBIND_REVERT">
|
flickerstreak@10
|
84 <Size>
|
flickerstreak@10
|
85 <AbsDimension x="112" y="28"/>
|
flickerstreak@10
|
86 </Size>
|
flickerstreak@10
|
87 <Anchors>
|
flickerstreak@10
|
88 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOM">
|
flickerstreak@10
|
89 <Offset>
|
flickerstreak@10
|
90 <AbsDimension x="-10" y="10"/>
|
flickerstreak@10
|
91 </Offset>
|
flickerstreak@10
|
92 </Anchor>
|
flickerstreak@10
|
93 </Anchors>
|
flickerstreak@10
|
94 <Scripts>
|
flickerstreak@10
|
95 <OnClick>
|
flickerstreak@10
|
96 this:GetParent():Hide()
|
flickerstreak@10
|
97 </OnClick>
|
flickerstreak@10
|
98 </Scripts>
|
flickerstreak@10
|
99 </Button>
|
flickerstreak@10
|
100 </Frames>
|
flickerstreak@10
|
101 <Scripts>
|
flickerstreak@10
|
102 <OnLoad>
|
flickerstreak@10
|
103 table.insert(UISpecialFrames, this:GetName())
|
flickerstreak@10
|
104 </OnLoad>
|
flickerstreak@10
|
105 <OnHide>
|
flickerstreak@10
|
106 ReActionAddOn:SetKeybindMode(false)
|
flickerstreak@10
|
107 if this.save then
|
flickerstreak@10
|
108 this.save = false
|
flickerstreak@10
|
109 SaveBindings(GetCurrentBindingSet())
|
flickerstreak@10
|
110 else
|
flickerstreak@10
|
111 LoadBindings(GetCurrentBindingSet())
|
flickerstreak@10
|
112 end
|
flickerstreak@10
|
113 </OnHide>
|
flickerstreak@10
|
114 </Scripts>
|
flickerstreak@10
|
115 </Frame>
|
flickerstreak@10
|
116
|
flickerstreak@10
|
117 </Ui>
|