/Tukui/modules/actionbars/Bar3.lua
Lua | 16 lines | 10 code | 3 blank | 3 comment | 3 complexity | f0d14547ffb06ae536ee18d378e41c27 MD5 | raw file
1local T, C, L = unpack(select(2, ...)) -- Import: T - functions, constants, variables; C - config; L - locales 2 3if not C["actionbar"].enable == true then return end 4 5--------------------------------------------------------------------------- 6-- setup MultiBarLeft as bar #3 7--------------------------------------------------------------------------- 8 9for i= 1, 12 do 10 local b = _G["MultiBarLeftButton"..i] 11 local b2 = _G["MultiBarLeftButton"..i-1] 12 b:Size(T.buttonsize, T.buttonsize) 13 b:ClearAllPoints() 14 b:SetFrameStrata("BACKGROUND") 15 b:SetFrameLevel(15) 16end