PageRenderTime 222ms CodeModel.GetById 178ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 2ms

/TelUI_AddonSkins/skins/LibSharedMedia.lua

http://github.com/Asphyxia/Tukui
Lua | 19 lines | 0 code | 1 blank | 18 comment | 0 complexity | 011eaa0337c559f1610e2615512ecdd0 MD5 | raw file
 1--[[
 2	LibSharedMedia-3.0 Integration Skin - Registers textures and fonts used by
 3	the skins with LibSharedMedia to make it easier to skin addons which do not
 4	have an editless skin file or which cannot be fully skinned without edits.
 5	
 6	File version 91.109
 7	(C)2010 Darth Android / Telroth - The Venture Co.
 8]]
 9
10--[[if not LibStub then return end -- No LibStub, then LSM isn't even loaded in the first place.
11local LSM = LibStub("LibSharedMedia-3.0", true)
12if not LSM or not Mod_AddonSkins then return end
13
14Mod_AddonSkins:RegisterSkin("LibSharedMedia",function(Skin,skin,Layout,layout,config)
15	LSM:Register("statusbar","TelUI Statusbar",config.barTexture)
16	LSM:Register("background","TelUI Background",config.bgTexture)
17	LSM:Register("border","TelUI Border",config.borderTexture)
18	LSM:Register("font","TelUI Font",config.font)
19end)--]]