XPlor/libs/xassets/xwindowdef.h

48 lines
771 B
C
Raw Normal View History

2025-09-05 21:36:01 +00:00
#ifndef XWINDOWDEF_H
#define XWINDOWDEF_H
#include "xasset.h"
#include "xmaterial.h"
#include "xrectdef.h"
#include <QColor>
class XWindowDef : public XAsset
{
public:
explicit XWindowDef();
~XWindowDef();
2025-09-10 21:58:26 -04:00
void ParseData(XDataStream *aStream) override;
2025-09-05 21:36:01 +00:00
void Clear() override;
private:
XString mName;
2025-09-05 21:36:01 +00:00
XRectDef mRect;
XRectDef mRectClient;
XString mGroup;
2025-09-05 21:36:01 +00:00
int mStyle;
int mBorder;
int mOwnerDraw;
int mOwnerDrawFlags;
float mBorderSize;
int mStaticFlags;
QVector<int> mDynamicFlags;
int mNextTime;
QColor mForeColor;
QColor mBackColor;
QColor mBorderColor;
QColor mOutlineColor;
XMaterial mBackground;
2025-09-05 21:36:01 +00:00
};
#endif // XWINDOWDEF_H