mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
18 lines
354 B
C++
18 lines
354 B
C++
#include "CtrlPosTest2.h"
|
|
|
|
CtrlPosTest2::CtrlPosTest2()
|
|
{
|
|
CtrlLayout(vis);
|
|
SetRect(vis.GetRect()); //same size as the child
|
|
Add(vis.SizePos());
|
|
|
|
Sizeable().Zoomable();
|
|
|
|
hk.Visit(vis); //will add itself to vis->GetParent --> to this TopWindow with same vis.GetPos to cover it perfectly.
|
|
}
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
CtrlPosTest2().Run();
|
|
}
|
|
|