ultimatepp/uppdev/LineEditTest/main.cpp
cxl 4a1c627474 Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-15 08:36:24 +00:00

21 lines
325 B
C++

#include <CtrlLib/CtrlLib.h>
class Test : public TopWindow
{
public:
LineEdit a, b;
Splitter s;
void aChanged() { b <<= ~a; }
Test()
{
a <<= THISBACK(aChanged);
Add(s.Vert(a, b).SizePos());
Zoomable().Sizeable();
}
typedef Test CLASSNAME;
};
GUI_APP_MAIN
{
Test().Run();
}