ultimatepp/uppdev/DrawText/main.cpp
cxl 55cfe4a5d4 Syncing uppdev
git-svn-id: svn://ultimatepp.org/upp/trunk@1389 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-09 13:21:44 +00:00

20 lines
366 B
C++

#include "CtrlLib/CtrlLib.h"
using namespace Upp;
class MyApp : public TopWindow {
public:
virtual void Paint(Draw& w);
};
void MyApp::Paint(Draw& w)
{
w.DrawRect(GetSize(), White);
for(int i = 0; i < 3600; i += 300)
w.DrawText(300, 300, i, ". just a test! 皆の日本語" + AsString(i), Arial(24));
}
GUI_APP_MAIN
{
MyApp().Run();
}