WoWInterface SVN StellarBars

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 16 to Rev 17
    Reverse comparison

Rev 16 → Rev 17

trunk/StellarBars/StellarBars.toc
1,8 → 1,8
## Interface: 30000
## Interface: 30100
## Title: StellarBars
## Notes: Adds a new look and some options to the default action bars.
## Author: TotalPackage
## Version: 3.0.014
## Version: 3.1.001
 
## SavedVariables: StellarBarsDB
 
trunk/StellarBars/StellarBars.lua
47,7 → 47,7
local function appendpercent(barframe, textframe)
local vmin, vmax = barframe:GetMinMaxValues()
local otext = textframe:GetText() or ""
local perc = barframe:GetValue() * 100 / (vmax-vmin)
local perc = barframe:GetValue() * 100 / (vmax - vmin)
textframe:SetFormattedText("%s (%0.1f%%)", otext, perc)
end
local function lActionButton_UpdateUsable(self)