mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
19 lines
289 B
C++
19 lines
289 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
struct MyApp : TopWindow {
|
|
String path;
|
|
|
|
virtual void Paint(Draw& w) {
|
|
w.DrawRect(GetSize(), SColorPaper());
|
|
w.DrawText(10, 10, path);
|
|
}
|
|
|
|
virtual void DragAndDrop(Point p, PasteClip& d);
|
|
|
|
};
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
}
|