Decompile fn_17133 (UIWindowMgr::CloseDropDown)
Batch #16261 by kyoshi: 1 byte-identical, 0 confirmed by peer review. - fn_17133 UIWindowMgr::CloseDropDown: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
f74c95895a
commit
a494f4ea70
2 changed files with 12 additions and 12 deletions
|
|
@ -87,15 +87,3 @@ void UIWindowMgr::ShowDropDown(UIWindow* owner, UIWindow* child, int x, int y) {
|
|||
popup->Show(1);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A8C750
|
||||
// FUNCTION: fn_17133
|
||||
bool UIWindowMgr::CloseDropDown() {
|
||||
CUIDropDownBox* popup = static_cast<CUIDropDownBox*>(this->dropDownBoxWnd);
|
||||
if (!popup || popup->geometry.visible == 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
popup->Detach();
|
||||
popup->Show(0);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2153,6 +2153,18 @@ void UIWindowMgr::CloseMiniPartyWindow(int id) {
|
|||
RefreshPartyWindows(&g_session);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A8C750
|
||||
// FUNCTION: fn_17133
|
||||
bool UIWindowMgr::CloseDropDown() {
|
||||
if (!this->dropDownBoxWnd || this->dropDownBoxWnd->geometry.visible == 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
static_cast<CUIDropDownBox*>(this->dropDownBoxWnd)->Detach();
|
||||
this->dropDownBoxWnd->Show(0);
|
||||
return true;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A8CA20
|
||||
// FUNCTION: fn_17139
|
||||
bool UIWindowMgr::ProcessEnterKey() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue