diff Modules/Scanner.lua @ 132:8460855e3d90

Rewrote queueing module to insert a GUI. Minor mover window changes.
author Zerotorescue
date Tue, 18 Jan 2011 00:30:15 +0100
parents ee4672f21586
children 2efe61ca718e
line wrap: on
line diff
--- a/Modules/Scanner.lua	Tue Jan 18 00:28:24 2011 +0100
+++ b/Modules/Scanner.lua	Tue Jan 18 00:30:15 2011 +0100
@@ -105,7 +105,7 @@
 		onClick = OnMoveCancel,
 	};
 	
-	addon:SetFrameSettings("Inventorium Storage Refill", "The items listed below can be refilled from this location, do you wish to move them to your bags?", proceedButton, cancelButton, headers);
+	addon:SetMoverFrameSettings("Inventorium Storage Refill", "The items listed below can be refilled from this location, do you wish to move them to your bags?", proceedButton, cancelButton, headers);
 end
 
 -- Merchant restock window: restock from a merchant by buying items needed
@@ -169,7 +169,7 @@
 		onClick = OnMoveCancel,
 	};
 	
-	addon:SetFrameSettings("Inventorium Merchant Restock", ("The following items can be restocked from this merchant for a total of %s. Do you wish to proceed?"):format(GetSmallCoinTextureString(totalCost)), proceedButton, cancelButton, headers);
+	addon:SetMoverFrameSettings("Inventorium Merchant Restock", ("The following items can be restocked from this merchant for a total of %s. Do you wish to proceed?"):format(GetSmallCoinTextureString(totalCost)), proceedButton, cancelButton, headers);
 end
 
 function mod:ClearCache()
@@ -627,7 +627,7 @@
 	Mover = addon:GetModule("Mover");
 	
 	if not InventoriumItemMover then
-		addon:CreateMoverFrame(OnMoveAccept, OnMoveCancel);
+		addon:CreateMoverFrame();
 	end
 end