- new API: Details:GetEncounterInfoFromEncounterName (ID, encountername), returns encounter info.

- Tweaks for Legion Dungeon.
- Framework update to v35.
- Solved an issue with bookmarks where the background sometimes was a light silver.
- Sovelod an issue with the display menu where sometimes it wasn't changeing the display.
- new tooltip design.
This commit is contained in:
Tercio
2016-08-11 00:13:27 -03:00
parent ba033e79b3
commit 07ed01c097
16 changed files with 206 additions and 72 deletions
+5 -3
View File
@@ -1306,6 +1306,8 @@
end
end
local bgColor, borderColor = {0.37, 0.37, 0.37, 1}, {0, 0, 0, .2}
function _detalhes:BuildInstanceBarTooltip (frame)
local GameCooltip = GameCooltip
@@ -1318,8 +1320,8 @@
GameCooltip:SetOption ("TextColorRight", _detalhes.tooltip.fontcolor_right)
GameCooltip:SetOption ("TextShadow", _detalhes.tooltip.fontshadow and "OUTLINE")
GameCooltip:SetOption ("LeftBorderSize", -8)
GameCooltip:SetOption ("RightBorderSize", 8)
GameCooltip:SetOption ("LeftBorderSize", -4)
GameCooltip:SetOption ("RightBorderSize", 4)
GameCooltip:SetOption ("ButtonsYMod", 4)
GameCooltip:SetOption ("RightTextMargin", 0)
@@ -1328,7 +1330,7 @@
GameCooltip:SetOption ("StatusBarTexture", [[Interface\AddOns\Details\images\bar_background]])
--GameCooltip:SetBackdrop (1, _detalhes.tooltip_backdrop, backgroundColor, _detalhes.tooltip_border_color) --{.090, .090, .188, .1}
GameCooltip:SetBackdrop (1, _detalhes.cooltip_preset2_backdrop, {0.37, 0.37, 0.37, 1}, {0, 0, 0, 1})
GameCooltip:SetBackdrop (1, _detalhes.cooltip_preset2_backdrop, bgColor, borderColor)
local myPoint = _detalhes.tooltip.anchor_point
local anchorPoint = _detalhes.tooltip.anchor_relative