mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
23 lines
326 B
C++
23 lines
326 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
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();
|
|
}
|