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.
25 lines
436 B
25 lines
436 B
#pragma once
|
|
namespace SOUI
|
|
{
|
|
class SRoundImage : public SImageWnd
|
|
{
|
|
SOUI_CLASS_NAME(SRoundImage,L"roundImg")
|
|
private:
|
|
SAutoRefPtr<IBitmap> m_img;
|
|
public:
|
|
SRoundImage();
|
|
~SRoundImage();
|
|
|
|
protected:
|
|
SAutoRefPtr<IBitmap> GetRoundImage() const;
|
|
|
|
void OnPaint(IRenderTarget *pRT);
|
|
void OnSize(UINT nType, CSize size);
|
|
SOUI_MSG_MAP_BEGIN()
|
|
MSG_WM_SIZE(OnSize)
|
|
MSG_WM_PAINT_EX(OnPaint)
|
|
SOUI_MSG_MAP_END()
|
|
};
|
|
|
|
}
|
|
|
|
|