wrapbpp.h
来自「老外的一个开源项目」· C头文件 代码 · 共 96 行
H
96 行
// Copyright (c) David Vescovi. All rights reserved.
// Part of Project DrumStix
// Windows Embedded Developers Interest Group (WE-DIG) community project.
// http://www.we-dig.org
// Copyright (c) Microsoft Corporation. All rights reserved.
//
#ifndef __WRAPBPP_H__
#define __WRAPBPP_H__
#include <dispdrvr.h> // Contains interface definition for "old-style" 2bpp drivers
class Wrapbpp : public GPE
{
private:
GPEMode m_ModeInfo;
void *m_pVirtualFrameBuffer;
SCODE WrappedEmulatedLine
(
GPELineParms *pParms
);
SCODE WrappedEmulatedBlt
(
GPEBltParms *pParms
);
public:
Wrapbpp();
virtual int NumModes();
virtual SCODE SetMode
(
int modeId,
HPALETTE *pPalette
);
virtual int InVBlank();
virtual SCODE SetPalette
(
const PALETTEENTRY *src,
unsigned short firstEntry,
unsigned short numEntries
);
virtual SCODE GetModeInfo
(
GPEMode *pMode,
int modeNo
);
virtual SCODE SetPointerShape
(
GPESurf *pMask,
GPESurf *pColorSurf,
int xHot,
int yHot,
int cx,
int cy
);
virtual SCODE MovePointer
(
int x,
int y
);
virtual void WaitForNotBusy();
virtual int IsBusy();
virtual void GetPhysicalVideoMemory
(
unsigned long *pPhysicalMemoryBase,
unsigned long *pVideoMemorySize
);
virtual SCODE AllocSurface
(
GPESurf **ppSurf,
int width,
int height,
EGPEFormat format,
int surfaceFlags
);
virtual SCODE Line
(
GPELineParms *pLineParms,
EGPEPhase phase
);
virtual SCODE BltPrepare
(
GPEBltParms *pBltParms
);
virtual SCODE BltComplete
(
GPEBltParms *pBltParms
);
};
#endif __WRAPBPP_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?