mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
19 lines
269 B
C++
19 lines
269 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
struct App : TopWindow {
|
|
virtual void Paint(Draw& w);
|
|
};
|
|
|
|
void App::Paint(Draw& w)
|
|
{
|
|
w.DrawRect(GetSize(), White);
|
|
w.DrawText(10, 10, LoadFile("e:/long.txt"));
|
|
}
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
App().Run();
|
|
}
|
|
|