metaforce/Runtime/GuiSys/CFontImageDef.hpp

28 lines
574 B
C++
Raw Normal View History

2016-03-19 00:07:31 +00:00
#ifndef __URDE_CFONTIMAGEDEF_HPP__
#define __URDE_CFONTIMAGEDEF_HPP__
2016-03-20 00:32:30 +00:00
#include <vector>
#include "CToken.hpp"
#include "zeus/CVector2f.hpp"
2016-03-19 00:07:31 +00:00
namespace urde
{
2016-03-20 00:32:30 +00:00
class CTexture;
2016-03-19 00:07:31 +00:00
class CFontImageDef
{
2016-03-20 06:37:08 +00:00
public:
2016-03-20 00:32:30 +00:00
float x0_interval;
std::vector<TToken<CTexture>> x4_texs;
2016-03-20 06:37:08 +00:00
zeus::CVector2f x14_pointsPerTexel;
2016-03-20 00:32:30 +00:00
CFontImageDef(std::vector<TToken<CTexture>>&& texs, float interval,
const zeus::CVector2f& vec);
CFontImageDef(TToken<CTexture>&& tex, const zeus::CVector2f& vec);
bool IsLoaded() const;
2016-03-19 00:07:31 +00:00
};
}
#endif // __URDE_CFONTIMAGEDEF_HPP__