- Removed Lib HotCorners.

- Rewrite on profile -> skins bridge, now skins are only stored inside the profile.
- Fixed issue with healing done player details which wans't showing pets.
- Fixed unknown owner pet summon.

- New API: _detalhes:ListInstances() return ipairs of current created instances.
- New API: instance:GetPosition() return a table with .normal and .solo with .x and .y axis.
- New API: instance:GetDisplay() return attribute, sub attribute shown in the instance.
- New API: _detalhes.table.copy (t1, t2) copy values from table 't2' to 't1'.
This commit is contained in:
tercio
2014-08-07 22:34:29 -03:00
parent 4eedec39de
commit 3c3d840b65
18 changed files with 794 additions and 764 deletions
+43 -23
View File
@@ -231,12 +231,12 @@
self.posicao[self.mostrando].h = pre_defined.altura
end
self.baseframe:SetWidth (self.posicao[self.mostrando].w)
self.baseframe:SetHeight (self.posicao[self.mostrando].h)
self.baseframe:ClearAllPoints()
self.baseframe:SetPoint ("CENTER", _UIParent, "CENTER", novo_x, novo_y)
self.baseframe:SetWidth (self.posicao[self.mostrando].w) --slider frame
self.baseframe:SetHeight (self.posicao[self.mostrando].h)
self.baseframe.BoxBarrasAltura = self.baseframe:GetHeight() - end_window_spacement --> espaço para o final da janela
end
@@ -1518,25 +1518,28 @@
end
end
_detalhes:RegisterHotCornerButton (
--> absolute name
"Details!",
--> corner
"TOPLEFT",
--> config table
self.hotcorner_topleft,
--> frame _G name
"DetailsLeftCornerButton",
--> icon
[[Interface\AddOns\Details\images\minimap]],
--> tooltip
tooltip_hotcorner,
--> click function
on_click_on_hotcorner_button,
--> menus
nil,
--> quick click
on_click_on_quickclick_button)
if (_G.HotCorners) then
_G.HotCorners:RegisterHotCornerButton (
--> absolute name
"Details!",
--> corner
"TOPLEFT",
--> config table
_detalhes.hotcorner_topleft,
--> frame _G name
"DetailsLeftCornerButton",
--> icon
[[Interface\AddOns\Details\images\minimap]],
--> tooltip
tooltip_hotcorner,
--> click function
on_click_on_hotcorner_button,
--> menus
nil,
--> quick click
on_click_on_quickclick_button
)
end
end
--old versions dialog
@@ -1634,4 +1637,21 @@
end
_detalhes:ScheduleTimer ("ResetWarningDialog", 7)
--]]
--]]
--[[
local background_up = f:CreateTexture (nil, "background")
background_up:SetPoint ("topleft", f, "topleft")
background_up:SetSize (250, 150)
background_up:SetTexture ("Interface\\QuestionFrame\\Question-Main")
background_up:SetTexCoord (0, 420/512, 320/512, 475/512)
local background_down = f:CreateTexture (nil, "background")
background_down:SetPoint ("topleft", background_up, "bottomleft")
background_down:SetSize (250, 150)
background_down:SetTexture ("Interface\\QuestionFrame\\Question-Main")
background_down:SetTexCoord (0, 420/512, 156/512, 308/512)
background_up:SetDesaturated (true)
background_down:SetDesaturated (true)
--]]