- Added an options to use a customized skin file.

- Added an options to use a customized bar texture file.
- A Package with photoshop files with examples and the skin file for Minimalistic skin are available at WoW Interface.
- Added 'API Custom Displays.txt' on Details! folder, this file explain how to create scripts for custom displays.
This commit is contained in:
Tercio
2015-09-21 18:30:01 -03:00
parent 2a9bc8317c
commit f7dccde8b9
9 changed files with 354 additions and 50 deletions
+19
View File
@@ -752,6 +752,25 @@
actors.new_actor.classe = actors.actor.classe
end
function atributo_custom:HasActor (actor)
return self._NameIndexTable [actor.nome or actor.name] and true or false
end
function atributo_custom:GetNumActors()
return #self._ActorTable
end
function atributo_custom:GetTotalAndHighestValue()
local total, top = 0, 0
for i, actor in ipairs (self._ActorTable) do
if (actor.value > top) then
top = actor.value
end
total = total + actor.value
end
return total, top
end
local icon_cache = {}
function atributo_custom:GetActorTable (actor, name_complement)