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 a2e9683ba3 - Show all commits

26
libs/xassets/xfont.h Normal file
View File

@ -0,0 +1,26 @@
#ifndef XFONT_H
#define XFONT_H
#include "xasset.h"
#include "xglyph.h"
#include "xmaterial.h"
class XFont : public XAsset
{
public:
explicit XFont();
~XFont();
void Clear() override;
void ParseData(QDataStream *aStream) override;
private:
QString mFontName;
int mPixelHeight;
int mGlyphCount;
XMaterial *mMaterial;
XMaterial *mGlowMaterial;
QVector<XGlyph> mGlyphs;
};
#endif // XFONT_H