Decompile fn_16935 (UIWindow::DrawBitmap)
Batch #13468 by SapitoSucio: 1 byte-identical, 0 confirmed by peer review. - fn_16935 UIWindow::DrawBitmap: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
07cb1049e7
commit
1ae8969ca9
2 changed files with 13 additions and 2 deletions
|
|
@ -865,8 +865,7 @@ __declspec(noinline) void UIWindow::SetSize(int width, int height) {
|
|||
this->Slot16();
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A7BB60
|
||||
// FUNCTION: fn_16935
|
||||
// INLINED
|
||||
__declspec(noinline) void UIWindow::DrawBitmap(int x, int y, const BitmapImage* image, bool transparent) {
|
||||
if (!this->geometry.surface || !image) {
|
||||
return;
|
||||
|
|
@ -876,6 +875,17 @@ __declspec(noinline) void UIWindow::DrawBitmap(int x, int y, const BitmapImage*
|
|||
this->geometry.surface->Copy(x, y, image->width, image->height, image->pixels, transparent);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A7BB60
|
||||
// FUNCTION: fn_16935
|
||||
__declspec(noinline) void UIWindow::DrawBitmap(int x, int y, CBitmapRes* bitmap, bool transparent) {
|
||||
if (!this->geometry.surface || !bitmap) {
|
||||
return;
|
||||
}
|
||||
|
||||
static_cast<CDCBitmap*>(this->geometry.surface)->SetAlpha(bitmap->image.alpha != 0);
|
||||
this->geometry.surface->Copy(x, y, bitmap->image.width, bitmap->image.height, bitmap->image.pixels, transparent);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A7BD60
|
||||
// FUNCTION: fn_16938
|
||||
__declspec(noinline) void UIWindow::FillRegion(int x, int y, int width, int height, std::uint32_t color) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue