XPlor/libs/xassets/xwindowdef.h

48 lines
771 B
C++

#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(XDataStream *aStream) override;
void Clear() override;
private:
XString mName;
XRectDef mRect;
XRectDef mRectClient;
XString 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