- Rework on Activity Time, now it will be more accurate with warcraftlogs.com

- Added two new customs: Damage Activity Time and Healing Activity Time.
- TimeAttack plugin now have only have six time amount options.
- TimeAttack plugin can now share damage results with other players with the same class in the realm.

- New API: instance:EnableInstance() active and open a closed instance.
- New API: _detalhes:RegisterBackgroundTask (name, func, priority, ...) background task runs slowly when player isn't in group nor inside instances.
- New API: _detalhes:UnregisterBackgroundTask (name) cancel a backgroup task.
- New API: plugin:RegisterPluginComm (prefix, func) register for receive comm msg.
- New API: plugin:UnregisterPluginComm (prefix) unregister a previous registred comm.
- New API: plugin:SendPluginCommMessage (prefix, channel, ...) send a msg through channel.
- New API: _detalhes:IsConnected() return true is Details! is connected to realm comm channel.
- New API: plugin:IsPluginEnabled() return is the plugin is enabled.
This commit is contained in:
tercio
2014-08-27 14:58:41 -03:00
parent ab51564def
commit be107afe52
16 changed files with 982 additions and 195 deletions
+17 -1
View File
@@ -479,7 +479,7 @@ local ButtonMetaFunctions = {}
end
--> custom textures
function ButtonMetaFunctions:InstallCustomTexture (texture, rect, coords, use_split)
function ButtonMetaFunctions:InstallCustomTexture (texture, rect, coords, use_split, side_textures)
self.button:SetNormalTexture (nil)
self.button:SetPushedTexture (nil)
@@ -540,6 +540,22 @@ local ButtonMetaFunctions = {}
self.button.texture:SetTexture (texture)
end
if (side_textures) then
local left = self.button:CreateTexture (nil, "overlay")
left:SetTexture ([[Interface\TALENTFRAME\talent-main]])
left:SetTexCoord (0.13671875, 0.25, 0.486328125, 0.576171875)
left:SetPoint ("left", self.button, 0, 0)
left:SetWidth (10)
left:SetHeight (self.button:GetHeight()+2)
local right = self.button:CreateTexture (nil, "overlay")
right:SetTexture ([[Interface\TALENTFRAME\talent-main]])
right:SetTexCoord (0.01953125, 0.13671875, 0.486328125, 0.576171875)
right:SetPoint ("right", self.button, 0, 0)
right:SetWidth (10)
right:SetHeight (self.button:GetHeight()+2)
end
end
------------------------------------------------------------------------------------------------------------