ultimatepp/uppdev/Tutorial/main.cpp
cxl 2e4b276e07 Merge continued
git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 08:34:39 +00:00

18 lines
335 B
C++

#include <CtrlLib/CtrlLib.h>
struct MyAppWindow : TopWindow {
Button button;
typedef MyAppWindow CLASSNAME;
MyAppWindow() {
Title("My application with font-zoomed button").Sizeable();
*this << button.SetLabel("Button").LeftPosZ(10, 64).TopPosZ(10, 24);
}
};
GUI_APP_MAIN
{
MyAppWindow app;
app.Run();
}