ultimatepp/bazaar/CtrlPosTest2/main.cpp
kohait 1814c7ac74 bazaar: CtrlProp, CtrlFinder, CtrlMover, CtrlPos: cleanup and get rid of Visiting interface
git-svn-id: svn://ultimatepp.org/upp/trunk@3752 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-08-07 17:22:51 +00:00

18 lines
359 B
C++

#include "CtrlPosTest2.h"
CtrlPosTest2::CtrlPosTest2()
{
CtrlLayout(vis);
SetRect(vis.GetRect()); //same size as the child
Add(vis.SizePos());
Sizeable().Zoomable();
hk.SetSource(&vis); //will add itself to vis->GetParent --> to this TopWindow with same vis.GetPos to cover it perfectly.
}
GUI_APP_MAIN
{
CtrlPosTest2().Run();
}