All pastes #422727 Raw Edit

Someone

public lua v1 · immutable
·published 2007-04-03 17:24 UTC
rendered paste body
	f = CreateFrame("Frame", "f", UIParent)	f:SetWidth(175) 	f:SetHeight(300) 	f:SetPoint("LEFT", UIParent, "LEFT", 0, 0)	f:SetBackdrop(GameTooltip:GetBackdrop())	f:SetBackdropColor(24/255, 24/255, 24/255)	f:RegisterForDrag("LeftButton")	f:SetMovable(true) 	f:EnableMouse(true) 	f:SetScript("OnDragStart", 		function() 			if(IsAltKeyDown()) then f:StartMoving() end 		end) 	f:SetScript("OnDragStop",		function() 			f:StopMovingOrSizing() 		end)					f.Header = f:CreateFontString(nil, "OVERLAY")	f.Header:SetWidth(175)	f.Header:SetHeight(15)	f.Header:SetFont(STANDARD_TEXT_FONT, 12)	f.Header:SetPoint("TOP", f, "TOP", 0, -15)	f.Header:SetText("tC2 EQDKP")		f.Pastebox = CreateFrame("Pastebox", nil, f)	f.Pastebox:SetAutoFocus(false)	f.Pastebox:SetWidth(165)	f.Pastebox:SetHeight(120)	f.Pastebox:SetPoint("BOTTOM", f, "BOTTOM", 0, -50)