Updated libs/xassets/xwindowdef.cpp
This commit is contained in:
parent
c197edaee6
commit
034234a134
55
libs/xassets/xwindowdef.cpp
Normal file
55
libs/xassets/xwindowdef.cpp
Normal 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();
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user