prettier tooltip money, tooltip moved to bottom right of screen, added buyout sorting to the full views

This commit is contained in:
Manuel Simon Hirsig
2016-01-21 14:59:54 +01:00
parent e2bef9f3ac
commit 184471ff7a
4 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -48,9 +48,9 @@ function Aux_OnLoad()
local market_value = Aux.history.market_value(item_key)
local market_value_line
if count == 1 then
market_value_line = 'Market Value: '..Aux.util.money_string(market_value)
market_value_line = 'Market Value: '..EnhTooltip.GetTextGSC(market_value)
else
market_value_line = 'Market Value: '..Aux.util.money_string(market_value * count)..' / '..Aux.util.money_string(market_value)
market_value_line = 'Market Value: '..EnhTooltip.GetTextGSC(market_value * count)..' / '..EnhTooltip.GetTextGSC(market_value)
end
EnhTooltip.AddLine(market_value_line, nil, true)
+1 -1
View File
@@ -512,7 +512,7 @@ public.views = {
end,
},
},
sort_order = {{column = 1, order = 'ascending' }},
sort_order = {{column = 1, order = 'ascending' }, {column = 7, order = 'ascending' }},
},
}
+2 -1
View File
@@ -145,7 +145,8 @@ function public.set_tooltip(itemstring, EnhTooltip_info, owner, anchor, x_offset
else
private.anchor_cursor = false
end
AuxTooltip:SetOwner(owner, anchor)
GameTooltip_SetDefaultAnchor(AuxTooltip, UIParent)
-- AuxTooltip:SetOwner(owner, anchor)
AuxTooltip:SetHyperlink(itemstring)
+1 -1
View File
@@ -451,7 +451,7 @@ public.views = {
end,
},
},
sort_order = {},
sort_order = {{column = 5, order = 'ascending'}},
},
}