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

@ -2269,14 +2269,14 @@ bool UIWindowMgr::ProcessHotkeyAction(int action, int pressed) {
if (GetAsyncKeyState(VK_SHIFT)) {
if (this->hoverWindow && this->hoverWindow->parent->PreviousFocusable(this->hoverWindow) == nullptr) {
InputFocus{this->hoverWindow}.Last();
this->FocusLast();
} else {
InputFocus{this->hoverWindow}.Previous();
this->FocusPrevious();
}
} else if (this->hoverWindow && this->hoverWindow->parent->NextFocusable(this->hoverWindow) == nullptr) {
InputFocus{this->hoverWindow}.First();
this->FocusFirst();
} else {
InputFocus{this->hoverWindow}.Next();
this->FocusNext();
}
return false;