Aux.buy.onupdate()
this:SetBackdropBorderColor(0.4, 0.4, 0.4)
this:SetBackdropColor(0.15, 0.15, 0.15)
getglobal(this:GetName().."Title"):SetText('Filters')
UIDropDownMenu_SetWidth(140)
UIDropDownMenu_Initialize(this, AuxBuyModeDropDown_Initialize)
UIDropDownMenu_SetSelectedValue(this, 1)
UIDropDownMenu_Initialize(this, AuxBuyModeDropDown_Initialize)
getglobal(this:GetName()..'Label'):SetText('Name')
this.completor = Aux.completion.completor(this)
this.completor.suggest()
if IsShiftKeyDown() then
this.completor.previous()
else
this.completor.next()
end
this.completor.close()
this:ClearFocus()
Aux.buy.SearchButton_onclick()
if this.completor.open() then
this.completor.close()
else
this:ClearFocus()
end
UIDropDownMenu_SetWidth(140)
UIDropDownMenu_Initialize(this, AuxBuyCategoryDropDown_Initialize)
UIDropDownMenu_Initialize(this, AuxBuyCategoryDropDown_Initialize)
UIDropDownMenu_SetWidth(140)
UIDropDownMenu_Initialize(this, AuxBuyQualityDropDown_Initialize)
UIDropDownMenu_Initialize(this, AuxBuyQualityDropDown_Initialize)
this:ClearFocus()
this:ClearFocus()
getglobal(this:GetName()..'Label'):SetText('Tooltip')
this:SetWidth(110)
AuxBuyTooltipButton_OnClick(this)
UIDropDownMenu_Initialize(this, AuxBuyTooltipDropDown_Initialize)
this:EnableMouse(false)
this:SetAlpha(0.5)
this:ClearFocus()
AuxBuyPageEditBox:EnableMouse(not this:GetChecked())
AuxBuyPageEditBox:SetAlpha(this:GetChecked() and 0.5 or 1)
AuxBuyPageEditBox:ClearFocus()
this:SetBackdropBorderColor(0.4, 0.4, 0.4)
this:SetBackdropColor(0.15, 0.15, 0.15)
getglobal(this:GetName().."Title"):SetText('Search Results')
local sort_order = Aux.util.map(Aux.buy.modes[1].sort_order, function(column_order) return { column = Aux.buy.modes[1].columns[column_order.column], sort_ascending = column_order.order == 'ascending' } end)
this.sheet = Aux.sheet.create(this, Aux.buy.modes[1].columns, sort_order, Aux.buy.modes[1].row_setter, Aux.buy.modes[1].on_cell_click, Aux.buy.modes[1].on_cell_enter, Aux.buy.modes[1].on_cell_leave)
local sort_order = Aux.util.map(Aux.buy.modes[2].sort_order, function(column_order) return { column = Aux.buy.modes[2].columns[column_order.column], sort_ascending = column_order.order == 'ascending' } end)
this.sheet = Aux.sheet.create(this, Aux.buy.modes[2].columns, sort_order, Aux.buy.modes[2].row_setter, Aux.buy.modes[2].on_cell_click, Aux.buy.modes[2].on_cell_enter, Aux.buy.modes[2].on_cell_leave)
local sort_order = Aux.util.map(Aux.buy.modes[3].sort_order, function(column_order) return { column = Aux.buy.modes[3].columns[column_order.column], sort_ascending = column_order.order == 'ascending' } end)
this.sheet = Aux.sheet.create(this, Aux.buy.modes[3].columns, sort_order, Aux.buy.modes[3].row_setter, Aux.buy.modes[3].on_cell_click, Aux.buy.modes[3].on_cell_enter, Aux.buy.modes[3].on_cell_leave)
Aux.info.set_game_tooltip(this, this:GetParent().tooltip, 'ANCHOR_LEFT', this:GetParent().EnhTooltip_info)
GameTooltip:Hide()
SmallMoneyFrame_OnLoad()
MoneyFrame_SetType("STATIC")