diff --git a/manage_frame.xml b/manage_frame.xml index 1f2062e..1f72630 100644 --- a/manage_frame.xml +++ b/manage_frame.xml @@ -9,444 +9,191 @@ - - - + - - - - - - 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) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - getglobal(this:GetName()..'Label'):SetText('Level Range') - this:SetWidth(30) - - - this:ClearFocus() - - - - - - - - - - this:SetWidth(30) - - - this:ClearFocus() - - - - - - - - - - - - - - - - - - - - getglobal(this:GetName()..'Label'):SetText('Tooltip') - this:SetWidth(110) - - - AuxBuyTooltipButton_OnClick(this) - - - - - - - - UIDropDownMenu_Initialize(this, AuxBuyTooltipDropDown_Initialize) - - - - - - - - - - - getglobal(this:GetName()..'Label'):SetText('Page') - this:SetWidth(30) - 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) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SmallMoneyFrame_OnLoad() - MoneyFrame_SetType("STATIC") - - - - - - - - - - - - - + + + + + + + + this:SetBackdropBorderColor(0.4, 0.4, 0.4) + this:SetBackdropColor(0.15, 0.15, 0.15) + getglobal(this:GetName().."Title"):SetText('Bids') + + + + + + + + + + + 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) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SmallMoneyFrame_OnLoad() + MoneyFrame_SetType("STATIC") + + + + + + + + + + + + - - + + + + + + + + + + + + this:SetBackdropBorderColor(0.4, 0.4, 0.4) + this:SetBackdropColor(0.15, 0.15, 0.15) + getglobal(this:GetName().."Title"):SetText('Auctions') + + + + + + + + + + + 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) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SmallMoneyFrame_OnLoad() + MoneyFrame_SetType("STATIC") + + + + + + + + + + + + + + + + + - - - diff --git a/scan_frame.xml b/scan_frame.xml index a3abf9a..489e7e5 100644 --- a/scan_frame.xml +++ b/scan_frame.xml @@ -1,6 +1,6 @@ -