this:SetBackdropBorderColor(0.4, 0.4, 0.4)
this:SetBackdropColor(0.15, 0.15, 0.15)
getglobal(this:GetName().."Title"):SetText('Inventory')
local config = Aux.sell.inventory_listing_config
local sort_order = Aux.util.map(config.sort_order, function(column_order) return { column = config.columns[column_order.column], sort_ascending = column_order.order == 'ascending' } end)
this.sheet = Aux.sheet.create(this, config.columns, sort_order, config.row_setter, config.on_cell_click, config.on_cell_enter, config.on_cell_leave)
this:SetBackdropBorderColor(0.4, 0.4, 0.4)
this:SetBackdropColor(0.15, 0.15, 0.15)
getglobal(this:GetName().."Title"):SetText('Parameters')
Aux.sell.quantity_update()
Aux.sell.quantity_update()
AuxSellStackSizeSlider:SetValue(this.charge_classes and this.charge_classes[this:GetNumber()] or this:GetNumber())
Aux.sell.quantity_update()
this:HighlightText(0, 0)
this:HighlightText()
if AuxSellStackCountSlider.charge_classes then
local index = Aux.util.index_of(this:GetNumber(), AuxSellStackCountSlider.charge_classes)
if index then
AuxSellStackCountSlider:SetValue(index)
end
else
AuxSellStackCountSlider:SetValue(this:GetNumber())
end
Aux.sell.quantity_update()
this:HighlightText(0, 0)
this:HighlightText()
getglobal(this:GetName().."Text"):SetText("2h");
Aux.sell.duration_radio_button_on_click(1)
getglobal(this:GetName().."Text"):SetText("8h");
Aux.sell.duration_radio_button_on_click(2)
getglobal(this:GetName().."Text"):SetText("24h");
Aux.sell.duration_radio_button_on_click(3)
MoneyInputFrame_SetOnvalueChangedFunc(this, Aux.sell.validate_parameters)
MoneyInputFrame_SetOnvalueChangedFunc(this, Aux.sell.validate_parameters)
this:SetBackdropBorderColor(0.4, 0.4, 0.4)
this:SetBackdropColor(0.15, 0.15, 0.15)
getglobal(this:GetName().."Title"):SetText('Existing Auctions')
local config = Aux.sell.auction_listing_config
local sort_order = Aux.util.map(config.sort_order, function(column_order) return { column = config.columns[column_order.column], sort_ascending = column_order.order == 'ascending' } end)
this.sheet = Aux.sheet.create(this, config.columns, sort_order, config.row_setter, config.on_cell_click, config.on_cell_enter, config.on_cell_leave)