mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
25 lines
347 B
C++
25 lines
347 B
C++
#include "test4.h"
|
|
|
|
|
|
|
|
test4::test4()
|
|
{
|
|
CtrlLayout(*this, "Window title");
|
|
Sizeable();
|
|
|
|
AddFrame(fra.Width(100));
|
|
btn.HCenterPos(80).VSizePos(10, 30);
|
|
|
|
fra.Add(btn);
|
|
|
|
Add(img);
|
|
img.Background(LtGreen());
|
|
// img.HCenterPos(400).VCenterPos(400);
|
|
img.SizePos().LeftPos(0, 500);
|
|
}
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
test4().Run();
|
|
}
|
|
|