/Tukui/modules/actionbars/Bar3.lua

http://github.com/Asphyxia/Tukui · Lua · 16 lines · 10 code · 3 blank · 3 comment · 3 complexity · f0d14547ffb06ae536ee18d378e41c27 MD5 · raw file

  1. local T, C, L = unpack(select(2, ...)) -- Import: T - functions, constants, variables; C - config; L - locales
  2. if not C["actionbar"].enable == true then return end
  3. ---------------------------------------------------------------------------
  4. -- setup MultiBarLeft as bar #3
  5. ---------------------------------------------------------------------------
  6. for i= 1, 12 do
  7. local b = _G["MultiBarLeftButton"..i]
  8. local b2 = _G["MultiBarLeftButton"..i-1]
  9. b:Size(T.buttonsize, T.buttonsize)
  10. b:ClearAllPoints()
  11. b:SetFrameStrata("BACKGROUND")
  12. b:SetFrameLevel(15)
  13. end