⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pg_graphics.h

📁 这是DVD中伺服部分的核心代码
💻 H
字号:
/*****************************************************************************
******************************************************************************
**                                                                          **
**  Copyright (c) 2005-2006 Videon Central, Inc.                            **
**  All rights reserved.                                                    **
**                                                                          **
**  The computer program contained herein contains proprietary information  **
**  which is the property of Videon Central, Inc.  The program may be used  **
**  and/or copied only with the written permission of Videon Central, Inc.  **
**  or in accordance with the terms and conditions stipulated in the        **
**  agreement/contract under which the programs have been supplied.         **
**                                                                          **
******************************************************************************
*****************************************************************************/
/**
 * @file pg_graphics.h
 *
 * $Revision: 1.3 $ 
 *
 * PG graphics drawing routines
 *
 */

#ifndef PG_GRAPHICS_H
#define PG_GRAPHICS_H

#include "pg_api.h"
#include <directfb.h>

#define PG_LEVEL_NOT_SHOWING    (-1)
#define PG_DISPLAY_LEVEL        1

PG_STATUS PGGraphicsSetPalette(PALETTE *Pal);
PG_STATUS PGGraphicsDrawCompObj(COMPOSITION_OBJECT *CompObj);
PG_STATUS PGGraphicsFlip();
PG_STATUS PGGraphicsClearBuffer(BYTE *fUpdateScreen, OS_SEM_ID Sem);
PG_STATUS PGGraphicsFreeSurface(IDirectFBSurface *Surface);
PG_STATUS PGGraphicsCreateLUT8Surface(DFBSurfaceDescription *desc, OBJECT_DEFINITION_SEGMENT *Obj);
PG_STATUS PGGraphicsCreateAllPalettes();
PG_STATUS PGGraphicsDeleteAllPalettes();
PG_STATUS PGGraphicsSetPaletteColors(int PaletteNumber, BYTE *DataPtr, int NumEntries, BYTE fClearPalette, PG_COLOR_SPACE ColorSpace);
PG_STATUS PGGraphicsClearScreen();
void PGGraphicsBuildFlipRegion();


#endif /* PG_GRAPHICS_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -