/
## 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 |
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) |