setup_ui_down.c
资源名称:8202s.rar [点击查看]
上传用户:poi891205
上传日期:2013-07-15
资源大小:9745k
文件大小:32k
源码类别:
DVD
开发平台:
C/C++
- /*
- * Terry,2004/3/28 05:03PM
- */
- #if defined(BBK_NEW_SETUP)&&defined(BBK_DV961_DVD)
- static inline void bbk_down_main_setup_menu(void)
- {
- draw_setup_Btn_HL( 1, ONE_KEY_PASS_X*11, ONE_KEY_PASS_Y*4, 8* 24, 1*32,4,MAIN_SETUP_PAGE_BGCOLOR);
- draw_setup_Btn_HL( 1,SETUP_X*14+28, SETUP_Y*4, 8* 24, 1*32,4,MAIN_SETUP_PAGE_BGCOLOR);
- index_x = EXIT_SETUP_MENU_X;
- draw_setup_Btn_HL( 1,EXIT_SETUP_MENU_X*14+32, EXIT_SETUP_MENU_Y*4, 9* 24, 1*32,4,SETUP_HL_COLOR);
- }
- static inline void down_2nd_main_page(void)
- {
- int iItemType;
- BYTE i;
- for (i=0; i<MAX_PAGE_ITEM; i++)
- {
- iItemType=setup_item[page][i][0];
- if (iItemType == SET_SPACE) continue;
- if (iItemType == SET_NE) break;
- }
- setupItemNum[1] = i;
- }
- #endif
- static inline void down_main_setup_menu(void)
- {
- ui_printf("main menu pagen");
- setupLevel=1;
- id=setup_item[page][index_y][1];
- setup_DrawItem(1, SETUP_MENU_YSTART+1, 1);
- #if !defined(SETUP_COLOR_TYPE1) && !defined(SETUP_COLOR_TYPE2) && !defined( QSI_SETUP_MENU_DESIGN)//liweihua 2004-7-5 10:04// zhangyu 2003-08-29 17:28
- #ifndef DVB_MENU_SETUP_STYLE
- setup_Showredframe(page);
- #else
- setup_Showredframe(dvbpage);
- #endif
- #endif
- #ifndef DVB_MENU_SETUP_STYLE
- draw_3rd_menu();
- #else
- if((page != INSTALLPAGE)&&(page != CHANNELPAGE))
- draw_3rd_menu();
- #endif
- }
- static inline void down_cust_menu(void)
- {//CUSTM menu page , clear third-level menu
- int i;
- #ifdef RATING_8
- if (index_y == 3)
- {
- osd_draw_rect(mn_r_pm1);
- ShowCUSTMMsg();
- }else
- #endif//end RAGING_8
- #ifdef SUPER_DEFAULT_OSD_LANG
- if ((index_y == CUSTMOSDITEM)&&((8-N_OSD_LANGS)<=1))
- {
- osd_draw_rect(mn_r_pm2);
- ShowCUSTMMsg();
- }else
- #endif
- {
- osd_draw_rect((SETUP_SUB_XSTART-1)*16,(SETUP_MENU_YSTART+3)*SETUP_BUTTON_HEIGHT,(SETUP_MAX_WIDTH-SETUP_SUB_XSTART-1)*16,(SETUP_MAX_LINE-SETUP_MENU_YSTART-2)*SETUP_BUTTON_HEIGHT,SBGCOLOR);
- }
- id = setup_item[page][index_y][1];
- setup_DrawItem(1, index_y+SETUP_MENU_YSTART+1, 0);
- index_y++;
- id = setup_item[page][index_y][1];
- setup_DrawItem(1, index_y+SETUP_MENU_YSTART+1, 1);
- //the last active item in sub-menu is "EXIT", so we skip it's drawing selection area
- #ifdef RCD_GPIO_CONTROL // alan 2002/7/26 02:08