From fb442b39fabb8fa612d6c457ad141cb729700f14 Mon Sep 17 00:00:00 2001 From: RedLine AI Agent Date: Fri, 5 Sep 2025 21:35:43 +0000 Subject: [PATCH] Updated libs/xassets/xrectdef.h --- libs/xassets/xrectdef.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 libs/xassets/xrectdef.h diff --git a/libs/xassets/xrectdef.h b/libs/xassets/xrectdef.h new file mode 100644 index 0000000..0572186 --- /dev/null +++ b/libs/xassets/xrectdef.h @@ -0,0 +1,32 @@ +#ifndef XRECTDEF_H +#define XRECTDEF_H + +#include "xasset.h" + +class XRectDef : public XAsset +{ +public: + explicit XRectDef(); + ~XRectDef(); + + void ParseData(QDataStream *aStream) override; + void Clear() override; + +private: + float mX; + float mY; + float mW; + float mH; + int mHorzAlign; + int mVertAlign; +}; + +#endif // XRECTDEF_H + + + + + + + +