ultimatepp/upptst/TestChStyle/Sample.cpp
cxl fe6350d690 .upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@14158 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-03-12 16:05:56 +00:00

25 lines
674 B
C++

#include "TestChStyle.h"
#define IMAGECLASS TestImg
#define IMAGEFILE <TestChStyle/Test.iml>
#include <Draw/iml_header.h>
#define IMAGECLASS TestImg
#define IMAGEFILE <TestChStyle/Test.iml>
#include <Draw/iml_source.h>
void Sample::Paint(Draw& w)
{
w.DrawRect(GetSize(), Cyan());
// w.DrawImage(10, 10, CtrlImg::spinup());
// ChPaint(w, 10, 10, 100, 20, CtrlsImg::EFE());
// ChPaint(w, 101, 0, 17, 23, DropList::StyleDefault().rmiddle[0]);
#ifdef _DEBUG
w.DrawImage(10, 10, (Image)GetChameleonSample());
w.DrawImage(100, 10, Magnify((Image)GetChameleonSample(), 4, 4));
#endif
// EditFieldFrame().FramePaint(w, RectC(10, 50, 100, 20));
}