Decompile fn_09613 (UIHairStyleButton::Slot15)
Batch #6352 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_09613 UIHairStyleButton::Slot15: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, alisonrag, gordaoprogramas 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
9885afd93f
commit
aaada7d153
2 changed files with 13 additions and 0 deletions
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <new>
|
||||
|
||||
// OFFSET: 0x007DB320
|
||||
// FUNCTION: fn_09617
|
||||
|
|
@ -201,3 +202,12 @@ int UIHairStyleButton::SendMsg(UIWindow* sender, int message, std::intptr_t argu
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// OFFSET: 0x007DA290
|
||||
// FUNCTION: fn_09613
|
||||
void UIHairStyleButton::Slot15(int width, int height) {
|
||||
this->m_preview = new (std::nothrow) UIHairBitmap(*this->m_context, *this->m_buttonContext);
|
||||
this->m_preview->SetSize(36, 37);
|
||||
this->AddChild(this->m_preview);
|
||||
this->SendMsg(nullptr, 40, 0, 0, 0, 0);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
class UIHairBitmap : public UIBitmapButton {
|
||||
public:
|
||||
using UIBitmapButton::UIBitmapButton;
|
||||
|
||||
void Slot25(int x, int y) override;
|
||||
void Slot26(int x, int y) override;
|
||||
void Slot27(int x, int y) override;
|
||||
|
|
@ -17,6 +19,7 @@ public:
|
|||
|
||||
class UIHairStyleButton : public UIBitmapButton {
|
||||
public:
|
||||
void Slot15(int width, int height) override;
|
||||
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
|
||||
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue