/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. File version 91.109
  6. (C)2010 Darth Android / Telroth - The Venture Co.
  7. ]]
  8. --[[if not LibStub then return end -- No LibStub, then LSM isn't even loaded in the first place.
  9. local LSM = LibStub("LibSharedMedia-3.0", true)
  10. if not LSM or not Mod_AddonSkins then return end
  11. Mod_AddonSkins:RegisterSkin("LibSharedMedia",function(Skin,skin,Layout,layout,config)
  12. LSM:Register("statusbar","TelUI Statusbar",config.barTexture)
  13. LSM:Register("background","TelUI Background",config.bgTexture)
  14. LSM:Register("border","TelUI Border",config.borderTexture)
  15. LSM:Register("font","TelUI Font",config.font)
  16. end)--]]