local frame = self:GetParent():GetParent().HiddenFrame;
UIFrameFadeIn(frame, 0.12, 0, 1);
self.Label1:SetText(Narci.L["Exit Confirmation Leave"]);
self.Label2:SetText(Narci.L["Exit Confirmation Cancel"]);
self.Text:SetText(Narci.L["Exit Confirmation Texts"]);
self.Label2:SetTextColor(0.72, 0.72, 0.72);
local function OnSize(self)
local d = NarciAPI.GetPixelForWidget(self, 2);
self.Background.Border:SetPoint("TOPLEFT", self.Background.Bound, "TOPLEFT", -d, d);
self.Background.Border:SetPoint("BOTTOMRIGHT", self.Background.Bound, "BOTTOMRIGHT", d, -d);
self.Background.Divider:SetHeight(d);
end
self.OnSize = OnSize;
PlaySound(138528, "SFX");
self.OnSize(self);
self.HiddenFrame:SetAlpha(0);
self.Background.scaleIn:Play();
self.OnSize(self);
UIFrameFadeIn(self, 0.15, 0, 1);
self.Circle.Rotate:Play();
self:StopAnimating();
self.loop = 0;
self:GetParent().Bling:Play();
self:Hide();
self:StopAnimating();