You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
914 B
29 lines
914 B
|
|
local Details = _G.Details
|
|
local Loc = _G.LibStub("AceLocale-3.0"):GetLocale( "Details" )
|
|
local SharedMedia = _G.LibStub:GetLibrary("LibSharedMedia-3.0")
|
|
local UIParent = UIParent
|
|
local addonName, Details222 = ...
|
|
local detailsFramework = DetailsFramework
|
|
local _
|
|
|
|
local mPlus = Details222.MythicPlusBreakdown
|
|
|
|
function mPlus.ShowSummary()
|
|
if (not mPlus.MainFrame) then
|
|
mPlus.CreateMainFrame()
|
|
end
|
|
end
|
|
|
|
function mPlus.CreateMainFrame()
|
|
local mPlusFrame = CreateFrame("frame", "DetailsMythicPlusBreakdownFrame", UIParent, "BackdropTemplate")
|
|
detailsFramework:AddRoundedCornersToFrame(mPlusFrame, Details.PlayerBreakdown.RoundedCornerPreset)
|
|
mPlus.MainFrame = mPlusFrame
|
|
|
|
PixelUtil.SetPoint(mPlusFrame, "center", UIParent, "center", 0, 0)
|
|
PixelUtil.SetSize(mPlusFrame, Details222.BreakdownWindow.width, Details222.BreakdownWindow.height)
|
|
|
|
|
|
end
|
|
|
|
|
|
|