Add xgfxcolor structures
This commit is contained in:
parent
65a37363e6
commit
f9604bc858
19
libs/xassets/xgfxcolor.cpp
Normal file
19
libs/xassets/xgfxcolor.cpp
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#include "xgfxcolor.h"
|
||||||
|
|
||||||
|
XGfxColor::XGfxColor()
|
||||||
|
: XAsset()
|
||||||
|
, mPacked(0)
|
||||||
|
, mArray()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void XGfxColor::ParseData(QDataStream *aStream)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void XGfxColor::Clear()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
19
libs/xassets/xgfxcolor.h
Normal file
19
libs/xassets/xgfxcolor.h
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#ifndef XGFXCOLOR_H
|
||||||
|
#define XGFXCOLOR_H
|
||||||
|
|
||||||
|
#include "xasset.h"
|
||||||
|
|
||||||
|
class XGfxColor : public XAsset
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
explicit XGfxColor();
|
||||||
|
|
||||||
|
void ParseData(QDataStream *aStream) override;
|
||||||
|
void Clear() override;
|
||||||
|
|
||||||
|
private:
|
||||||
|
unsigned int mPacked;
|
||||||
|
quint8 mArray[4];
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // XGFXCOLOR_H
|
||||||
Loading…
x
Reference in New Issue
Block a user