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="MetaMapFWM.lua"/> |
||
4 | |||
5 | <Frame name="MetaFWM_MainFrame" parent="UIParent"> |
||
6 | <Size><AbsDimension x="10" y="10"/></Size> |
||
7 | <Anchors> |
||
8 | <Anchor point="TOPRIGHT" relativePoint="BOTTOMLEFT" relativeTo="UIParent"/> |
||
9 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
10 | </Anchors> |
||
11 | <Scripts> |
||
12 | <OnLoad> |
||
13 | this:RegisterEvent("ADDON_LOADED"); |
||
14 | </OnLoad> |
||
15 | <OnEvent> |
||
16 | MetaFWM_OnEvent(event); |
||
17 | </OnEvent> |
||
18 | </Scripts> |
||
19 | </Frame> |
||
20 | |||
21 | <Frame name="MetaMapFWM_Dialog" parent="MetaFWM_HoldingFrame"> |
||
22 | <Size><AbsDimension x="480" y="280" /></Size> |
||
23 | <Anchors> |
||
24 | <Anchor point="CENTER"/> |
||
25 | </Anchors> |
||
26 | <Frames> |
||
27 | <CheckButton name="MetaMapFWM_persistCheckButton" inherits="MetaMap_CheckButtonTemplate"> |
||
28 | <Size><AbsDimension x="20" y="20"/></Size> |
||
29 | <Anchors> |
||
30 | <Anchor point="TOPLEFT"> |
||
31 | <Offset><AbsDimension x="40" y="-45" /></Offset> |
||
32 | </Anchor> |
||
33 | </Anchors> |
||
34 | <Scripts> |
||
35 | <OnLoad> |
||
36 | getglobal(this:GetName().."Text"):SetText(METAMAPFWM_RETAIN); |
||
37 | </OnLoad> |
||
38 | <OnClick> |
||
39 | MetaMapOptions.FWMretain = not MetaMapOptions.FWMretain; |
||
40 | </OnClick> |
||
41 | </Scripts> |
||
42 | </CheckButton> |
||
43 | <CheckButton name="MetaMapFWM_colorCheckButton" inherits="MetaMap_CheckButtonTemplate"> |
||
44 | <Size><AbsDimension x="20" y="20"/></Size> |
||
45 | <Anchors> |
||
46 | <Anchor point="TOPLEFT"> |
||
47 | <Offset><AbsDimension x="40" y="-75" /></Offset> |
||
48 | </Anchor> |
||
49 | </Anchors> |
||
50 | <Scripts> |
||
51 | <OnLoad> |
||
52 | getglobal(this:GetName().."Text"):SetText(METAMAPFWM_USECOLOR); |
||
53 | </OnLoad> |
||
54 | <OnClick> |
||
55 | FWM_Options.FWMcolor = not FWM_Options.FWMcolor; |
||
56 | WorldMapFrame_Update(); |
||
57 | </OnClick> |
||
58 | </Scripts> |
||
59 | </CheckButton> |
||
60 | <Button name="MetaMapFWM_SetcolorButton" inherits="UIPanelButtonTemplate2" text="METAMAPFWM_SETCOLOR"> |
||
61 | <Size><AbsDimension x="100" y="24"/></Size> |
||
62 | <Anchors> |
||
63 | <Anchor point="TOPLEFT"> |
||
64 | <Offset><AbsDimension x="230" y="-75" /></Offset> |
||
65 | </Anchor> |
||
66 | </Anchors> |
||
67 | <Scripts> |
||
68 | <OnClick> |
||
69 | MetaMapFWM_Initcolor(); |
||
70 | </OnClick> |
||
71 | </Scripts> |
||
72 | </Button> |
||
73 | </Frames> |
||
74 | <Scripts> |
||
75 | <OnLoad> |
||
76 | this:SetAllPoints("MetaFWM_HoldingFrame"); |
||
77 | </OnLoad> |
||
78 | <OnShow> |
||
79 | MetaFWM_HoldingFrameInfo:Hide(); |
||
80 | MetaFWM_HoldingFrameLoad:Hide(); |
||
81 | </OnShow> |
||
82 | </Scripts> |
||
83 | </Frame> |
||
84 | </Ui> |