From 54211b2d104ce227a28b5e634b6247402ef127c2 Mon Sep 17 00:00:00 2001 From: cxl Date: Tue, 11 Feb 2020 09:06:56 +0000 Subject: [PATCH] .upptst git-svn-id: svn://ultimatepp.org/upp/trunk@13982 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- upptst/TestChStyle/Sample.cpp | 10 ++++++++++ upptst/TestChStyle/Test.iml | 10 ++++++++++ upptst/TestChStyle/TestChStyle.upp | 1 + 3 files changed, 21 insertions(+) create mode 100644 upptst/TestChStyle/Test.iml diff --git a/upptst/TestChStyle/Sample.cpp b/upptst/TestChStyle/Sample.cpp index b043e9a56..e2cbd2294 100644 --- a/upptst/TestChStyle/Sample.cpp +++ b/upptst/TestChStyle/Sample.cpp @@ -1,5 +1,13 @@ #include "TestChStyle.h" +#define IMAGECLASS TestImg +#define IMAGEFILE +#include + +#define IMAGECLASS TestImg +#define IMAGEFILE +#include + void Sample::Paint(Draw& w) { w.DrawRect(GetSize(), White()); @@ -11,6 +19,8 @@ void Sample::Paint(Draw& w) // 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()); diff --git a/upptst/TestChStyle/Test.iml b/upptst/TestChStyle/Test.iml new file mode 100644 index 000000000..d3bd13a8a --- /dev/null +++ b/upptst/TestChStyle/Test.iml @@ -0,0 +1,10 @@ +PREMULTIPLIED +IMAGE_ID(Test) + +IMAGE_BEGIN_DATA +IMAGE_DATA(120,156,237,212,81,10,128,48,12,3,208,157,197,47,239,127,8,175,165,63,14,102,89,37,91,183,118,98,2,251,107,200) +IMAGE_DATA(3,193,99,79,91,250,83,78,37,209,174,156,219,242,120,244,225,161,207,22,250,108,161,79,223,69,118,122,125,150,255,120) +IMAGE_DATA(222,156,237,67,111,181,61,15,95,139,81,110,121,249,144,206,168,157,25,189,218,109,190,71,50,170,87,51,106,119,145,175) +IMAGE_DATA(52,174,238,91,253,251,190,25,181,219,168,158,236,120,250,144,142,236,121,249,80,155,236,122,248,90,109,101,127,182,175,215) +IMAGE_DATA(214,146,94,159,87,232,179,133,62,91,232,179,229,11,190,90,162,93,30,185,0,39,161,81,234,0,0,0,0,0,0,0) +IMAGE_END_DATA(160, 1) diff --git a/upptst/TestChStyle/TestChStyle.upp b/upptst/TestChStyle/TestChStyle.upp index fb55d9098..3cc0be7eb 100644 --- a/upptst/TestChStyle/TestChStyle.upp +++ b/upptst/TestChStyle/TestChStyle.upp @@ -3,6 +3,7 @@ uses file TestChStyle.h, + Test.iml, Sample.cpp, main.cpp, TestChStyle.lay;