ultimatepp/uppdev/PaintSizeGrip/main.cpp
cxl 3cd394812c Merge continued
git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 08:34:39 +00:00

31 lines
550 B
C++

#include <CtrlLib/CtrlLib.h>
#define IMAGECLASS TestImg
#define IMAGEFILE <PaintSizeGrip/test.iml>
#include <Draw/iml_header.h>
#define IMAGECLASS TestImg
#define IMAGEFILE <PaintSizeGrip/test.iml>
#include <Draw/iml_source.h>
using namespace Upp;
struct MyApp : TopWindow {
StatusBar status;
virtual void Paint(Draw& w) {
w.DrawRect(GetSize(), Gray());
w.DrawImage(100, 100, CtrlsImg::SizeGrip());
w.DrawImage(130, 100, TestImg::test());
}
MyApp() {
AddFrame(status);
Sizeable();
}
};
GUI_APP_MAIN
{
MyApp app;
app.Run();
}