WoWInterface SVN oUF_Industrial

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 31 to Rev 32
    Reverse comparison

Rev 31 → Rev 32

trunk/Addon.lua
5,9 → 5,9
 
local frame_name = 'oUF_Industrial_'
 
local padding = 5
local padding = 3
local spacing = 1
local margin = 3
local margin = 1
 
local bar_width = 300 - padding * 2
local bar_texture = [[Interface\AddOns\oUF_Industrial\media\textures\statusbar]]
127,6 → 127,7
power.info = power:CreateFontString(nil, 'OVERLAY')
power.value = power:CreateFontString(nil, 'OVERLAY')
frame.menu = show_menu
castbar.Icon = castbar:CreateTexture()
 
-- healthbar
health:SetPoint(TL, frame, TL, padding, -padding)
171,10 → 172,19
power.value:SetShadowOffset(1, -1)
 
-- castbar
castbar:SetAllPoints(health)
--[[castbar.Icon:SetPoint(ML, power, ML)
castbar.Icon:SetWidth(power:GetHeight())
castbar.Icon:SetHeight(power:GetHeight())]]
 
--[[castbar:SetPoint(TL, castbar.Icon, TR)
castbar:SetPoint(BL, castbar.Icon, BR)
castbar:SetPoint(TR, power, TR)
castbar:SetPoint(BR, power, BR)]]
castbar:SetAllPoints(power)
castbar:SetToplevel(true)
castbar:SetStatusBarTexture(health_texture)
castbar:SetStatusBarColor(128/255, 255/255, 0, 0.5)
--castbar:SetStatusBarColor(128/255, 255/255, 0, 0.5)
castbar:SetStatusBarColor(1, 0, 0)
 
-- buffs
local h = health_height + spacing + power_height