guigraphics.h

来自「这个是boot gui的程序」· C头文件 代码 · 共 49 行

H
49
字号
/*
 *  Start of Zoran Standard Header
 *  Copyright (c) 2005 Zoran Corporation
 *  
 *  
 *  All rights reserved.  Proprietary and confidential.
 *  
 *  DESCRIPTION for guigraphics.h
 *      Miscellaneous graphics routines
 *  
 *  NEW HISTORY COMMENT (description must be followed by a blank line)
 *  <Enter change description here>

 *  ===== HISTORY of changes in //depot/imgeng/sw/se_gw/gui/guigraphics.h
 *  
 *  15/Dec/05 #6  dstrauss   Added GUIDisplayYUVImage().
 *  13/Dec/05 #5  dstrauss   Added GUITextWidth(), GuiTextHeight(), 
 *                           and GUIEraseRectangle().
 *  12/Dec/05 #4  dstrauss   Allow the cursor to be "normal", "modified", 
 *                           or "erase" color.
 *   9/Dec/05 #3  dstrauss   Added GUIStatusText()
 *   6/Dec/05 #2  dstrauss   Added GUICursorBox(); added "erase" to GUIText().
 *   5/Dec/05 #1  dstrauss   Created.
 *  
 *
 *  End of Zoran Standard Header
 */
#ifndef GUIGRAPHICS_H_
#define GUIGRAPHICS_H_

typedef enum _eCursorColor {
  eCCNormal,                    /* normal cursor color */
  eCCModified,                  /* modified-value cursor color */
  eCCErase                      /* background color (i.e. erase the cursor) */
} eCursorColor;

extern void GUIPaintBackground(void);
extern void GUIPaintLogo(int x, int y);
extern void GUIinitGraphics(void);
extern void GUIText(int x, int y, const char *text, int erase);
extern void GUICursorBox(int x, int y, int xlen, int ylen, eCursorColor color);
extern void GUIStatusText(const char *text);
extern int  GUITextWidth(const char *text);
extern int  GUITextHeight(const char *text);
extern void GUIEraseRectangle(int x, int y, int w, int h);
extern void GUIDisplayYUVImage(int x, int y, int w, int h, unsigned char* src);

#endif /* GUIGRAPHICS_H_ */

⌨️ 快捷键说明

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