2016-05-06 15:29:04 +02:00
|
|
|
|
2016-05-06 16:17:32 +02:00
|
|
|
Rect = LibStub("AceAddon-3.0"):NewAddon("Rect", "AceConsole-3.0", "AceEvent-3.0")
|
|
|
|
Rect.appName = "Rect"
|
|
|
|
Rect.dbName = "RectDB"
|
|
|
|
Rect.version = "1.0RC1"
|
2016-05-06 15:49:39 +02:00
|
|
|
|
2016-05-06 16:17:32 +02:00
|
|
|
function Rect:HideFrames()
|
2016-05-06 15:49:39 +02:00
|
|
|
for i = 1, 23 do
|
|
|
|
local frame = self.frames["target"][i]["frame"];
|
|
|
|
frame:Hide();
|
|
|
|
end
|
|
|
|
for i = 1, 23 do
|
|
|
|
local frame = self.frames["focus"][i]["frame"];
|
|
|
|
frame:Hide();
|
|
|
|
end
|
2016-05-06 15:55:37 +02:00
|
|
|
for i = 1, 18 do
|
|
|
|
local frame = self.frames["targetdr"][i]["frame"];
|
|
|
|
frame:Hide();
|
|
|
|
end
|
|
|
|
for i = 1, 18 do
|
|
|
|
local frame = self.frames["focusdr"][i]["frame"];
|
|
|
|
frame:Hide();
|
|
|
|
end
|
|
|
|
for i = 1, 18 do
|
|
|
|
local frame = self.frames["selfdr"][i]["frame"];
|
|
|
|
frame:Hide();
|
|
|
|
end
|
2016-05-06 15:49:39 +02:00
|
|
|
end
|