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:
parent
e844522fe1
commit
b30b72eee9
37 changed files with 159 additions and 212 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue