rendered paste bodyIndex: PerfectRaid.lua
===================================================================
--- PerfectRaid.lua (revision 8842)
+++ PerfectRaid.lua (working copy)
@@ -32,6 +32,10 @@
self.master = CreateFrame("Frame", "PerfectRaidFrame", UIParent)
self.master:SetMovable(true)
+ if (IFrameManager) then
+ IFrameManager:Register(self.master, IFrameManager:Interface())
+ end
+
self.virtualfont = self.master:CreateFontString(nil, "ARTWORK")
self.virtualfont:SetFontObject(GameFontHighlightSmall)
@@ -714,12 +718,16 @@
local s = f:GetEffectiveScale()
-- Change these later?
- f:SetHeight(100)
- f:SetWidth(100)
+ f:SetWidth(200)
+ f:SetHeight(32)
if not x or not y then
f:ClearAllPoints()
- f:SetPoint("CENTER", UIParent, "CENTER", 0, 0)
+ if (IFrameManager) then
+ f:SetPoint("TOPLEFT", UIParent)
+ else
+ f:SetPoint("CENTER", UIParent)
+ end
return
end
Index: PerfectRaid.toc
===================================================================
--- PerfectRaid.toc (revision 8842)
+++ PerfectRaid.toc (working copy)
@@ -5,6 +5,7 @@
## DefaultState: enabled
## Dependencies:
## OptionalDeps: Ace2
+## OptionalDeps: IFrameManager
## SavedVariables: PerfectRaidDB
libs\AceLibrary\AceLibrary.lua