2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-06-05 13:53:29 +00:00
metaforce/Runtime/GuiSys/CFontImageDef.hpp
2017-01-29 18:16:20 -10:00

30 lines
648 B
C++

#ifndef __URDE_CFONTIMAGEDEF_HPP__
#define __URDE_CFONTIMAGEDEF_HPP__
#include <vector>
#include "CToken.hpp"
#include "zeus/CVector2f.hpp"
namespace urde
{
class CTexture;
class CFontImageDef
{
public:
float x0_fps;
std::vector<TLockedToken<CTexture>> x4_texs;
zeus::CVector2f x14_pointsPerTexel;
CFontImageDef(const std::vector<TToken<CTexture>>& texs, float fps,
const zeus::CVector2f& vec);
CFontImageDef(const TToken<CTexture>& tex, const zeus::CVector2f& vec);
bool IsLoaded() const;
s32 CalculateBaseline() const;
s32 CalculateHeight() const;
};
}
#endif // __URDE_CFONTIMAGEDEF_HPP__