-
Notifications
You must be signed in to change notification settings - Fork 29
/
MangFrames.lua
66 lines (63 loc) · 2.8 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
-------------------------------------------------------------------------------------------------------------
--
-- MarsAdmin Version 7.x
-- MarsAdmin is a derivative of TrinityAdmin.
--
-- 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
--
-- Repository: https://github.com/Secretmars/MarsAdmin
-------------------------------------------------------------------------------------------------------------
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