nui/include/nuiFont.h 1.2 >>> 1.3 |
Line 34 |
public:
// Constructors and destructors are protected!
// static nuiFont* GetFont (nglIStream* pInput); ///< Create a font from an input stream.
|
- static nuiFont* GetFont (const nglPath& rPath, nuiSize size); ///< Create a font from a path.
|
+ static nuiFont* GetFont (const nglPath& rPath, nuiSize size, int face = 0); ///< Create a font from a path.
|
static nuiFont* GetFont (nuiXMLNode* pNode); ///< Create a font from an xml description.
|
- static nglString GetUniqueID(const nglString& rFace, nuiSize size); ///< Get a text unique id for this font definition.
|
+ static nglString GetUniqueID(const nglString& rFace, nuiSize size, int face); ///< Get a text unique id for this font definition.
|
protected:
//nuiFont (nglIStream* pInput); ///< Create a font from an input stream.
|
- nuiFont (const nglPath& rPath, nuiSize size); ///< Create a font from a path.
|
+ nuiFont (const nglPath& rPath, nuiSize size, int face); ///< Create a font from a path.
|
nuiFont (nuiXMLNode* pNode); ///< Create a font from an xml description.
virtual ~nuiFont();
|