setup_ui_down_SFM.c
资源名称:8202s.rar [点击查看]
上传用户:poi891205
上传日期:2013-07-15
资源大小:9745k
文件大小:3k
源码类别:
DVD
开发平台:
C/C++
- /*
- * FileName: setup_ui_down_SFM.c
- * Author: ChenZhao Version: Date: 2004-9-20
- * Description:
- * Version:
- * Function List:
- * 1.setup_func_down
- * History:
- * <author> <time> <version > <desc>
- */
- #ifdef DEACTIVATE_PSCAN //liumzh
- extern BYTE pscan_set_default;
- extern BYTE video_out_type;
- extern BYTE Pscan_on;
- #endif
- void setup_func_down(void)
- {
- switch(setup_gui_state)
- {
- case SETUPGUI_MENU:
- if (setupLevel==0)
- {
- if(page<MAX_SHOW_PAGE)
- page++;
- else
- page=0;
- ShowSetupPage(REFRESH_PAGE);
- #ifdef DEACTIVATE_PSCAN //liumzh
- if((pscan_set_default==1)&&(page==3))
- {
- // printf("ircmd_setup_refresh_itemn");
- video_out_type=3;
- setup_sel[3][4]=index_y2;
- index_y2=video_out_type;
- setup_sel[3][4]=video_out_type;
- //printf("index_y2=%dn",index_y2);
- ShowSetupPage(REFRESH_ITEM);
- run_save_sel_cmd(page,index_y);
- pscan_set_default=0;
- Pscan_on=0;
- }
- #endif
- }
- else if(setupLevel==1)
- {
- index_y_start=index_y;
- do
- {
- if(full_scrn&CUSTM)
- {
- if(index_y+1<setupItemNum[1])
- index_y++;
- else
- index_y=CUSTM_YSTART;
- }
- else
- {
- if(index_y+1<setupItemNum[1])
- index_y++;
- else
- index_y=0;
- }
- }while(SET_SPACE==setup_item[page][index_y][0]);
- ShowSetupItem(index_y_start,2);
- ShowSetupItem(index_y,1);
- ShowSetupPage(REFRESH_SELECT);
- }
- else if(2==setupLevel)
- {
- if(SET_FUNC==setup_item[page][index_y][0])
- {
- index_y2_start=index_y2;
- if(index_y2+1<setupItemNum[2])
- index_y2++;
- else
- index_y2=MIN_ITEM_SEL;
- ShowSetupSelect(index_y2_start,2);
- ShowSetupSelect(index_y2,1);
- }
- else if(SET_SCALE==setup_item[page][index_y][0])
- {
- setup_CookScaleItem(setup_item[page][index_y][1],0);
- }
- }
- break;
- case SETUPGUI_PASSWORD:
- switch(passwordstate)
- {
- case PASSWORDS_OLD:
- case PASSWORDS_NEW:
- case PASSWORDS_CONFIRM:
- break;
- case PASSWORDS_ENTER:
- confirmpassword = 0xfffe;
- passwordstate=PASSWORDS_UNLOCK;
- ShowSetupPassword("");
- break;
- case PASSWORDS_NULL:
- break;
- default:
- break;
- }
- break;
- #ifdef VIDEOSETUPGUI
- case SETUPGUI_VIDEO:
- CookVideoSetupGui(0);//0 means value -
- break;
- #endif
- #ifdef TEST_INTERLACE//Modifed by ChenZhao on 2004-9-20 11:39
- case SETUPGUI_TESTINTERLACE:
- test_interlace(-1);
- break;
- #endif//TEST_INTERLACE
- default:
- break;
- }
- }
- //end of file--------------------------