Decompile fn_11298 (UIBmpRadioBtn2::Invalidate)
Batch #6460 by SapitoSucio: 1 byte-identical, 0 confirmed by peer review. - fn_11298 UIBmpRadioBtn2::Invalidate: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
c49e8cf6e2
commit
eb5cb2853a
3 changed files with 15 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ protected:
|
|||
|
||||
class UIBmpRadioBtn2 : public UIBmpRadioBtn {
|
||||
public:
|
||||
void Invalidate() override;
|
||||
void Slot47() override;
|
||||
void Slot48() override;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -350,6 +350,16 @@ void UIBmpRadioBtn::AddText(int id, int height, std::uint32_t color, bool bold,
|
|||
this->m_texts.push_back(text);
|
||||
}
|
||||
|
||||
// OFFSET: 0x008816B0
|
||||
// FUNCTION: fn_11298
|
||||
void UIBmpRadioBtn2::Invalidate() {
|
||||
UIWindow::Invalidate();
|
||||
|
||||
if (this->parent != nullptr && !this->parent->IsCached()) {
|
||||
this->parent->SendMsg(this, 60, 0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x007C7CA0
|
||||
// FUNCTION: fn_09408
|
||||
void UIBmpRadioBtn2::Slot47() {
|
||||
|
|
|
|||
|
|
@ -212,6 +212,10 @@ public:
|
|||
return this->unknown_0048;
|
||||
}
|
||||
|
||||
bool IsCached() const {
|
||||
return this->m_cached != 0;
|
||||
}
|
||||
|
||||
/* 0010 */ UIWindow* parent;
|
||||
/* 0014 */ WindowGeometry geometry;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue