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

📄 guiproperties.h

📁 这个是boot gui的程序
💻 H
字号:
/*
 *  Start of Zoran Standard Header
 *  Copyright (c) 2005 Zoran Corporation
 *  
 *  
 *  All rights reserved.  Proprietary and confidential.
 *  
 *  DESCRIPTION for guiproperties.h
 *      GUI properties interface, definitions and public declarations
 *  
 *  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/guiproperties.h
 *  
 *  13/Dec/05 #5  dstrauss  Added GPID_PHOTOSIZE
 *  12/Dec/05 #4  dstrauss  GPMIncrementDisplayValue and 
 *                          GPMDeccrementDisplayValue now return void.
 *   7/Dec/05 #3  dstrauss  Added papersize and mode properties.  Added defines
 *                          to describe non-numeric property values.  Added
 *                          GPMGetSavedValue().
 *   7/Dec/05 #2  dstrauss  Added GPMIncrementDisplayValue(),
 *                          GPMDecrementDisplayValue(), GPMSaveDisplayValue(),
 *                          GPMRestoreDisplayValue(), GPMIsValueModified(),
 *                          GPMinit().
 *   6/Dec/05 #1  dstrauss  Created.
 *  
 *
 *  End of Zoran Standard Header
 */
#ifndef _GUIPROPERTIES_H_
#define _GUIPROPERTIES_H_

/* These are all of the properties on our menu and screens */
typedef enum e_guiPID {
  GPID_COPIES = 1,
  GPID_PAPERSIZE,
  GPID_SCALE,
  GPID_BRIGHTNESS,
  GPID_CONTRAST,
  GPID_PAPERTYPE,
  GPID_QUALITY,
  GPID_CYAN,                    /* cyan adjustment level */
  GPID_MAGENTA,                 /* magenta adjustment level */
  GPID_YELLOW,                  /* yellow adjustment level */
  GPID_SEGMENTATION,
  GPID_POSTERMODE,
  GPID_NUP,                     /* N-UP setting */
  GPID_MODE,                    /* image mode */
  GPID_PHOTOSIZE,
} guiPID;


/* When we need to differentiate what different values actually mean,
 * we use these definitions:
 */
#define GPID_PAPERSIZE_LETTER 0
#define GPID_PAPERSIZE_A4     1
#define GPID_MODE_TEXT 0
#define GPID_MODE_AUTO 1
#define GPID_MODE_PHOTO 2
#define GPID_PAPERTYPE_PLAIN 0
#define GPID_PAPERTYPE_PHOTO 1
#define GPID_QUALITY_DRAFT 0
#define GPID_QUALITY_NORMAL 1
#define GPID_QUALITY_BEST 2
#define GPID_SEGMENTATION_OFF 0
#define GPID_SEGMENTATION_ON 1
#define GPID_POSTERMODE_OFF 0
#define GPID_POSTERMODE_2x2 1
#define GPID_POSTERMODE_3x3 2
#define GPID_POSTERMODE_4x4 3
#define GPID_NUP_1UP 0
#define GPID_NUP_4UP 1
#define GPID_NUP_9UP 2
#define GPID_NUP_16UP 3

extern const char *GPMGetName(guiPID property);
extern const char *GPMGetDisplayValue(guiPID property);
extern void GPMIncrementDisplayValue(guiPID property);
extern void GPMDecrementDisplayValue(guiPID property);
extern void GPMSaveDisplayValue(guiPID property);
extern void GPMRestoreDisplayValue(guiPID property);
extern int GPMIsValueModified(guiPID property);
extern int GPMGetSavedValue(guiPID property);

extern void GPMinit(void);

#endif /* _GUIPROPERTIES_H_ */

⌨️ 快捷键说明

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