mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@13982 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
5360d06185
commit
54211b2d10
3 changed files with 21 additions and 0 deletions
|
|
@ -1,5 +1,13 @@
|
|||
#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());
|
||||
|
|
@ -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());
|
||||
|
||||
|
|
|
|||
10
upptst/TestChStyle/Test.iml
Normal file
10
upptst/TestChStyle/Test.iml
Normal file
|
|
@ -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)
|
||||
|
|
@ -3,6 +3,7 @@ uses
|
|||
|
||||
file
|
||||
TestChStyle.h,
|
||||
Test.iml,
|
||||
Sample.cpp,
|
||||
main.cpp,
|
||||
TestChStyle.lay;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue