-
Notifications
You must be signed in to change notification settings - Fork 0
/
KINGPCX.h
36 lines (29 loc) · 794 Bytes
/
KINGPCX.h
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
27
28
29
30
31
32
33
34
35
36
// KINGPCX.h: interface for the KINGPCX class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_KINGPCX_H__35659D84_09B5_11D3_AA6B_00E0CCDDAE2D__INCLUDED_)
#define AFX_KINGPCX_H__35659D84_09B5_11D3_AA6B_00E0CCDDAE2D__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "picture.h"
class KINGPCX : public PICTURE
{
public:
KINGPCX();
virtual ~KINGPCX();
public:
int savepicture(CFile *fp);
int getpicture(CFile *fp);
int draw(CDC *pdc);
public:
int codepcx(BYTE *fp,BYTE *output,int &totalbyte);
PCXHEAD pcxhead;
int offset;
int decodepcx(BYTE *fp);
int linebytes;
GIFCOLOR *color;
BITMAPUSED bmpused;
int initbmp();
};
#endif // !defined(AFX_KINGPCX_H__35659D84_09B5_11D3_AA6B_00E0CCDDAE2D__INCLUDED_)