-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHeroicStrikeQueueNotifyConfigFrame.xml
95 lines (88 loc) · 2.86 KB
/
HeroicStrikeQueueNotifyConfigFrame.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<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/..\FrameXML\UI.xsd">
<Script file="HeroicStrikeQueueNotifyConfigFrame.lua"/>
<Frame name="HeroicStrikeQueueNotifyConfigFrame">
<Scripts>
<OnLoad> HeroicStrikeQueueNotifyConfigFrame_Load(self); </OnLoad>
<OnShow> HeroicStrikeQueueNotifyConfigFrame_Show(); </OnShow>
<OnHide> HeroicStrikeQueueNotifyConfigFrame_Hide(); </OnHide>
</Scripts>
<Frames>
<CheckButton name="$parent_DisplayIcon" inherits="UICheckButtonTemplate">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_Head">
<Offset>
<AbsDimension x="25" y="-40"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
HeroicStrikeQueueNotifyConfigFrame_DisplayIcon:SetText("Display the icon");
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parent_PlaySound" inherits="UICheckButtonTemplate">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="$parent_DisplayIcon">
<Offset>
<AbsDimension x="0" y="-40"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
HeroicStrikeQueueNotifyConfigFrame_PlaySound:SetText("Play a sound");
</OnLoad>
</Scripts>
</CheckButton>
<Slider name="$parent_OHtime" inherits="OptionsSliderTemplate">
<Size>
<AbsDimension x="220" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_Playsound">
<Offset><AbsDimension x="0" y="-40"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
local slidername = "HeroicStrikeQueueNotifyConfigFrame_OHtime";
getglobal(slidername.."Text"):SetText("Notify time before OH swing");
getglobal(slidername.."High"):SetText("0.1");
getglobal(slidername.."Low"):SetText("4");
HeroicStrikeQueueNotifyConfigFrame_OHtime:SetMinMaxValues(0.1, 4);
HeroicStrikeQueueNotifyConfigFrame_OHtime:SetValueStep(0.1);
</OnLoad>
</Scripts>
</Slider>
<Slider name="$parent_leeway" inherits="OptionsSliderTemplate">
<Size>
<AbsDimension x="220" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_OHtime">
<Offset><AbsDimension x="0" y="-40"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
local slidername = "HeroicStrikeQueueNotifyConfigFrame_leeway";
getglobal(slidername.."Text"):SetText("Leeway time. No notification X amount of time before a MH swing");
getglobal(slidername.."High"):SetText("0.1");
getglobal(slidername.."Low"):SetText("4");
HeroicStrikeQueueNotifyConfigFrame_leeway:SetMinMaxValues(0.1, 4);
HeroicStrikeQueueNotifyConfigFrame_leeway:SetValueStep(0.1);
</OnLoad>
</Scripts>
</Slider>
</Frames>
</Frame>
</Ui>