Decompile fn_14419 (CUIDropDownBox::Paint)
Batch #11710 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_14419 CUIDropDownBox::Paint: logic confirmed by peer review Peer-reviewed-by: Yommy, 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
23a0f50213
commit
ef68cf0fb5
1 changed files with 4 additions and 4 deletions
|
|
@ -54,11 +54,11 @@ void CUIDropDownBox::Attach(UIWindow* value, UIWindow* child) {
|
|||
// OFFSET: 0x009E34D0
|
||||
// FUNCTION: fn_14419
|
||||
void CUIDropDownBox::Paint() {
|
||||
if (this->geometry.surface) {
|
||||
this->geometry.surface->Fill(nullptr, 0xFFFFFFFFu);
|
||||
}
|
||||
const std::uint32_t background = 0xFFFFFFFFu;
|
||||
this->ClearSurface(background);
|
||||
|
||||
DrawRectangleBorder(*this, 0, 0, this->geometry.width, this->geometry.height, 0x00C6C6C6u);
|
||||
const std::uint32_t border = 0x00C6C6C6u;
|
||||
DrawRectangleBorder(*this, 0, 0, this->geometry.width, this->geometry.height, border);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00AA27B0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue