forked from siouxst/TrinityAdminLegion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MangFrames.lua
73 lines (69 loc) · 3.18 KB
/
MangFrames.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
-------------------------------------------------------------------------------------------------------------
--
-- TrinityAdmin Version 3.x
-- TrinityAdmin is a derivative of MangAdmin.
--
-- Copyright (C) 2007 Free Software Foundation, Inc.
-- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
-- This is free software: you are free to change and redistribute it.
-- There is NO WARRANTY, to the extent permitted by law.
--
-- You should have received a copy of the GNU General Public License
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
-- Official Forums: http://groups.google.com/group/trinityadmin
-- GoogleCode Website: http://code.google.com/p/trinityadmin/
-- Subversion Repository: http://trinityadmin.googlecode.com/svn/
-- Dev Blog: http://trinityadmin.blogspot.com/
-------------------------------------------------------------------------------------------------------------
-- Initializing dynamic frames with LUA and FrameLib
-- This script must be listed in the .toc after all other Frames/MangFrames files!!!
-- Also some variables are globally taken from MangAdmin.lua
function MangAdmin:CreateFrames()
-- These need to be called in TOC order
self:CreateStartFrames()
self:CreateTabs()
self:CreateMiniMenu()
self:CreateLookupButtons()
self:CreatePopupFrames()
self:CreateSmallPopupFrames()
self:CreateMainSection()
self:CreateTeleSection()
self:CreateLogSection()
self:CreateCharSection()
self:CreateChar2Section()
self:CreateTicketSection()
self:CreateMiscSection()
self:CreateServerSection()
self:CreateNpcSection()
self:CreateNpc2Section()
self:CreateGOSection()
self:CreatePvPSection()
self:CreateEventSection()
self:CreateRPGSection()
self:CreateVendorSection()
self:CreateAhbotSection()
self:CreateWhoSection()
--FrameLib:HandleGroup("bg", function(frame) frame:Hide() end)
--FrameLib:HandleGroup("main", function(frame) frame:Hide() end)
FrameLib:HandleGroup("char", function(frame) frame:Hide() end)
FrameLib:HandleGroup("char2", function(frame) frame:Hide() end)
FrameLib:HandleGroup("ticket", function(frame) frame:Hide() end)
FrameLib:HandleGroup("server", function(frame) frame:Hide() end)
FrameLib:HandleGroup("npc", function(frame) frame:Hide() end)
FrameLib:HandleGroup("npc2", function(frame) frame:Hide() end)
FrameLib:HandleGroup("go", function(frame) frame:Hide() end)
FrameLib:HandleGroup("tele", function(frame) frame:Hide() end)
FrameLib:HandleGroup("log", function(frame) frame:Hide() end)
FrameLib:HandleGroup("misc", function(frame) frame:Hide() end)
FrameLib:HandleGroup("popup", function(frame) frame:Hide() end)
FrameLib:HandleGroup("popup2", function(frame) frame:Hide() end)
FrameLib:HandleGroup("pvp", function(frame) frame:Hide() end)
FrameLib:HandleGroup("event", function(frame) frame:Hide() end)
FrameLib:HandleGroup("rpg", function(frame) frame:Hide() end)
FrameLib:HandleGroup("vendor", function(frame) frame:Hide() end)
FrameLib:HandleGroup("ahbot", function(frame) frame:Hide() end)
FrameLib:HandleGroup("who", function(frame) frame:Hide() end)
ma_mm_revivebutton:Hide()
end