From 46606f529d89be399cf212a75fa641609aa09655 Mon Sep 17 00:00:00 2001 From: RedLine AI Agent Date: Fri, 5 Sep 2025 21:36:01 +0000 Subject: [PATCH] Updated libs/xassets/xwindowdef.h --- libs/xassets/xwindowdef.h | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 libs/xassets/xwindowdef.h diff --git a/libs/xassets/xwindowdef.h b/libs/xassets/xwindowdef.h new file mode 100644 index 0000000..fd98c3e --- /dev/null +++ b/libs/xassets/xwindowdef.h @@ -0,0 +1,47 @@ +#ifndef XWINDOWDEF_H +#define XWINDOWDEF_H + +#include "xasset.h" +#include "xmaterial.h" +#include "xrectdef.h" + +#include + +class XWindowDef : public XAsset +{ +public: + explicit XWindowDef(); + ~XWindowDef(); + + void ParseData(QDataStream *aStream) override; + void Clear() override; + +private: + QString mName; + XRectDef mRect; + XRectDef mRectClient; + QString mGroup; + int mStyle; + int mBorder; + int mOwnerDraw; + int mOwnerDrawFlags; + float mBorderSize; + int mStaticFlags; + QVector mDynamicFlags; + int mNextTime; + QColor mForeColor; + QColor mBackColor; + QColor mBorderColor; + QColor mOutlineColor; + XMaterial *mBackground; +}; + +#endif // XWINDOWDEF_H + + + + + + + +