@@ -72,8 +72,7 @@ function DebugMenuFrame:OnLoad()
72
72
self .header :SetText (" HEADER TEXT TODO REMOVE" )
73
73
self .frame = frame
74
74
75
-
76
- local tabButton = CreateFrame (" Button" , " $parentTabButton1" , frame , " CharacterFrameTabTemplate" )
75
+ local tabButton = CreateFrame (" Button" , " $parentTabButton1" , frame , " CharacterFrameTabTemplate" )
77
76
tabButton :SetPoint (" TOPLEFT" , frame , " BOTTOMLEFT" , 11 , 2 )
78
77
tabButton :SetText (" Map Info" )
79
78
tabButton :SetScript (" OnClick" , function (self , button )
@@ -83,7 +82,7 @@ function DebugMenuFrame:OnLoad()
83
82
PlaySound (SOUNDKIT .IG_CHARACTER_INFO_TAB )
84
83
end )
85
84
86
- local tabButton = CreateFrame (" Button" , " $parentTabButton2" , frame , " CharacterFrameTabTemplate" )
85
+ local tabButton = CreateFrame (" Button" , " $parentTabButton2" , frame , " CharacterFrameTabTemplate" )
87
86
-- tabButton:SetPoint("TOPLEFT", frame, "BOTTOMLEFT", 11, 2) -- TBD anchor to previous tab, with offset 1,0 ?
88
87
tabButton :SetText (" Spell Tracking" )
89
88
tabButton :SetScript (" OnClick" , function (self , button )
@@ -93,7 +92,7 @@ function DebugMenuFrame:OnLoad()
93
92
PlaySound (SOUNDKIT .IG_CHARACTER_INFO_TAB )
94
93
end )
95
94
96
- local tabButton = CreateFrame (" Button" , " $parentTabButton3" , frame , " CharacterFrameTabTemplate" )
95
+ local tabButton = CreateFrame (" Button" , " $parentTabButton3" , frame , " CharacterFrameTabTemplate" )
97
96
-- tabButton:SetPoint("TOPLEFT", frame, "BOTTOMLEFT", 11, 2) -- TBD anchor to previous tab, with offset 1,0 ?
98
97
tabButton :SetText (" Defeat Detection" )
99
98
tabButton :SetScript (" OnClick" , function (self , button )
@@ -103,7 +102,7 @@ function DebugMenuFrame:OnLoad()
103
102
PlaySound (SOUNDKIT .IG_CHARACTER_INFO_TAB )
104
103
end )
105
104
106
- local tabButton = CreateFrame (" Button" , " $parentTabButton4" , frame , " CharacterFrameTabTemplate" )
105
+ local tabButton = CreateFrame (" Button" , " $parentTabButton4" , frame , " CharacterFrameTabTemplate" )
107
106
-- tabButton:SetPoint("TOPLEFT", frame, "BOTTOMLEFT", 11, 2) -- TBD anchor to previous tab, with offset 1,0 ?
108
107
tabButton :SetText (" Attempts" )
109
108
tabButton :SetScript (" OnClick" , function (self , button )
@@ -113,8 +112,8 @@ function DebugMenuFrame:OnLoad()
113
112
PlaySound (SOUNDKIT .IG_CHARACTER_INFO_TAB )
114
113
end )
115
114
116
- PanelTemplates_SetNumTabs (frame , 4 );
117
- PanelTemplates_SetTab (frame , 2 );
115
+ PanelTemplates_SetNumTabs (frame , 4 )
116
+ PanelTemplates_SetTab (frame , 2 )
118
117
119
118
-- PanelTemplates_DisableTab(2)
120
119
-- PanelTemplates_DisableTab(3)
@@ -135,18 +134,18 @@ function DebugMenuFrame:OnLoad()
135
134
-- end
136
135
137
136
-- local tabButton = CreateFrame("Button", "$parentTabButton", frame, "TabSystemButtonTemplate,TabSystemTemplate")
138
- -- self.tabButton = tabButton
139
- -- tabButton:SetSize(10, 32)
140
- -- tabButton:SetText("I hate this")
141
- -- tabButton:Init("TabID", "TabText")
142
- -- <Button name="TabSystemButtonTemplate" inherits="TabSystemButtonArtTemplate" mixin="TabSystemButtonMixin" motionScriptsWhileDisabled="true" virtual="true">
143
- -- <Size x="10" y="32"/>
144
- -- <Scripts>
145
- -- <OnEnter method="OnEnter"/>
146
- -- <OnLeave method="OnLeave"/>
147
- -- <OnClick method="OnClick"/>
148
- -- </Scripts>
149
- -- </Button>
137
+ -- self.tabButton = tabButton
138
+ -- tabButton:SetSize(10, 32)
139
+ -- tabButton:SetText("I hate this")
140
+ -- tabButton:Init("TabID", "TabText")
141
+ -- <Button name="TabSystemButtonTemplate" inherits="TabSystemButtonArtTemplate" mixin="TabSystemButtonMixin" motionScriptsWhileDisabled="true" virtual="true">
142
+ -- <Size x="10" y="32"/>
143
+ -- <Scripts>
144
+ -- <OnEnter method="OnEnter"/>
145
+ -- <OnLeave method="OnLeave"/>
146
+ -- <OnClick method="OnClick"/>
147
+ -- </Scripts>
148
+ -- </Button>
150
149
end
151
150
function DebugMenuFrame .OnEvent (event , ...)
152
151
-- Rarity:Debug("DebugMenuFrame.OnEvent: " .. tostring(event))
0 commit comments