Maintenance: [forced, user-approved] Remove fabricated UIEditContext scalar fields and InputFocus wrapper (family C1-C4). focus -> UI

Batch #10190 by ragnarok-clanker: forced by an admin (25 lower score(s), 87 changed function(s)); checked with 554 compiled unit(s), including every includer of Source/UI/Chat/ChatSuggestions.h, Source/UI/Edit/ItemTagRetirement.h, Source/UI/Edit/UIEditCtrl.h, Source/UI/Window/InputFocus.h, Source/UI/Window/UIReplayRECControlWnd.h, Source/UI/Window/UIWindow.h, Source/UI/Window/UIWindowMgr.h.
This commit is contained in:
ragnarok-clanker 2026-11-02 20:47:58 +00:00
commit b30b72eee9
37 changed files with 159 additions and 212 deletions

View file

@ -3468,8 +3468,7 @@ void UINavigationV4Wnd::InsertNavigationLink(std::string name, int x, int y) {
} else if (!g_windowMgr.unknown_0024) {
reinterpret_cast<ChatInputFocus*>(g_chatSuggestions)->Toggle();
} else {
InputFocus focus{g_windowMgr.hoverWindow};
focus.Set(g_chatSuggestions->window);
g_windowMgr.SetFocus(g_chatSuggestions->window);
}
g_windowMgr.GetHoverWindow()->SendMsg(nullptr, 153, reinterpret_cast<std::intptr_t>(link.c_str()), 0, 0, 0);