if this:GetID() == 1 then
this:RegisterEvent("EXECUTE_CHAT_LINE")
this:RegisterEvent("UPDATE_CHAT_WINDOWS")
end
-- `isDocked` — the reference's own flag, and it is LOAD-BEARING now rather than an
-- advertisement. Only this template is inherited, and only ChatFrame1/ChatFrame2
-- inherit it, so every frame that reaches this line is docked: they share one rect
-- (window 2's anchors are window 1's corners) and one tab strip.
--
-- This file used to withhold the flag on the grounds that it "belongs to a dock
-- MODEL (dock/undock, FCF_DockUpdate's re-anchoring) that 0288 §2 holds out", i.e.
-- setting it would advertise verbs we do not have. What changed is that the
-- reference's move and resize gates READ it — `chatFrame.isDocked and chatFrame ~=
-- DEFAULT_CHAT_FRAME` is the clause that keeps the Combat Log from being resized
-- out of the dock it is anchored into — so withholding it now means the gate that
-- protects window 2 silently never fires. The flag is a fact about our two windows;
-- the verbs remain out.
this.isDocked = 1
if event == "EXECUTE_CHAT_LINE" then
SubmitChatInput(arg1)
elseif event == "UPDATE_CHAT_WINDOWS" then
BenillaFCF_LoadWindowLooks()
end
ChatFrame_OnUpdate(arg1)
-- WoW wheel convention: +1 per notch up, -1 down. Up = older messages.
if arg1 > 0 then this:ScrollUp() else this:ScrollDown() end
BenillaChatFrame_DismissCursor(arg1)
SetItemRef(arg1, arg2, arg3)
FCF_StartMove(this)
FCF_StopMove(this)
FCF_OnUpdate(arg1)
if arg1 > 0 then this:ScrollUp() else this:ScrollDown() end
SetItemRef(arg1, arg2, arg3)
if arg1 > 0 then this:ScrollUp() else this:ScrollDown() end
SetItemRef(arg1, arg2, arg3)
if arg1 > 0 then this:ScrollUp() else this:ScrollDown() end
SetItemRef(arg1, arg2, arg3)
if arg1 > 0 then this:ScrollUp() else this:ScrollDown() end
SetItemRef(arg1, arg2, arg3)
if arg1 > 0 then this:ScrollUp() else this:ScrollDown() end
SetItemRef(arg1, arg2, arg3)
UIMenu_OnShow()
PlaySound("UChatScrollButton")
this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b)
this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b)
UIMenu_OnUpdate(arg1)
BenillaOnEmoteMenuLoad(BenillaEmoteMenuList)
BenillaOnEmoteMenuLoad(BenillaVoiceMacroList)
ChatMenu_OnLoad()
UIMenu_OnShow()
EmoteMenu:Hide()
VoiceMacroMenu:Hide()
this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b)
this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b)
SubmitChatInput(this:GetText())
this:SetText("")
this:ClearFocus()
this:Hide()
this:SetText("")
this:ClearFocus()
this:Hide()
BenillaChatTabPressed()