skin: add HelpFrame

This commit is contained in:
Artur Morozov
2019-03-31 14:59:21 +02:00
committed by shagu
parent 6765321def
commit 0ef327cc6d
3 changed files with 102 additions and 17 deletions
-17
View File
@@ -84,23 +84,6 @@ pfUI:RegisterModule("skin", function ()
if a then this:SetPoint(a, b, c, d, e) end
end)
CreateBackdrop(TicketStatusFrame)
TicketStatusFrame:ClearAllPoints()
TicketStatusFrame:SetPoint("TOP", 0, -5)
UpdateMovable(TicketStatusFrame)
function TicketStatusFrame_OnEvent()
if ( event == "PLAYER_ENTERING_WORLD" ) then
GetGMTicket()
else
if ( arg1 ~= 0 ) then
this:Show()
refreshTime = GMTICKET_CHECK_INTERVAL
else
this:Hide()
end
end
end
UI_OPTIONS_FRAME:SetScript("OnShow", function()
-- default events
UIOptionsFrame_Load();