mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
22 lines
370 B
C++
22 lines
370 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
#include <Web/Web.h>
|
|
|
|
using namespace Upp;
|
|
|
|
struct MyApp : TopWindow {
|
|
Image img;
|
|
|
|
virtual void Paint(Draw& w) {
|
|
w.DrawRect(GetSize(), Gray());
|
|
w.DrawImage(0, 0, img);
|
|
}
|
|
|
|
MyApp() {
|
|
img = StreamRaster::LoadStringAny(HttpClientGet("http://www.ultimatepp.org/1i.png"));
|
|
}
|
|
};
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
MyApp().Run();
|
|
}
|