post icon improvement

This commit is contained in:
Manuel Simon Hirsig
2016-07-13 21:44:52 +02:00
parent 0a9f951fa1
commit 991a8302ec
3 changed files with 18 additions and 11 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
Aux = { Aux = {
version = '2.15.6', version = '2.15.7',
blizzard_ui_shown = false, blizzard_ui_shown = false,
orig = {}, orig = {},
} }
+2 -2
View File
@@ -31,9 +31,9 @@
<Anchor point="TOPRIGHT"><Offset><AbsDimension x="-4" y="0"/></Offset></Anchor> <Anchor point="TOPRIGHT"><Offset><AbsDimension x="-4" y="0"/></Offset></Anchor>
</Anchors> </Anchors>
<frames> <frames>
<Frame name="$parentItem" inherits="AuxItemTemplate"> <Button name="$parentItem" inherits="AuxItemTemplate">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-10"/></Offset></Anchor></Anchors> <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-10"/></Offset></Anchor></Anchors>
</Frame> </Button>
</frames> </frames>
</frame> </frame>
<Frame name="AuxPostAuctions" inherits="AuxFrameBoxTemplate"> <Frame name="AuxPostAuctions" inherits="AuxFrameBoxTemplate">
+15 -8
View File
@@ -9,14 +9,21 @@ function Aux.post_frame.create_frames(private, public)
end end
ClearCursor() ClearCursor()
end) end)
-- AuxPostParametersItemIconTexture:SetScript('OnEnter', function() AuxPostParametersItem:SetScript('OnClick', function()
-- if private.selected_item then local item_info = Aux.cursor_item()
-- Aux.info.set_tooltip(private.selected_item.itemstring, this, 'ANCHOR_RIGHT') if item_info then
-- end public.select_item(item_info.item_key)
-- end) end
-- AuxPostParametersItemIconTexture:SetScript('OnLeave', function() ClearCursor()
-- GameTooltip:Hide() end)
-- end) AuxPostParametersItem:SetScript('OnEnter', function()
if private.selected_item then
Aux.info.set_tooltip(private.selected_item.itemstring, this, 'ANCHOR_RIGHT')
end
end)
AuxPostParametersItem:SetScript('OnLeave', function()
GameTooltip:Hide()
end)
do do
local checkbox = CreateFrame('CheckButton', nil, AuxPostInventory, 'UICheckButtonTemplate') local checkbox = CreateFrame('CheckButton', nil, AuxPostInventory, 'UICheckButtonTemplate')