setup_ui_up_SFM.c
上传用户:caisangzi8
上传日期:2013-10-25
资源大小:15756k
文件大小:2k
源码类别:

DVD

开发平台:

C/C++

  1. /*
  2.  * FileName:       setup_ui_up_SFM.c
  3.  * Author:         ChenZhao  Version:    Date: 2004-9-20
  4.  * Description:    
  5.  * Version:        
  6.  * Function List:  
  7.  *                 1.setup_func_up
  8.  * History:        
  9.  *     <author>   <time>    <version >   <desc>
  10.  */
  11. void setup_func_up(void)
  12. switch(setup_gui_state)
  13. {
  14. case SETUPGUI_MENU:
  15. if (setupLevel==0)
  16. {
  17. if(page>0)
  18. page--;
  19. else
  20. page=MAX_SHOW_PAGE;
  21. ShowSetupPage(REFRESH_PAGE);
  22. }
  23. else if(setupLevel==1)
  24. {
  25. index_y_start=index_y;
  26.                 do
  27.     {
  28.      if(full_scrn&CUSTM)
  29.      {
  30.      if(index_y>CUSTM_YSTART)
  31.      index_y--;
  32.      else
  33.      index_y=setupItemNum[1]-1;
  34.      }
  35.      else
  36.      {
  37.      if(index_y>0)
  38.      index_y--;
  39.      else
  40.      index_y=setupItemNum[1]-1;
  41.      }
  42.                     }while(SET_SPACE==setup_item[page][index_y][0]);
  43. ShowSetupItem(index_y_start,2);
  44. ShowSetupItem(index_y,1);
  45. ShowSetupPage(REFRESH_SELECT);
  46. }
  47. else if(2==setupLevel)
  48. {
  49. if(SET_FUNC==setup_item[page][index_y][0])
  50. {
  51. index_y2_start=index_y2;
  52. if(index_y2>MIN_ITEM_SEL)
  53. index_y2--;
  54.                     else
  55.                         index_y2=setupItemNum[2]-1;
  56.                     ShowSetupSelect(index_y2_start,2);
  57.                     ShowSetupSelect(index_y2,1);
  58. }
  59. else if(SET_SCALE==setup_item[page][index_y][0])
  60. {
  61. setup_CookScaleItem(setup_item[page][index_y][1], 1);
  62. }
  63. }
  64. break;
  65. case SETUPGUI_PASSWORD:
  66.                                 switch(passwordstate)
  67. {
  68. case PASSWORDS_OLD:
  69. case PASSWORDS_NEW:
  70. case PASSWORDS_CONFIRM:
  71.                                    break;
  72. case PASSWORDS_ENTER:
  73. confirmpassword = 0xfffe;
  74.                                    passwordstate=PASSWORDS_UNLOCK;
  75. ShowSetupPassword("");
  76. break;
  77. case PASSWORDS_NULL:
  78. break;
  79. default:
  80. break;
  81. }
  82. break;
  83. #ifdef VIDEOSETUPGUI
  84. case SETUPGUI_VIDEO:
  85. CookVideoSetupGui(1);//1 means value +
  86. break;
  87. #endif
  88. #ifdef TEST_INTERLACE//Modifed by ChenZhao on 2004-9-20 11:39  
  89. case SETUPGUI_TESTINTERLACE:
  90. test_interlace(1);
  91. break;
  92. #endif//TEST_INTERLACE
  93. default:
  94. break;
  95. }
  96. }
  97. //end of file--------------------------