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

/Tukui/modules/skins/tutorial.lua

http://github.com/Asphyxia/Tukui
Lua | 17 lines | 15 code | 2 blank | 0 comment | 0 complexity | 50d4b3d5b0b051320c37d73c8b6f0d8a MD5 | raw file
 1local T, C, L = unpack(select(2, ...))
 2
 3local function LoadSkin()
 4	TutorialFrame:StripTextures()
 5	TutorialFrame:CreateBackdrop("Transparent")
 6	TutorialFrame.backdrop:CreateShadow("Transparent")
 7	TutorialFrame.backdrop:Point("TOPLEFT", 6, 0)
 8	TutorialFrame.backdrop:Point("BOTTOMRIGHT", 6, -6)
 9	T.SkinCloseButton(TutorialFrameCloseButton, TutorialFrameCloseButton.backdrop)
10	T.SkinNextPrevButton(TutorialFramePrevButton)
11	T.SkinNextPrevButton(TutorialFrameNextButton)
12	T.SkinButton(TutorialFrameOkayButton)
13	TutorialFrameOkayButton:ClearAllPoints()
14	TutorialFrameOkayButton:Point("LEFT", TutorialFrameNextButton,"RIGHT", 10, 0)	
15end
16
17tinsert(T.SkinFuncs["Tukui"], LoadSkin)