ig_graphics.h

来自「这是DVD中伺服部分的核心代码」· C头文件 代码 · 共 49 行

H
49
字号
/*****************************************************************************
******************************************************************************
**                                                                          **
**  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 ig_graphics.h
 *
 * $Revision: 1.3 $ 
 *
 * IG graphics drawing routines
 *
 */

#ifndef IG_GRAPHICS_H
#define IG_GRAPHICS_H

#include "ig_api.h"
#include "directfb.h"

#define IG_DISPLAY_LEVEL    2
#define IG_DISPLAY_NO_SHOW  -1

IG_STATUS IGGraphicsSetPalette(PALETTE *Pal);
IG_STATUS IGGraphicsRenderButton(BUTTON *Button, int ClearButton);
IG_STATUS IGGraphicsFlip();
IG_STATUS IGGraphicsClearBuffer(int *fScreenUpdated, int HaveSem);
IG_STATUS IGGraphicsCreateLUT8Surface(DFBSurfaceDescription *desc, OBJECT_DEFINITION_SEGMENT *Obj);
IG_STATUS IGGraphicsDrawCompObj(COMPOSITION_OBJECT *CompObj, int ClearObject);
IG_STATUS IGGraphicsCreateAllPalettes();
IG_STATUS IGGraphicsDeleteAllPalettes();
IG_STATUS IGGraphicsSetPaletteColors(int PaletteNumber, BYTE *DataPtr, BYTE NumEntries, BYTE fClearPalette, IG_COLOR_SPACE ColorSpace);
IG_STATUS IGGraphicsClearScreen();
IG_STATUS IGGraphicsClearFlipRegion();
IG_STATUS IGGraphicsClearButton(BUTTON *Button);
void IGGraphicsSetFlipRegion(int x1, int y1, int x2, int y2);

#endif /* IG_GRAPHICS_H */

⌨️ 快捷键说明

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