#pragma once #include "Resource.h" #include "Ref.h" #include "GrpFontTexture.h" class CGraphicText : public CResource { public: typedef CRef TRef; public: static TType Type(); public: CGraphicText(const char* c_szFileName); virtual ~CGraphicText(); virtual bool CreateDeviceObjects(); virtual void DestroyDeviceObjects(); CGraphicFontTexture * GetFontTexturePointer(); protected: bool OnLoad(int iSize, const void * c_pvBuf); void OnClear(); bool OnIsEmpty() const; bool OnIsType(TType type); protected: CGraphicFontTexture m_fontTexture; }; //martysama0134's 2e58d0b8baeb072acdf3afc4a5d1999f