PageRenderTime 82ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/Tukui/modules/skins/itemtext.lua

http://github.com/Asphyxia/Tukui
Lua | 14 lines | 12 code | 2 blank | 0 comment | 0 complexity | 00ae296086be6684656b7935c8a3a18e MD5 | raw file
 1local T, C, L = unpack(select(2, ...))
 2
 3local function LoadSkin()
 4	ItemTextFrame:StripTextures(true)
 5	ItemTextScrollFrame:StripTextures()
 6	ItemTextFrame:SetTemplate("Transparent")
 7	T.SkinCloseButton(ItemTextCloseButton)
 8	T.SkinNextPrevButton(ItemTextPrevPageButton)
 9	T.SkinNextPrevButton(ItemTextNextPageButton)
10	ItemTextPageText:SetTextColor(1, 1, 1)
11	ItemTextPageText.SetTextColor = T.dummy
12end
13
14tinsert(T.SkinFuncs["Tukui"], LoadSkin)