1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| #include "StdAfx.h"
| #include "Reinspector.h"
|
|
| /*
| template<typename Ty>
| BOOL CTightBuff<Ty>::CvtDiff2Byte(BYTE *dst)
| {
| short *pDiff;// = GetDataAddress(0, 0);
| BYTE *pDst= dst;
|
| INT x, y;
| for(y= 0; y < GetHeight(); ++y)
| {
| x= 0;
| pDiff= GetDataAddress(x, y);
| for(; x< GetWidth(); ++x)
| {
| *pDst= (BYTE)*pDiff;
| ++pDst;
| ++pDiff;
| }
| }
| return TRUE;
| }
| */
|
|