Decompile fn_10796 (UIBitmapEditCtrl::Paint)
Batch #3799 by youko: 0 byte-identical, 1 confirmed by peer review. - fn_10796 UIBitmapEditCtrl::Paint: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, eAthena, Yommy 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
7c0c37d848
commit
5fc913874a
1 changed files with 8 additions and 0 deletions
|
|
@ -130,6 +130,14 @@ void UIEditCtrl3::Slot35(int value) {
|
|||
}
|
||||
|
||||
// OFFSET: 0x0085BB60
|
||||
// FUNCTION: fn_10796
|
||||
void UIBitmapEditCtrl::Paint() {
|
||||
this->ClearSurface(0xFFFFFFFF);
|
||||
CBitmapRes* bitmap = static_cast<CBitmapRes*>(ResourceMgr::Instance().Load(Resolve(this->bitmapName.c_str())));
|
||||
this->DrawBitmap(0, 0, bitmap ? &bitmap->image : nullptr, false);
|
||||
this->textY = 3;
|
||||
this->PaintText();
|
||||
}
|
||||
|
||||
// OFFSET: 0x0085EB50
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue