Batch #11664 by StrawberrysherbetIX: 0 byte-identical, 1 confirmed by peer review. - fn_17217 UIWindowMgr::ShowDropDown: logic confirmed by peer review (already on main) Peer-reviewed-by: Yommy, cremane Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
24 lines
583 B
C++
24 lines
583 B
C++
#ifndef RAGNAROK_SOURCE_UI_LISTS_UIDROPDOWNBOX_H
|
|
#define RAGNAROK_SOURCE_UI_LISTS_UIDROPDOWNBOX_H
|
|
|
|
#include "UI/Window/UIControl.h"
|
|
|
|
|
|
class CUIDropDownBox : public CUIControl {
|
|
public:
|
|
CUIDropDownBox();
|
|
~CUIDropDownBox() override;
|
|
void Paint() override;
|
|
void Detach();
|
|
bool HasChild(const UIWindow* window) const;
|
|
bool HasOwnerChild(const UIWindow* window) const;
|
|
__declspec(noinline) void Attach(UIWindow* owner, UIWindow* child);
|
|
|
|
/* 0080 */ UIWindow* owner;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(CUIDropDownBox) == 0x84);
|
|
#endif
|
|
|
|
#endif
|