Batch #1689 by ragnarok-clanker: 0 byte-identical, 6 confirmed by peer review. - fn_17197 InputFocus::IsLast: logic confirmed by peer review - fn_17260 InputFocus::Previous: logic confirmed by peer review - fn_16960 UIWindow::NextFocusable: logic confirmed by peer review - fn_16969 UIWindow::PreviousFocusable: logic confirmed by peer review - fn_10911 UIEditCtrl2::SendMsg: logic confirmed by peer review - fn_10913 UIEditCtrl5::SendMsg: logic confirmed by peer review Peer-reviewed-by: eAthena Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
20 lines
408 B
C++
20 lines
408 B
C++
#ifndef RAGNAROK_SOURCE_UI_WINDOW_INPUTFOCUS_H
|
|
#define RAGNAROK_SOURCE_UI_WINDOW_INPUTFOCUS_H
|
|
|
|
class UIWindow;
|
|
|
|
struct InputFocus {
|
|
UIWindow*& window;
|
|
void Set(UIWindow* value);
|
|
void First();
|
|
void Last();
|
|
void Next();
|
|
bool IsLast(UIWindow* value);
|
|
void Previous();
|
|
|
|
void Refresh(UIWindow* const& excludedRoot);
|
|
};
|
|
|
|
void SetPressedWindowRoot(UIWindow*& pressedRoot, UIWindow* window);
|
|
|
|
#endif
|