#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();

    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<int> mDynamicFlags;
    int mNextTime;
    QColor mForeColor;
    QColor mBackColor;
    QColor mBorderColor;
    QColor mOutlineColor;
    XMaterial *mBackground;
};

#endif // XWINDOWDEF_H








