- Added Shaman's Ancestral Guidance on cooldowns list.

- Added a profile selection screen when Details! are running for the first time on a character.
- Added Menu Text Size option over miscellaneous section on options panel.
This commit is contained in:
tercio
2014-08-08 17:24:44 -03:00
parent 3c3d840b65
commit 688fb10a7b
8 changed files with 166 additions and 59 deletions
+1 -27
View File
@@ -425,33 +425,7 @@ function _G._detalhes:Start()
_detalhes.schedule_chat_enter = _detalhes:ScheduleTimer ("EnterChatChannel", 30)
end
local f = CreateFrame ("frame", "DetailsSelectProfile", UIParent)
f:SetSize (250, 300)
f:SetPoint ("center", UIParent)
f:SetMovable (true)
f:SetScript ("OnMouseDown", function (self)
if (not self.moving) then
self:StartMoving()
self.moving = true
end
end)
f:SetScript ("OnMouseUp", function (self)
if (self.moving) then
self:StopMovingOrSizing()
self.moving = false
end
end)
_detalhes:OpenProfiler()
local background = f:CreateTexture (nil, "background")
background:SetAllPoints()
background:SetTexture ([[Interface\AddOns\Details\images\welcome]])
local logo = f:CreateTexture (nil, "artwork")
logo:SetTexture ([[Interface\AddOns\Details\images\logotipo]])
logo:SetSize (256*0.8, 128*0.8)
logo:SetPoint ("center", f, "center", 0, 0)
logo:SetPoint ("top", f, "top", 20, 20)
f:Hide()
end