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:
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|