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