Add debug log from retail

This commit is contained in:
NoM0Re
2025-01-06 12:52:38 +01:00
parent 13ab335094
commit 873748218a
10 changed files with 309 additions and 4 deletions
@@ -212,6 +212,7 @@ function OptionsPrivate.CreateFrame()
self.update.frame:Hide()
self.texteditor.frame:Hide()
self.codereview.frame:Hide()
self.debugLog.frame:Hide()
if self.newView then
self.newView.frame:Hide()
end
@@ -292,6 +293,12 @@ function OptionsPrivate.CreateFrame()
else
self.update.frame:Hide()
end
if self.window == "debuglog" then
OptionsPrivate.SetTitle(L["Debug Log"])
self.debugLog.frame:Show()
else
self.debugLog.frame:Hide()
end
if self.window == "default" then
if self.loadProgessVisible then
self.loadProgress:Show()
@@ -486,6 +493,7 @@ function OptionsPrivate.CreateFrame()
frame.texteditor = OptionsPrivate.TextEditor(frame)
frame.codereview = OptionsPrivate.CodeReview(frame)
frame.update = OptionsPrivate.UpdateFrame(frame)
frame.debugLog = OptionsPrivate.DebugLog(frame)
frame.moversizer, frame.mover = OptionsPrivate.MoverSizer(frame)