setup_ui_def.h
资源名称:8202s.rar [点击查看]
上传用户:poi891205
上传日期:2013-07-15
资源大小:9745k
文件大小:5k
源码类别:
DVD
开发平台:
C/C++
- /*
- * Terry,2004/3/28 05:01PM
- */
- #if defined(SETUP_COLOR_TYPE1) //--------------------------------------------------------------
- #define mn_osd_col1 0,0,SANTIBGCOLOR,0x78501e90
- #define mn_osd_col2 0,0,SANTIBGCOLOR,0x78501e90
- #define mn_r_pm1 (SETUP_SUB_XSTART-1)*16,SETUP_MENU_YSTART*SETUP_BUTTON_HEIGHT+31,(SETUP_MAX_WIDTH-SETUP_SUB_XSTART-1)*16,(SETUP_MAX_LINE-SETUP_MENU_YSTART-2)*SETUP_BUTTON_HEIGHT,SBGCOLOR
- #define mn_r_pm2 (SETUP_SUB_XSTART-1)*16,SETUP_MENU_YSTART*SETUP_BUTTON_HEIGHT+31,(SETUP_MAX_WIDTH-SETUP_SUB_XSTART-1)*16,(SETUP_MAX_LINE-SETUP_MENU_YSTART-2)*SETUP_BUTTON_HEIGHT,SBGCOLOR
- #define mn_r_pm3 SETUP_SUB_XSTART-1, index_y+SETUP_MENU_YSTART+1, Ch_arrorR, SFONTCOLOR, SBGCOLOR
- #define mn_r_pm4 (SETUP_SUB_XSTART-1)*16,SETUP_MENU_YSTART*SETUP_BUTTON_HEIGHT+30,(SETUP_MAX_WIDTH-SETUP_SUB_XSTART-1)*16,(SETUP_MAX_LINE-SETUP_MENU_YSTART)*SETUP_BUTTON_HEIGHT-65,SBGCOLOR
- #elif defined(SETUP_COLOR_TYPE2) //--------------------------------------------------------------
- #define mn_osd_col1 0,0,SANTIBGCOLOR,0xa346ffc0
- #define mn_osd_col2 0,0,SANTIBGCOLOR,0xc0c0c0e0
- #define mn_r_pm1 (SETUP_SUB_XSTART-1)*16,SETUP_MENU_YSTART*SETUP_BUTTON_HEIGHT+31,(SETUP_MAX_WIDTH-SETUP_SUB_XSTART-1)*16,(SETUP_MAX_LINE-SETUP_MENU_YSTART-2)*SETUP_BUTTON_HEIGHT,SBGCOLOR
- #define mn_r_pm2 (SETUP_SUB_XSTART-1)*16,SETUP_MENU_YSTART*SETUP_BUTTON_HEIGHT+31,(SETUP_MAX_WIDTH-SETUP_SUB_XSTART-1)*16,(SETUP_MAX_LINE-SETUP_MENU_YSTART-2)*SETUP_BUTTON_HEIGHT,SBGCOLOR
- #ifdef EASTECH_NEW_SETUP_MENU
- #define mn_r_pm3 SETUP_SUB_XSTART-1, index_y+SETUP_MENU_YSTART+1, Ch_arrorR, SFONTCOLOR, SBARCOLOR //SANTIBGCOLOR modify by TOM20040519
- #define mn_r_pm5 (SETUP_SUB_XSTART-1)*16,SETUP_MENU_YSTART*SETUP_BUTTON_HEIGHT+31,(SETUP_MAX_WIDTH-SETUP_SUB_XSTART-1)*1,(SETUP_MAX_LINE-SETUP_MENU_YSTART)*SETUP_BUTTON_HEIGHT-68,SBGCOLOR
- #else
- #define mn_r_pm3 SETUP_SUB_XSTART-1, index_y+SETUP_MENU_YSTART+1, Ch_arrorR, SFONTCOLOR, SANTIBGCOLOR
- #endif
- #ifdef ADD_DVI311_SETUP
- #define mn_r_pm4 (SETUP_SUB_XSTART-1)*16,SETUP_MENU_YSTART*SETUP_BUTTON_HEIGHT+31,(SETUP_MAX_WIDTH-SETUP_SUB_XSTART-1)*16,(SETUP_MAX_LINE-SETUP_MENU_YSTART)*SETUP_BUTTON_HEIGHT-60,SBGCOLOR//ChenZhao on 2004-9-23 14:50 -68 >> -60 to clear a big scale in hddvd menu
- #else
- #define mn_r_pm4 (SETUP_SUB_XSTART-1)*16,SETUP_MENU_YSTART*SETUP_BUTTON_HEIGHT+31,(SETUP_MAX_WIDTH-SETUP_SUB_XSTART-1)*16,(SETUP_MAX_LINE-SETUP_MENU_YSTART)*SETUP_BUTTON_HEIGHT-68,SBGCOLOR
- #endif
- #elif defined( QSI_SETUP_MENU_DESIGN)//------------------------------------------------------------------
- #define mn_osd_col1 0,0,SANTIBGCOLOR,0xc0c0c0e0
- #define mn_osd_col2 0,0,SANTIBGCOLOR,0xc0c0c0e0
- #define mn_r_pm1 (SETUP_SUB_XSTART-1)*16,SETUP_MENU_YSTART*SETUP_BUTTON_HEIGHT+31,(SETUP_MAX_WIDTH-SETUP_SUB_XSTART-1)*16,(SETUP_MAX_LINE-SETUP_MENU_YSTART-2)*SETUP_BUTTON_HEIGHT,SBGCOLOR
- #define mn_r_pm2 (SETUP_SUB_XSTART-1)*16,SETUP_MENU_YSTART*SETUP_BUTTON_HEIGHT+31,(SETUP_MAX_WIDTH-SETUP_SUB_XSTART-1)*16,(SETUP_MAX_LINE-SETUP_MENU_YSTART-2)*SETUP_BUTTON_HEIGHT,SBGCOLOR
- #define mn_r_pm3 SETUP_SUB_XSTART-1, index_y+SETUP_MENU_YSTART+1, Ch_arrorR, SANTIFONTCOLOR, SANTIBGCOLOR
- #define mn_r_pm4 (SETUP_SUB_XSTART-1)*16,SETUP_MENU_YSTART*SETUP_BUTTON_HEIGHT+31,(SETUP_MAX_WIDTH-SETUP_SUB_XSTART-1)*16,(SETUP_MAX_LINE-SETUP_MENU_YSTART)*SETUP_BUTTON_HEIGHT-68,SBGCOLOR
- #else//--------------------------------------------------------------------------------------------
- #ifdef SETUPMENU_NOT_TRANSPARENT //2004-4-17 01:49张宇P
- #define mn_osd_col2 0,0,SANTIBGCOLOR,0xa346ffff
- #else
- #define mn_osd_col2 0,0,SANTIBGCOLOR,0xa346ffc0
- #endif
- #define mn_osd_col1 0,0,SANTIBGCOLOR,0xa346ffc0
- #define mn_r_pm1 (SETUP_SUB_XSTART-1)*16,SETUP_MENU_YSTART*SETUP_BUTTON_HEIGHT+31,(SETUP_MAX_WIDTH-SETUP_SUB_XSTART-1)*16,(SETUP_MAX_LINE-SETUP_MENU_YSTART-2)*SETUP_BUTTON_HEIGHT-68,SBGCOLOR
- #define mn_r_pm2 (SETUP_SUB_XSTART-1)*16,SETUP_MENU_YSTART*SETUP_BUTTON_HEIGHT+31,(SETUP_MAX_WIDTH-SETUP_SUB_XSTART-1)*16,(SETUP_MAX_LINE-SETUP_MENU_YSTART-2)*SETUP_BUTTON_HEIGHT-68,SBGCOLOR
- #define mn_r_pm3 SETUP_SUB_XSTART-1, index_y+SETUP_MENU_YSTART+1, Ch_arrorR, SFONTCOLOR, SBGCOLOR
- #define mn_r_pm4 (SETUP_SUB_XSTART-1)*16,SETUP_MENU_YSTART*SETUP_BUTTON_HEIGHT+31,(SETUP_MAX_WIDTH-SETUP_SUB_XSTART-1)*16,(SETUP_MAX_LINE-SETUP_MENU_YSTART)*SETUP_BUTTON_HEIGHT,SBGCOLOR
- #endif
- #ifdef SUPPORT_FUNCTION_MENU
- #define second_menu_region_plus (SETUP_SUB_XSTART_PLUS-1)*16,SETUP_MENU_YSTART_PLUS*SETUP_BUTTON_HEIGHT_PLUS,(SETUP_MAX_WIDTH_PLUS-SETUP_SUB_XSTART_PLUS+1)*16,(SETUP_MAX_LINE_PLUS-SETUP_MENU_YSTART_PLUS)*SETUP_BUTTON_HEIGHT_PLUS,0
- #endif //end #ifdef SUPPORT_FUNCTION_MENU