ultimatepp/upptst/DefaultInk/main.cpp
cxl 30e164af52 .upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@13013 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-04-21 19:00:31 +00:00

18 lines
269 B
C++

#include <CtrlLib/CtrlLib.h>
using namespace Upp;
struct MyApp : TopWindow {
virtual void Paint(Draw& w);
};
void MyApp::Paint(Draw& w)
{
w.DrawRect(GetSize(), SColorPaper());
w.DrawText(0, 0, "Hello world");
}
GUI_APP_MAIN
{
MyApp().Run();
}