예제 #1
0
파일: YWidget.cpp 프로젝트: jwk000/YSLib
void
SetSizeOf(IWidget& wgt, const Size& s)
{
	wgt.GetRenderer().SetSize(s);
	wgt.GetView().SetSize(s);
	CallEvent<Resize>(wgt, UIEventArgs(wgt));
}
예제 #2
0
파일: YWidget.cpp 프로젝트: jwk000/YSLib
void
SetLocationOf(IWidget& wgt, const Point& pt)
{
	wgt.GetView().SetLocation(pt);
	CallEvent<Move>(wgt, UIEventArgs(wgt));
}