comparison ui/CombatLogTab.lua @ 15:218628cb4a29 v1.2.16.0

removed test button from combat log tab
author yellowfive
date Thu, 10 Jul 2014 15:31:17 -0700
parents ece9167c0d1c
children e77e01abce98
comparison
equal deleted inserted replaced
14:67fcc0f83329 15:218628cb4a29
157 157
158 text = CreateText(content, "GameFontNormalSmall", text, 0, -30, L.AMR_COMBATLOGTAB_INSTRUCTIONS_5) 158 text = CreateText(content, "GameFontNormalSmall", text, 0, -30, L.AMR_COMBATLOGTAB_INSTRUCTIONS_5)
159 text = CreateText(content, "GameFontNormalSmall", text, 0, -10, L.AMR_COMBATLOGTAB_INSTRUCTIONS_6) 159 text = CreateText(content, "GameFontNormalSmall", text, 0, -10, L.AMR_COMBATLOGTAB_INSTRUCTIONS_6)
160 text = CreateText(content, "GameFontNormalSmall", text, 0, -10, L.AMR_COMBATLOGTAB_INSTRUCTIONS_7) 160 text = CreateText(content, "GameFontNormalSmall", text, 0, -10, L.AMR_COMBATLOGTAB_INSTRUCTIONS_7)
161 161
162 --[[
162 btn = CreateFrame("Button", "AmrCombatLogTest", tab, "UIPanelButtonTemplate") 163 btn = CreateFrame("Button", "AmrCombatLogTest", tab, "UIPanelButtonTemplate")
163 btn:SetPoint("TOPLEFT", text, "BOTTOMLEFT", 0, -15) 164 btn:SetPoint("TOPLEFT", text, "BOTTOMLEFT", 0, -15)
164 btn:SetText("Test") 165 btn:SetText("Test")
165 btn:SetWidth(120) 166 btn:SetWidth(120)
166 btn:SetHeight(30) 167 btn:SetHeight(30)
170 local t = time() 171 local t = time()
171 AskMrRobot.SaveAll() 172 AskMrRobot.SaveAll()
172 AskMrRobot.ExportToAddonChat(t) 173 AskMrRobot.ExportToAddonChat(t)
173 AskMrRobot.ExportLoggingData(t) 174 AskMrRobot.ExportLoggingData(t)
174 end) 175 end)
176 ]]
175 177
176 -- when we start up, ensure that logging is still enabled if it was enabled when they last used the addon 178 -- when we start up, ensure that logging is still enabled if it was enabled when they last used the addon
177 if (tab:IsLogging()) then 179 if (tab:IsLogging()) then
178 SetCVar("advancedCombatLogging", 1) 180 SetCVar("advancedCombatLogging", 1)
179 LoggingCombat(true) 181 LoggingCombat(true)