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.
23 lines
472 B
23 lines
472 B
#pragma once
|
|
|
|
namespace SOUI{
|
|
|
|
class SStaticGdip : public SStatic
|
|
{
|
|
SOUI_CLASS_NAME(SStaticGdip,L"text2")
|
|
public:
|
|
SStaticGdip(void);
|
|
~SStaticGdip(void);
|
|
|
|
public:
|
|
static BOOL initGdip();
|
|
static void uninitGdip();
|
|
protected:
|
|
void OnDrawLine(IRenderTarget * pRT, LPCTSTR pszBuf, int iBegin, int cchText, LPRECT pRect, UINT uFormat) override;
|
|
SIZE OnMeasureText(IRenderTarget *pRT,LPCTSTR pszText,int cchLen) override;
|
|
private:
|
|
static ULONG_PTR s_gdiPlusToken;
|
|
};
|
|
|
|
}
|
|
|
|
|