2022-11-07 17:06:11 +00:00
|
|
|
#ifndef _CGUIPANE
|
|
|
|
#define _CGUIPANE
|
|
|
|
|
|
|
|
#include "GuiSys/CGuiWidget.hpp"
|
|
|
|
|
|
|
|
class CGuiPane : public CGuiWidget {
|
|
|
|
public:
|
|
|
|
CGuiPane(const CGuiWidgetParms& parms, const CVector2f& dim, const CVector3f& scaleCenter);
|
|
|
|
|
2023-02-06 07:21:28 +00:00
|
|
|
void Draw(const CGuiWidgetDrawParms& parms) const;
|
2022-11-07 17:06:11 +00:00
|
|
|
virtual void ScaleDimensions(const CVector3f& scale);
|
|
|
|
virtual void SetDimensions(const CVector2f& dim, bool initVBO);
|
|
|
|
virtual CVector2f GetDimensions() const;
|
|
|
|
virtual void InitializeBuffers();
|
|
|
|
virtual void WriteData(COutputStream& out, bool flag) const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
CVector2f xb8_dim;
|
|
|
|
uchar xc0_pad[8];
|
|
|
|
CVector3f xc8_scaleCenter;
|
|
|
|
};
|
|
|
|
CHECK_SIZEOF(CGuiPane, 0xd4)
|
|
|
|
|
|
|
|
#endif // _CGUIPANE
|