comparison gui.lua @ 42:4f1e71f62776

Handle moving from one instance kill/loot into a new instance, and then getting loot from trash in the new instance before seeing any bosses.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Fri, 13 Jan 2012 01:12:36 +0000
parents dc3a66688e50
children 78a25e2d25bf
comparison
equal deleted inserted replaced
41:d6b8858c1b64 42:4f1e71f62776
953 end 953 end
954 954
955 container:SetLayout("Fill") 955 container:SetLayout("Fill")
956 container:AddChild(st_widget) 956 container:AddChild(st_widget)
957 957
958 local b = mkbutton('eoi_filter_reset', "Reset Player Filter", 958 local b
959 --[===[ b = mkbutton("Generate Header",
960 [[]])
961 b:SetFullWidth(true)
962 b:SetCallback("OnClick", function (_b)
963 end)
964 specials:AddChild(b) ]===]
965
966 b = mkbutton('eoi_filter_reset', "Reset Player Filter",
959 [[Return to showing complete loot information.]]) 967 [[Return to showing complete loot information.]])
960 b:SetFullWidth(true) 968 b:SetFullWidth(true)
961 b:SetCallback("OnClick", function (_b) 969 b:SetCallback("OnClick", function (_b)
962 local st = _d:GetUserData("eoiST") 970 local st = _d:GetUserData("eoiST")
963 st:SetFilter(player_filter_all) 971 st:SetFilter(player_filter_all)
984 b:SetCallback("OnValueChanged", function(_dd,event,choice) 992 b:SetCallback("OnValueChanged", function(_dd,event,choice)
985 addon.sharder = (choice ~= 1) and people[choice] or nil 993 addon.sharder = (choice ~= 1) and people[choice] or nil
986 end) 994 end)
987 specials:AddChild(b) 995 specials:AddChild(b)
988 996
989 local b = mkbutton('eoi_bcast_req', "Request B'casters", 997 b = mkbutton('eoi_bcast_req', "Request B'casters",
990 [[Sends out a request for others to enable loot rebroadcasting if they have not already done so.]]) 998 [[Sends out a request for others to enable loot rebroadcasting if they have not already done so.]])
991 b:SetFullWidth(true) 999 b:SetFullWidth(true)
992 b:SetCallback("OnClick", function () 1000 b:SetCallback("OnClick", function ()
993 addon:Print("Sending request!") 1001 addon:Print("Sending request!")
994 addon.requesting = true 1002 addon.requesting = true