mirror of https://github.com/PrimeDecomp/prime.git
parent
4f772afca4
commit
79cd0d0c6b
|
@ -7,8 +7,8 @@ class CGuiCompoundWidget : public CGuiWidget {
|
||||||
public:
|
public:
|
||||||
FourCC GetWidgetTypeID() const override { return -1; }
|
FourCC GetWidgetTypeID() const override { return -1; }
|
||||||
|
|
||||||
void OnVisibleChange() override;
|
void OnVisible() override;
|
||||||
void OnActiveChange() override;
|
void OnActivate() override;
|
||||||
virtual CGuiWidget* GetWorkerWidget(int id) const;
|
virtual CGuiWidget* GetWorkerWidget(int id) const;
|
||||||
private:
|
private:
|
||||||
};
|
};
|
||||||
|
|
|
@ -11,7 +11,7 @@ public:
|
||||||
CGuiWidget* GetSelectedWidget();
|
CGuiWidget* GetSelectedWidget();
|
||||||
const CGuiWidget* GetSelectedWidget() const;
|
const CGuiWidget* GetSelectedWidget() const;
|
||||||
bool AddWorkerWidget(CGuiWidget* worker) override;
|
bool AddWorkerWidget(CGuiWidget* worker) override;
|
||||||
void OnActiveChange() override;
|
void OnActivate() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
uint xb8_workerCount;
|
uint xb8_workerCount;
|
||||||
|
|
|
@ -14,10 +14,10 @@ public:
|
||||||
bool flag);
|
bool flag);
|
||||||
|
|
||||||
const TLockedToken< CModel >& GetModel() const { return xb8_model; }
|
const TLockedToken< CModel >& GetModel() const { return xb8_model; }
|
||||||
bool GetIsFinishedLoadingWidgetSpecific() override;
|
bool GetIsFinishedLoadingWidgetSpecific() const override;
|
||||||
void Touch() override;
|
void Touch() const override;
|
||||||
void Draw(const CGuiWidgetDrawParms& parms) override;
|
void Draw(const CGuiWidgetDrawParms& parms) const override;
|
||||||
bool TestCursorHit(const CMatrix4f& vp, const CVector2f& point) const override;
|
// bool TestCursorHit(const CMatrix4f& vp, const CVector2f& point) const override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
TLockedToken< CModel > xb8_model;
|
TLockedToken< CModel > xb8_model;
|
||||||
|
|
|
@ -7,7 +7,7 @@ class CGuiPane : public CGuiWidget {
|
||||||
public:
|
public:
|
||||||
CGuiPane(const CGuiWidgetParms& parms, const CVector2f& dim, const CVector3f& scaleCenter);
|
CGuiPane(const CGuiWidgetParms& parms, const CVector2f& dim, const CVector3f& scaleCenter);
|
||||||
|
|
||||||
void Draw(const CGuiWidgetDrawParms& parms) override;
|
void Draw(const CGuiWidgetDrawParms& parms) const override;
|
||||||
virtual void ScaleDimensions(const CVector3f& scale);
|
virtual void ScaleDimensions(const CVector3f& scale);
|
||||||
virtual void SetDimensions(const CVector2f& dim, bool initVBO);
|
virtual void SetDimensions(const CVector2f& dim, bool initVBO);
|
||||||
virtual CVector2f GetDimensions() const;
|
virtual CVector2f GetDimensions() const;
|
||||||
|
|
|
@ -20,11 +20,11 @@ public:
|
||||||
CGuiTextSupport& TextSupport() { return xd4_textSupport; }
|
CGuiTextSupport& TextSupport() { return xd4_textSupport; }
|
||||||
const CGuiTextSupport& GetTextSupport() const { return xd4_textSupport; }
|
const CGuiTextSupport& GetTextSupport() const { return xd4_textSupport; }
|
||||||
void Update(float dt) override;
|
void Update(float dt) override;
|
||||||
bool GetIsFinishedLoadingWidgetSpecific() override;
|
bool GetIsFinishedLoadingWidgetSpecific() const override;
|
||||||
void SetDimensions(const CVector2f& dim, bool initVBO) override;
|
void SetDimensions(const CVector2f& dim, bool initVBO) override;
|
||||||
void ScaleDimensions(const CVector3f& scale) override;
|
void ScaleDimensions(const CVector3f& scale) override;
|
||||||
void Draw(const CGuiWidgetDrawParms& parms) override;
|
void Draw(const CGuiWidgetDrawParms& parms) const override;
|
||||||
bool TestCursorHit(const CMatrix4f& vp, const CVector2f& point) const override;
|
// bool TestCursorHit(const CMatrix4f& vp, const CVector2f& point) const override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
CGuiTextSupport xd4_textSupport;
|
CGuiTextSupport xd4_textSupport;
|
||||||
|
|
|
@ -22,7 +22,7 @@ bool CAudioSys::mProLogic2 = true;
|
||||||
|
|
||||||
const rstl::string CAudioSys::mpDefaultInvalidString(rstl::string_l("NULL"));
|
const rstl::string CAudioSys::mpDefaultInvalidString(rstl::string_l("NULL"));
|
||||||
|
|
||||||
void* DoMalloc(size_t len) { return new char[len]; }
|
void* DoMalloc(u32 len) { return new char[len]; }
|
||||||
|
|
||||||
void DoFree(void* ptr) {
|
void DoFree(void* ptr) {
|
||||||
if (!ptr) {
|
if (!ptr) {
|
||||||
|
|
Loading…
Reference in New Issue