2#include "res.mgr/SDpiAwareFont.h"
5static const SStringW KNoneFont = L
"none";
28 if (m_strDesc == KNoneFont)
35 return GETUIDEF->GetFont(strDesc, nScale);
void UpdateFont(int nScale)
Updates the font based on the provided scale.
IFontS * GetFontPtr()
Retrieves the pointer to the current font object.
SDpiAwareFont(void)
Constructor.
IFontS * OnGetFont(const SStringW &strDesc, int nScale)
Retrieves the font object based on the description and scale.
~SDpiAwareFont(void)
Destructor.
void SetFontDesc(const SStringW &strDesc, int nScale)
Sets the font description and scale.
A class representing an ASCII string.