Decompile fn_10817 (UIStaticBitmap::Paint)
Batch #13856 by SapitoSucio: 1 byte-identical, 0 confirmed by peer review. - fn_10817 UIStaticBitmap::Paint: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
73dc70a3b3
commit
fa92062b26
1 changed files with 4 additions and 2 deletions
|
|
@ -42,9 +42,11 @@ void UIStaticBitmap::Paint() {
|
|||
}
|
||||
|
||||
switch (this->geometry.unknown_0030) {
|
||||
case 0:
|
||||
this->DrawBitmap(0, 0, &static_cast<CBitmapRes*>(ResourceMgr::Instance().Load(Resolve(this->bitmap.c_str())))->image, false);
|
||||
case 0: {
|
||||
CBitmapRes* resource = static_cast<CBitmapRes*>(ResourceMgr::Instance().Load(Resolve(this->bitmap.c_str())));
|
||||
this->DrawBitmap(0, 0, resource, false);
|
||||
break;
|
||||
}
|
||||
case 1:
|
||||
this->ClearSurface(0xFFFF00FFu);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue