📄 o_display_config.h
字号:
/* **************************************************************************************
* Copyright (c) 2004 ZORAN Corporation, All Rights Reserved
* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
*
* File: $Workfile: o_aux_subtitle_config.h$
*
* Description:
* ========
*
*
****************************************************************************************/
/****************************************************************************************************
* DEFINITION: Private named constants
****************************************************************************************************/
// This is the background bitmap used for the display window.
// If no background is required, comment this line.
#if defined( D_BMP_BG_ALPHA_BLENDED) && !defined (D_GUI_SINGLE_LINE_COMPONENT)
#define DISPLAY_BG BMP_BG_ALPHA_BLENDED
#else
#define DISPLAY_BG BMP_BG_2
#endif//D_BMP_BG_ALPHA_BLENDED
#define MS_ATTR_UPDATE_TICK_START_COUNT MS_ATTR_GENERAL_PURPOSE_6
#define NUMBER_OF_TICKS_PER_UPDATE (MS_ATTR_UPDATE_TICK_START_COUNT << 2)
#define MS_ATTR_TICK_MASK (MS_ATTR_UPDATE_TICK_START_COUNT | (MS_ATTR_UPDATE_TICK_START_COUNT << 1) | (MS_ATTR_UPDATE_TICK_START_COUNT << 2))
#define AREA_COMPONENT_X 0
#define AREA_COMPONENT_Y 0
#ifdef D_GUI_SINGLE_LINE_COMPONENT
#define AREA_COMPONENT_W 300
#define AREA_COMPONENT_H 40
#else
#define AREA_COMPONENT_W 592
#define AREA_COMPONENT_H 140 //120 //Adjust the display menu position for 4X16M when playing DVD by Tranmin
#define AREA_COMPONENT_DVDA_H 144
#endif //D_GUI_SINGLE_LINE_COMPONENT
#ifdef D_GUI_SINGLE_LINE_COMPONENT
#define LINE_HEIGHT 32
#define LINE_Y_OFFSET 0
#define COL_1_LINE_X_POS 16
#define COL_1_WIDTH 72 //60 Changed from 60 t0 72 by Tom for displaying 6 char width example "PBC ON"
#define COL_2_LINE_X_POS COL_1_LINE_X_POS + COL_1_WIDTH + 4
#define COL_2_WIDTH 50
#define COL_JPEG_WIDTH 200
#define COL_3_LINE_X_POS COL_2_LINE_X_POS + COL_2_WIDTH + 4
#define COL_3_WIDTH 80
#define COL_4_LINE_X_POS COL_3_LINE_X_POS + COL_3_WIDTH + 4
#define COL_4_WIDTH 90
#define TIME_WIDTH 80
#define TITLE_LINE_Y 4
#define LINE_1_Y TITLE_LINE_Y
#define LINE_2_Y LINE_1_Y
#define LINE_3_Y LINE_1_Y
#define LINE_4_Y LINE_1_Y
#define LINE_A_Y LINE_1_Y
#define LINE_B_Y LINE_1_Y
#define COL_A_LINE_X_POS 20
#define COL_B_LINE_X_POS 120
#define COL_A_WIDTH 80
#define COL_B_WIDTH 180
#else
// This is the height of a line of text:
#define LINE_HEIGHT 26 //24 //Adjust the display menu position for 4X16M when playing DVD by Tranmin
// Normally, lines are offset by the height of the text. If you want a bigger
// vertical gap between lines, increase this value:
#define LINE_Y_OFFSET 0
// This is the offset from the left of the first column in the lower panel.
// This column contains labels.
#define COL_1_LINE_X_POS 16
// This is the width of the first column:
#define COL_1_WIDTH 80
// Second column - this column contains values.
#define COL_2_LINE_X_POS COL_1_LINE_X_POS + COL_1_WIDTH + 8
#define COL_2_WIDTH 240
// Third column - this column contains labels.
#define COL_3_LINE_X_POS COL_2_LINE_X_POS + COL_2_WIDTH + 8
#define COL_3_WIDTH 80
// Fourth column - this column contains values.
#define COL_4_LINE_X_POS COL_3_LINE_X_POS + COL_3_WIDTH + 8
#define COL_4_WIDTH 160
#define COL_L_LINE_X_POS COL_2_LINE_X_POS
#define COL_L_WIDTH COL_2_WIDTH + 8 +COL_3_WIDTH + 8 + COL_4_WIDTH
// This is the width of the time display:
#define TIME_WIDTH 80
// Line Y positions:
#define TITLE_LINE_Y 4//5
#define LINE_1_Y (TITLE_LINE_Y + LINE_HEIGHT + \
LINE_Y_OFFSET)
#define LINE_2_Y (LINE_1_Y + LINE_HEIGHT + LINE_Y_OFFSET)
#define LINE_3_Y (LINE_2_Y + LINE_HEIGHT + LINE_Y_OFFSET)
#define LINE_4_Y (LINE_3_Y + LINE_HEIGHT + LINE_Y_OFFSET)
//line 5 is for DVD Audio's Page and Angle,We have not enough space , so we don't need line 5 now, if we increase the height ,then we can define it
//#define LINE_5_Y (LINE_4_Y + LINE_HEIGHT + LINE_Y_OFFSET)
#endif //D_GUI_SINGLE_LINE_COMPONENT
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -