mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
15 lines
260 B
C++
15 lines
260 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
struct MyApp : TopWindow {
|
|
void Paint(Upp::Draw& w) override {
|
|
w.DrawRect(GetSize(), White());
|
|
Draw9Slice(w, RectC(100, 100, 100, 100), CtrlsImg::OkBh(), DPI(5));
|
|
}
|
|
};
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
MyApp().Run();
|
|
}
|