27 lines
488 B
C++
27 lines
488 B
C++
/* -----------------------------------------------------------------------------
|
|
GSFramework
|
|
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
#ifndef __FONTFACTORY__
|
|
#define __FONTFACTORY__
|
|
|
|
|
|
namespace GS {
|
|
struct IFont;
|
|
|
|
/// Font factory.
|
|
struct IFontFactory
|
|
{
|
|
/// Load a font.
|
|
virtual IFont *LoadFont(const char *) = 0;
|
|
|
|
virtual ~IFontFactory() {}
|
|
};
|
|
|
|
} // GS
|
|
|
|
|
|
#endif // __FONTFACTORY__
|