forked from LightDestory/AzerothCoreAdmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MangFrames.lua
57 lines (52 loc) · 2.38 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
-------------------------------------------------------------------------------------------------------------
--
-- AzerothCoreAdmin is a derivative of TrinityAdmin and MangAdmin.
--
-- Copyright (C) 2018 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 repository: https://github.com/LightDestory/AzerothCoreAdmin
--
-------------------------------------------------------------------------------------------------------------
-- 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:CreateTicketSection()
self:CreateMiscSection()
self:CreateServerSection()
self:CreateNpcSection()
self:CreateGOSection()
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("ticket", function(frame) frame:Hide() end)
FrameLib:HandleGroup("server", function(frame) frame:Hide() end)
FrameLib:HandleGroup("npc", 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("who", function(frame) frame:Hide() end)
ma_mm_revivebutton:Hide()
end