- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
- /*
- * FileName: setup_ui_up_SFM.c
- * Author: ChenZhao Version: Date: 2004-9-20
- * Description:
- * Version:
- * Function List:
- * 1.setup_func_up
- * History:
- * <author> <time> <version > <desc>
- */
- void setup_func_up(void)
- {
- switch(setup_gui_state)
- {
- case SETUPGUI_MENU:
- if (setupLevel==0)
- {
- if(page>0)
- page--;
- else
- page=MAX_SHOW_PAGE;
- ShowSetupPage(REFRESH_PAGE);
- }
- else if(setupLevel==1)
- {
- index_y_start=index_y;
- do
- {
- if(full_scrn&CUSTM)
- {
- if(index_y>CUSTM_YSTART)
- index_y--;
- else
- index_y=setupItemNum[1]-1;
- }
- else
- {
- if(index_y>0)
- index_y--;
- else
- index_y=setupItemNum[1]-1;
- }
- }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>MIN_ITEM_SEL)
- index_y2--;
- else
- index_y2=setupItemNum[2]-1;
- 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], 1);
- }
- }
- 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(1);//1 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--------------------------