ultimatepp/upptst/TestChStyle/Sample.cpp
cxl 54211b2d10 .upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@13982 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-02-11 09:06:56 +00:00

28 lines
818 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(), White());
// 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(200, 10, Magnify((Image)GetChameleonSample(), 4, 4));
w.DrawImage(200, 10, CtrlsImg::HorzPos());
w.DrawImage(10, 10, TestImg::Test());
#endif
// ChPaint(w, 10, 10, 32, 32, GetChameleonSample());
// EditFieldFrame().FramePaint(w, RectC(10, 50, 100, 20));
}