ultimatepp/uppdev/IconTest/IconTest.h
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

27 lines
474 B
C++

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