Initial commit: client source
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
#include "Resource.h"
|
||||
#include "Ref.h"
|
||||
#include "GrpFontTexture.h"
|
||||
|
||||
class CGraphicText : public CResource
|
||||
{
|
||||
public:
|
||||
typedef CRef<CGraphicText> 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;
|
||||
};
|
||||
Reference in New Issue
Block a user