comparison Frames.lua @ 206:5d13830e8b0d

Queue window now closes on escape.
author Zerotorescue
date Sat, 05 Feb 2011 20:01:30 +0100
parents 6a52272a0e5a
children
comparison
equal deleted inserted replaced
205:0ea991d9093c 206:5d13830e8b0d
257 do 257 do
258 local frameWidth = 400; 258 local frameWidth = 400;
259 259
260 -- Main window 260 -- Main window
261 local frame = CreateFrame("Frame", "InventoriumQueuer", UIParent); 261 local frame = CreateFrame("Frame", "InventoriumQueuer", UIParent);
262 -- Close on escape
263 tinsert(UISpecialFrames, "InventoriumQueuer");
262 -- Hide by default 264 -- Hide by default
263 frame:Hide(); 265 frame:Hide();
264 -- Center the frame (will be adjusted later) 266 -- Center the frame (will be adjusted later)
265 frame:SetPoint("CENTER", UIParent, "CENTER", 0, 0); 267 frame:SetPoint("CENTER", UIParent, "CENTER", 0, 0);
266 -- Put in front of other windows 268 -- Put in front of other windows