You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
375 B
26 lines
375 B
#pragma once
|
|
|
|
|
|
namespace SOUI
|
|
{
|
|
class SOUI_EXP SDpiAwareFont
|
|
{
|
|
public:
|
|
SDpiAwareFont(void);
|
|
~SDpiAwareFont(void);
|
|
|
|
|
|
IFont * GetFontPtr();
|
|
|
|
void SetFontDesc(const SStringW & strDesc, int nScale);
|
|
|
|
void UpdateFont(int nScale);
|
|
|
|
protected:
|
|
IFont * OnGetFont(const SStringW & strDesc,int nScale);
|
|
|
|
SStringW m_strDesc;
|
|
SAutoRefPtr<IFont> m_object;
|
|
};
|
|
|
|
}
|
|
|