Aux.sell.quantity_update()
Aux.sell.quantity_update()
if AuxSellStackSizeSlider.charge_classes then
local charge_slider_value = Aux.util.index_of(this:GetNumber(), AuxSellStackSizeSlider.charge_classes)
if charge_slider_value then
AuxSellStackSizeSlider:SetValue(charge_slider_value)
end
else
AuxSellStackSizeSlider:SetValue(this:GetNumber())
end
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_SetPreviousFocus(getglobal(this:GetParent():GetName()..'StartPrice'), getglobal(this:GetName()..'Copper'))
MoneyInputFrame_SetNextFocus(getglobal(this:GetParent():GetName()..'StartPrice'), getglobal(this:GetName()..'Gold'))
MoneyInputFrame_SetPreviousFocus(this, getglobal(this:GetParent():GetName()..'StartPriceCopper'))
MoneyInputFrame_SetNextFocus(this, getglobal(this:GetParent():GetName()..'StartPriceGold'))
MoneyInputFrame_SetOnvalueChangedFunc(this, Aux.sell.validate_parameters)
SmallMoneyFrame_OnLoad()
MoneyFrame_SetType('STATIC')