#ifndef _CFONTIMAGEDEF #define _CFONTIMAGEDEF #include #include #include #include class CTexture; class CVector2f; class CFontImageDef { public: CFontImageDef(const TToken< CTexture >& texture, const CVector2f& cropFactor); CFontImageDef(const rstl::vector< TToken< CTexture > >& texture, float fps, const CVector2f& cropFactor); bool IsLoaded() const; // inline short GetWidth() { } int GetHeight() { TToken< CTexture > tex = mTextures[0]; return tex.GetT()->GetHeight() * mCropFactor.GetY(); } int CalculateBaseline(); private: float mFPS; rstl::vector< TToken< CTexture > > mTextures; CVector2f mCropFactor; }; #endif // _CFONTIMAGEDEF