mirror of
https://github.com/duilib/duilib.git
synced 2026-10-18 06:46:58 +08:00
29 lines
460 B
C++
29 lines
460 B
C++
#include "StdAfx.h"
|
|
#include "Canvas.h"
|
|
|
|
CCanvasUI::CCanvasUI()
|
|
{
|
|
|
|
}
|
|
|
|
CCanvasUI::~CCanvasUI()
|
|
{
|
|
|
|
}
|
|
|
|
LPCTSTR CCanvasUI::GetClass() const
|
|
{
|
|
return DUI_CTR_CANVAS;
|
|
}
|
|
|
|
LPVOID CCanvasUI::GetInterface(LPCTSTR pstrName)
|
|
{
|
|
if( _tcscmp(pstrName, DUI_CTR_CANVAS) == 0 ) return static_cast<CCanvasUI*>(this);
|
|
return CControlUI::GetInterface(pstrName);
|
|
}
|
|
|
|
void CCanvasUI::DoEvent(TEventUI& event)
|
|
{
|
|
// if m_rcItem.left < 20 左边可以修改
|
|
}
|