feature/test #9
47
libs/xassets/xwindowdef.h
Normal file
47
libs/xassets/xwindowdef.h
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
#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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user