From 84839f5980f2ae89322b3460a4525b47372c4d65 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Wed, 14 Oct 2015 00:37:22 +0200 Subject: [PATCH] huge progress on restyling of buy, new layout looks like modern auctioneer lists --- buy.lua | 8 +- buy.xml | 148 +--------- experimental.xml | 522 ++--------------------------------- list.lua | 694 +++++++++++++++++------------------------------ list.xml | 233 ---------------- util.lua | 40 ++- 6 files changed, 322 insertions(+), 1323 deletions(-) diff --git a/buy.lua b/buy.lua index 8a376f5..3797226 100644 --- a/buy.lua +++ b/buy.lua @@ -155,9 +155,7 @@ end ----------------------------------------- function AuxBuyEntry_OnClick(entry_index) - local scroll_frame = getglobal(this:GetParent():GetName().."ScrollFrame") - local entry_index = this:GetID() + FauxScrollFrame_GetOffset(scroll_frame) - + local express_mode = IsAltKeyDown() local buyout_mode = arg1 == "LeftButton" @@ -287,7 +285,7 @@ function process_auction(auction_item, current_page) local buyout_price = auction_item.buyout_price > 0 and auction_item.buyout_price or nil local buyout_price_per_unit = buyout_price and Aux_Round(auction_item.buyout_price/stack_size) - if auction_item.owner ~= UnitName("player") then + if true then tinsert(entries, { name = auction_item.name, level = auction_item.level, @@ -320,7 +318,7 @@ end ----------------------------------------- function Aux_Buy_ScrollbarUpdate() - Aux.list.populate(AuxBuyList, entries or {}) + Aux.list.populate(AuxBuySheet, entries or {}) end ----------------------------------------- diff --git a/buy.xml b/buy.xml index 602aa81..d15903a 100644 --- a/buy.xml +++ b/buy.xml @@ -12,16 +12,12 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/experimental.xml b/experimental.xml index db0b364..95f86ce 100644 --- a/experimental.xml +++ b/experimental.xml @@ -1,504 +1,40 @@ - - -