mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
18 lines
260 B
C++
18 lines
260 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
struct MyApp : TopWindow {
|
|
Button exit;
|
|
|
|
MyApp() {
|
|
SetRect(0, 0, 100, 100);
|
|
Add(exit.SetLabel("exit").LeftPosZ(10, 64).TopPosZ(10, 24));
|
|
exit <<= Breaker(999);
|
|
}
|
|
};
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
MyApp().Run();
|
|
}
|