Decompile fn_11715 (UIPayConfirmWnd::Configure)
Batch #18065 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_11715 UIPayConfirmWnd::Configure: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Yommy, alisonrag, KWDev Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
d8dbbff4d4
commit
174d612324
1 changed files with 2 additions and 2 deletions
|
|
@ -1420,12 +1420,12 @@ void UIPayConfirmWnd::Configure(const std::string& text, int itemId) {
|
|||
this->viewer->SetBackgroundColor(0xFFFF00FF);
|
||||
|
||||
auto accept = std::find_if(this->m_children.begin(), this->m_children.end(), [](UIWindow* child) { return child->geometry.id == 187; });
|
||||
if (accept != this->m_children.end()) {
|
||||
if (this->m_children.end() != accept) {
|
||||
(*accept)->Move(0x59, 0x6D);
|
||||
}
|
||||
|
||||
auto cancel = std::find_if(this->m_children.begin(), this->m_children.end(), [](UIWindow* child) { return child->geometry.id == 188; });
|
||||
if (cancel != this->m_children.end()) {
|
||||
if (this->m_children.end() != cancel) {
|
||||
auto* button = static_cast<UIBitmapButton*>(*cancel);
|
||||
button->SetBitmap("유저인터페이스\\basic_interface\\sys_close_off.bmp", 0, 0);
|
||||
button->SetBitmap("유저인터페이스\\basic_interface\\sys_close_on.bmp", 1, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue