-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHeroicStrikeQueueNotifyConfigFrame.lua
28 lines (22 loc) · 1.15 KB
/
HeroicStrikeQueueNotifyConfigFrame.lua
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
function HeroicStrikeQueueNotifyConfigFrame_Close()
config_var.display_icon = HeroicStrikeQueueNotifyConfigFrame_DisplayIcon:GetChecked();
config_var.play_sound = HeroicStrikeQueueNotifyConfigFrame_PlaySound:GetChecked();
config_var.OHtime = HeroicStrikeQueueNotifyConfigFrame_OHtime:GetValue();
config_var.leeway = HeroicStrikeQueueNotifyConfigFrame_leeway:GetValue();
end
function HeroicStrikeQueueNotifyConfigFrame_CancelOrLoad()
HeroicStrikeQueueNotifyConfigFrame_DisplayIcon:SetChecked(config_var.display_icon);
HeroicStrikeQueueNotifyConfigFrame_PlaySound:SetChecked(config_var.play_sound);
HeroicStrikeQueueNotifyConfigFrame_OHtime:SetValue(config_var.OHtime);
HeroicStrikeQueueNotifyConfigFrame_leeway:SetValue(config_var.leeway);
end
function HeroicStrikeQueueNotifyConfigFrame_Load(panel)
panel.name = "HeroicStrikeQueueNotify";
panel.okay = function (self) HeroicStrikeQueueNotifyConfigFrame_Close(); end;
panel.cancel = function (self) HeroicStrikeQueueNotifyConfigFrame_CancelOrLoad(); end;
InterfaceOptions_AddCategory(panel);
end
function HeroicStrikeQueueNotifyConfigFrame_Show()
end
function HeroicStrikeQueueNotifyConfigFrame_Hide()
end