#ifndef _IconTest_IconTest_h #define _IconTest_IconTest_h #include using namespace Upp; #define LAYOUTFILE #include class IconTest : public WithIconTestLayout { public: typedef IconTest CLASSNAME; IconTest(); Image img; virtual void Paint(Draw &w) { w.DrawRect(GetSize(), SColorFace); w.DrawImage(HorzLayoutZoom(4), VertLayoutZoom(4), img); } }; #endif