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 | ..\FrameXML\UI.xsd"> |
||
3 | <Script file="MetaMapHLP.lua"/> |
||
4 | |||
5 | <Button name="HLP_ButtonTemplate" virtual="true"> |
||
6 | <Layers> |
||
7 | <Layer level="ARTWORK"> |
||
8 | <FontString name="$parentHeader" inherits="MetaMap_FontSmallTemplate" justifyH="LEFT" text=""> |
||
9 | <Anchors> |
||
10 | <Anchor point="LEFT"> |
||
11 | </Anchor> |
||
12 | </Anchors> |
||
13 | </FontString> |
||
14 | <FontString name="$parentText" inherits="MetaMap_FontSmallTemplate" justifyH="LEFT" text=""> |
||
15 | <Anchors> |
||
16 | <Anchor point="LEFT"> |
||
17 | <Offset><AbsDimension x="10" y="0"/></Offset> |
||
18 | </Anchor> |
||
19 | </Anchors> |
||
20 | </FontString> |
||
21 | </Layer> |
||
22 | <Layer level="BACKGROUND"> |
||
23 | <Texture name="$parentHighlight" file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD" setAllPoints="true" hidden="true"/> |
||
24 | </Layer> |
||
25 | </Layers> |
||
26 | <Scripts> |
||
27 | <OnLoad> |
||
28 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
29 | </OnLoad> |
||
30 | <OnClick> |
||
31 | HLPButton_OnClick(); |
||
32 | </OnClick> |
||
33 | <OnEnter> |
||
34 | if(this.item and strlen(this.item) > 0) then |
||
35 | getglobal(this:GetName().."Highlight"):SetVertexColor(0.5, 0.5, 0.5); |
||
36 | getglobal(this:GetName().."Highlight"):Show(); |
||
37 | end |
||
38 | </OnEnter> |
||
39 | <OnLeave> |
||
40 | getglobal(this:GetName().."Highlight"):Hide(); |
||
41 | </OnLeave> |
||
42 | </Scripts> |
||
43 | </Button> |
||
44 | |||
45 | <Frame name="HLP_DisplayFrame" parent="MetaMap_HelpDialog"> |
||
46 | <Anchors> |
||
47 | <Anchor point="TOPLEFT"/> |
||
48 | <Anchor point="BOTTOMRIGHT"/> |
||
49 | </Anchors> |
||
50 | <Frames> |
||
51 | <Frame name="HLP_MenuSelect" toplevel="true" inherits="MetaMap_DropdownTemplate" id="2"> |
||
52 | <Size> |
||
53 | <AbsDimension x="150" y="24" /> |
||
54 | </Size> |
||
55 | <Anchors> |
||
56 | <Anchor point="TOPRIGHT"> |
||
57 | <Offset><AbsDimension x="-10" y="-10"/></Offset> |
||
58 | </Anchor> |
||
59 | </Anchors> |
||
60 | </Frame> |
||
61 | <ScrollFrame name="HLP_ScrollFrame" inherits="UIPanelScrollFrameTemplate"> |
||
62 | <Anchors> |
||
63 | <Anchor point="TOPLEFT"> |
||
64 | <Offset> |
||
65 | <AbsDimension x="0" y="-30"/> |
||
66 | </Offset> |
||
67 | </Anchor> |
||
68 | <Anchor point="BOTTOMRIGHT"> |
||
69 | <Offset> |
||
70 | <AbsDimension x="-30" y="10"/> |
||
71 | </Offset> |
||
72 | </Anchor> |
||
73 | </Anchors> |
||
74 | <ScrollChild> |
||
75 | <Frame name="HLP_ScrollChild"> |
||
76 | <Size> |
||
77 | <AbsDimension x="600" y="500"/> |
||
78 | </Size> |
||
79 | <Anchors> |
||
80 | <Anchor point="TOPLEFT"/> |
||
81 | <Anchor point="TOPRIGHT"/> |
||
82 | </Anchors> |
||
83 | </Frame> |
||
84 | </ScrollChild> |
||
85 | </ScrollFrame> |
||
86 | </Frames> |
||
87 | <Scripts> |
||
88 | <OnLoad> |
||
89 | this:RegisterEvent("ADDON_LOADED"); |
||
90 | HLP_MenuSelect:SetScale(0.80); |
||
91 | </OnLoad> |
||
92 | <OnEvent> |
||
93 | HLP_OnEvent(event, arg1); |
||
94 | </OnEvent> |
||
95 | </Scripts> |
||
96 | </Frame> |
||
97 | </Ui> |