Updated libs/xassets/xwindowdef.cpp

This commit is contained in:
RedLine AI Agent 2025-09-05 21:36:00 +00:00
parent c197edaee6
commit 034234a134

View File

@ -0,0 +1,55 @@
#include "xwindowdef.h"
XWindowDef::XWindowDef()
: XAsset()
, mName("")
, mRect()
, mRectClient()
, mGroup("")
, mStyle(0)
, mBorder(0)
, mOwnerDraw(0)
, mOwnerDrawFlags(0)
, mBorderSize(0.0f)
, mStaticFlags(0)
, mDynamicFlags(4)
, mNextTime(0)
, mForeColor()
, mBackColor()
, mBorderColor()
, mOutlineColor()
, mBackground(new XMaterial())
{
}
XWindowDef::~XWindowDef()
{
}
void XWindowDef::ParseData(QDataStream *aStream)
{
}
void XWindowDef::Clear()
{
mName.clear();
mRect.Clear();
mRectClient.Clear();
mGroup.clear();
mStyle = 0;
mBorder = 0;
mOwnerDraw = 0;
mOwnerDrawFlags = 0;
mBorderSize = 0.0f;
mStaticFlags = 0;
mDynamicFlags = QVector<int>(4);
mNextTime = 0;
mForeColor = QColor();
mBackColor = QColor();
mBorderColor = QColor();
mOutlineColor = QColor();
mBackground->Clear();
}