ultimatepp/uppdev/Test/main.cpp
cxl 06491b1fab Developing SDraw
git-svn-id: svn://ultimatepp.org/upp/trunk@715 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-12-25 20:29:42 +00:00

39 lines
548 B
C++

#include "Test.h"
Test::Test()
{
CtrlLayout(*this, "Window title");
TreeCtrl::Node p;
int n;
n = t.Add(0, "DUMMY1");
t.SetLabel(n, "Label");
p = t.GetNode(n);
p.Set("real1");
t.SetNode(n, p);
n = t.Add(0, "DUMMY2");
p = t.GetNode(n);
p.Set("real2");
t.SetNode(n, p);
n = t.Add(0, "DUMMY3");
p = t.GetNode(n);
p.Set("real3");
t.SetNode(n, p);
t.Open(0);
}
GUI_APP_MAIN
{
for(int i = -100; i < 100; i++)
DLOG(i << " " << i % 10 << " " << i % -10);
return;
Test().Run();
}