Maintenance: [forced, user-approved] Family G14: remove the chat bundle family (ChatSuggestions, ChatInputLayout, ChatHeaderLayout, C

Batch #10220 by ragnarok-clanker: forced by an admin (5 lower score(s), 30 changed function(s)); checked with 24 compiled unit(s), including every includer of Source/UI/Chat/UINewChatWnd.h, Source/UI/Chat/UISubChatHisWnd.h, Source/UI/Chat/ChatSuggestions.h.
Deletes: Source/UI/Chat/ChatSuggestions.h
This commit is contained in:
ragnarok-clanker 2026-11-03 00:33:54 +00:00
commit be04fec77e
23 changed files with 227 additions and 321 deletions

View file

@ -2,7 +2,7 @@
#include "Render/Text/FontCache.h"
#include "Render/Text/TextContext.h"
#include "UI/Window/UIHotKeyWnd.h"
#include "UI/Chat/ChatSuggestions.h"
#include "UI/Chat/UINewChatWnd.h"
#include "Client/Session.h"
#include "Client/Mode/ModeTooltip.h"
#include "Contents/Hotkeys/UserHotkeyMgr.h"
@ -780,13 +780,13 @@ int UIHotKeyWnd::SendMsg(
}
g_windowCloseByte = argument2 != 0;
if (g_chatSuggestions) {
if (ChatWindow()) {
if (argument2 != 0) {
reinterpret_cast<UIWindow*>(g_chatSuggestions)->Invalidate();
ChatWindow()->Invalidate();
return 0;
}
reinterpret_cast<ChatInputFocus*>(g_chatSuggestions)->Toggle();
ChatWindow()->ToggleInput();
}
return 0;
case 316: