vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ |
2 | C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd"> |
||
3 | <CheckButton name="AutoBar_ButtonTemplate" inherits="ActionButtonTemplate" virtual="true"> |
||
4 | <Size> |
||
5 | <AbsDimension x="36" y="36"/> |
||
6 | </Size> |
||
7 | <Scripts> |
||
8 | <OnLoad> |
||
9 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
10 | </OnLoad> |
||
11 | <OnClick> |
||
12 | AutoBar_Button_OnClick(arg1, "CLICK"); |
||
13 | </OnClick> |
||
14 | <OnMouseUp> |
||
15 | AutoBar_Button_OnClick(arg1, "UP"); |
||
16 | </OnMouseUp> |
||
17 | <OnMouseDown> |
||
18 | AutoBar_Button_OnClick(arg1, "DOWN"); |
||
19 | </OnMouseDown> |
||
20 | <OnEnter> |
||
21 | AutoBar_Button_SetTooltip(); |
||
22 | </OnEnter> |
||
23 | <OnLeave> |
||
24 | this:GetParent().updateTooltip = nil; |
||
25 | GameTooltip:Hide(); |
||
26 | </OnLeave> |
||
27 | </Scripts> |
||
28 | </CheckButton> |
||
29 | <Frame name="AutoBar" parent="UIParent"> |
||
30 | <Size> |
||
31 | <AbsDimension x="1" y="1"/> |
||
32 | </Size> |
||
33 | <Scripts> |
||
34 | <OnLoad> |
||
35 | AutoBar_OnLoad(); |
||
36 | </OnLoad> |
||
37 | <OnEvent> |
||
38 | AutoBar_OnEvent(event); |
||
39 | </OnEvent> |
||
40 | <OnUpdate> |
||
41 | if (this.updateTooltip and this.tooltipButton and GameTooltip:IsOwned(this)) then |
||
42 | AutoBar_Button_SetTooltip(this.tooltipButton, arg1); |
||
43 | else |
||
44 | this.updateTooltip = nil; |
||
45 | end |
||
46 | </OnUpdate> |
||
47 | </Scripts> |
||
48 | <Frames> |
||
49 | <CheckButton name="$parent_Button1" inherits="AutoBar_ButtonTemplate"/> |
||
50 | <CheckButton name="$parent_Button2" inherits="AutoBar_ButtonTemplate"/> |
||
51 | <CheckButton name="$parent_Button3" inherits="AutoBar_ButtonTemplate"/> |
||
52 | <CheckButton name="$parent_Button4" inherits="AutoBar_ButtonTemplate"/> |
||
53 | <CheckButton name="$parent_Button5" inherits="AutoBar_ButtonTemplate"/> |
||
54 | <CheckButton name="$parent_Button6" inherits="AutoBar_ButtonTemplate"/> |
||
55 | <CheckButton name="$parent_Button7" inherits="AutoBar_ButtonTemplate"/> |
||
56 | <CheckButton name="$parent_Button8" inherits="AutoBar_ButtonTemplate"/> |
||
57 | <CheckButton name="$parent_Button9" inherits="AutoBar_ButtonTemplate"/> |
||
58 | <CheckButton name="$parent_Button10" inherits="AutoBar_ButtonTemplate"/> |
||
59 | <CheckButton name="$parent_Button11" inherits="AutoBar_ButtonTemplate"/> |
||
60 | <CheckButton name="$parent_Button12" inherits="AutoBar_ButtonTemplate"/> |
||
61 | </Frames> |
||
62 | </Frame> |
||
63 | </Ui> |