mirror of https://github.com/AxioDL/metaforce.git
CGuiWidget: Make GetIsFinishedLoading non-const
This commit is contained in:
parent
40fc3f9dd8
commit
3734a09ed3
|
@ -107,7 +107,7 @@ bool CGuiFrame::GetIsFinishedLoading() const {
|
|||
continue;
|
||||
return false;
|
||||
}
|
||||
const_cast<CGuiFrame*>(this)->x58_24_loaded = true;
|
||||
x58_24_loaded = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ private:
|
|||
int x4c_a;
|
||||
int x50_b;
|
||||
int x54_c;
|
||||
bool x58_24_loaded : 1;
|
||||
mutable bool x58_24_loaded : 1;
|
||||
|
||||
zeus::CTransform m_aspectTransform;
|
||||
float m_aspectConstraint = -1.f;
|
||||
|
|
|
@ -227,7 +227,7 @@ CGuiWidget* CGuiWidget::FindWidget(s16 id) {
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
bool CGuiWidget::GetIsFinishedLoading() const { return GetIsFinishedLoadingWidgetSpecific(); }
|
||||
bool CGuiWidget::GetIsFinishedLoading() { return GetIsFinishedLoadingWidgetSpecific(); }
|
||||
|
||||
void CGuiWidget::DispatchInitialize() {
|
||||
Initialize();
|
||||
|
|
|
@ -135,7 +135,7 @@ public:
|
|||
void SetColor(const zeus::CColor& color);
|
||||
void InitializeRGBAFactor();
|
||||
CGuiWidget* FindWidget(s16 id);
|
||||
bool GetIsFinishedLoading() const;
|
||||
bool GetIsFinishedLoading();
|
||||
void DispatchInitialize();
|
||||
void SetDepthGreater(bool v) { xb6_30_depthGreater = v; }
|
||||
void SetDepthTest(bool v) { xb6_31_depthTest = v; }
|
||||
|
|
Loading…
Reference in New Issue