feature/test #9

Merged
njohnson merged 318 commits from feature/test into main 2025-09-07 12:35:21 -04:00
Showing only changes of commit f7444171e3 - Show all commits

34
libs/xassets/xfont.cpp Normal file
View File

@ -0,0 +1,34 @@
#include "xfont.h"
XFont::XFont()
: XAsset()
, mFontName("")
, mPixelHeight(0)
, mGlyphCount(0)
, mMaterial(new XMaterial())
, mGlowMaterial(new XMaterial())
, mGlyphs()
{
SetType(ASSET_TYPE_FONT);
SetName("Font");
}
XFont::~XFont()
{
}
void XFont::Clear()
{
mFontName = "";
mPixelHeight = 0;
mGlyphCount = 0;
delete mMaterial;
delete mGlowMaterial;
mGlyphs.clear();
}
void XFont::ParseData(QDataStream *aStream)
{
}