- delete window warning for how to fully delete a window.

- tagging v4.4d as release.
This commit is contained in:
Tercio
2016-04-04 15:17:08 -03:00
parent 836b4f61d1
commit 6d1a856fd4
3 changed files with 23 additions and 7 deletions
+17
View File
@@ -7782,6 +7782,23 @@ end
_detalhes:Msg (Loc ["STRING_CLOSEALL"])
end
--> tutorial, how to fully delete a window
--_detalhes:SetTutorialCVar ("FULL_DELETE_WINDOW", false)
if (not _detalhes:GetTutorialCVar ("FULL_DELETE_WINDOW")) then
_detalhes:SetTutorialCVar ("FULL_DELETE_WINDOW", true)
local panel = gump:Create1PxPanel (UIParent, 600, 100, "|cFFFFFFFFDetails!, the window hit the ground, bang bang...|r", nil, nil, nil, nil)
panel:SetBackdropColor (0, 0, 0, 0.9)
panel:SetPoint ("center", UIParent, "center")
local s = panel:CreateFontString (nil, "overlay", "GameFontNormal")
s:SetPoint ("center", panel, "center")
s:SetText (Loc ["STRING_TUTORIAL_FULLY_DELETE_WINDOW"])
panel:Show()
end
GameCooltip:Hide()
end
_detalhes.close_instancia_func = close_button_onclick