PageRenderTime 120ms CodeModel.GetById 116ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Tukui/modules/blizzard/ghostframe.lua

http://github.com/Asphyxia/Tukui
Lua | 20 lines | 19 code | 0 blank | 1 comment | 0 complexity | 71d3c7291aa2e51bc7980a65aa504747 MD5 | raw file
 1local T, C, L = unpack(select(2, ...)) -- Import: T - functions, constants, variables; C - config; L - locales
 2-- GhostFrame at top
 3GhostFrame:SetTemplate("Default")
 4GhostFrame:SetBackdropColor(0,0,0,0)
 5GhostFrame:SetBackdropBorderColor(0,0,0,0)
 6GhostFrame.SetBackdropColor = T.dummy
 7GhostFrame.SetBackdropBorderColor = T.dummy
 8GhostFrameContentsFrame:SetTemplate("Default")
 9GhostFrameContentsFrame:CreateShadow()
10GhostFrameContentsFrameIcon:SetTexture(nil)
11GhostFrameContentsFrame:Width(148)
12GhostFrameContentsFrame:ClearAllPoints()
13GhostFrameContentsFrame:SetPoint("CENTER")
14GhostFrameContentsFrame.SetPoint = T.dummy
15GhostFrame:SetFrameStrata("HIGH")
16GhostFrame:SetFrameLevel(10)
17GhostFrame:ClearAllPoints()
18GhostFrame:Point("TOP", UIParent, 0, -75)
19GhostFrameContentsFrameText:ClearAllPoints()
20GhostFrameContentsFrameText:Point("BOTTOM", 0, 5)