ircmd_setup.c
资源名称:8202s.rar [点击查看]
上传用户:poi891205
上传日期:2013-07-15
资源大小:9745k
文件大小:21k
源码类别:
DVD
开发平台:
C/C++
- #ifdef SUPPORT_FUNCTION_MENU
- #include "setup_def.h"
- #endif
- #if (defined(SOFT_MENU)&&defined(VIDEOSETUPGUI))//Modifed by ChenZhao on 2004-9-22 11:33
- void InitVideoSetupGUI(void);
- int IsVideoSetupExit_NextVideoSetup();
- int IsPlayVideo(void)
- {
- return (old_play_state!=play_state)&&(!Is_MP3_STATE()
- &&((CDVCD10==cd_type_loaded)
- ||(CDVCD20==cd_type_loaded)
- ||(CDSVCD==cd_type_loaded)
- ||(CDDVD==cd_type_loaded)
- ||(CDJPEG==cd_type_loaded)
- ||is_mp4()
- ||Is_JPEG_STATE()
- ));
- }
- #endif//(defined(SOFT_MENU)&&defined(VIDEOSETUPGUI))
- /*
- * Wangfeng,2004-2-17 11:24
- */
- static inline void show_normal_after_setup(void)
- {
- if(old_play_state==VCD_STATE_NORMAL)
- RegionOnOff[REGION1][2]=STR_OS_PLAY;
- rem_osd_id = RegionOnOff[REGION1][2];
- }
- /*
- * Terry,2004/1/30 04:28PM
- */
- #ifdef SUPPORT_USB
- BYTE usb_card_setup_flag;//lijd 2004-9-29 11:23
- #endif
- void run_pause_setting(void)
- {
- #ifdef SUPPORT_USB
- usb_card_setup_flag=1;
- #endif
- if(still_timer)
- {
- old_play_state=VCD_STATE_PAUSE;
- }else if( (play_state==VCD_STATE_PAUSE)||(!cd_type_loaded)||(play_state==VCD_STATE_STOP) )
- {
- old_play_state=play_state;
- }else
- {
- #ifdef MP3_STOP_IN_GUI_START//zhaoyanhua add 03-10-14 11:39 keep inital state for MP3
- if ((Is_MP3_STATE()) && (play_state == VCD_STATE_MP3_FILELIST))
- old_play_state = VCD_STATE_MP3_FILELIST;
- else
- #elif defined(MP4_GUI_FF_INVALID)
- if ((Is_OTHER_STATE()) && (play_state == VCD_STATE_MP3_FILELIST)) //wsf 2004-9-15 20:18
- old_play_state = VCD_STATE_MP3_FILELIST;
- else
- #endif
- old_play_state=VCD_STATE_NORMAL;
- if((cd_type_loaded!=CDROM)||Is_MP3_STATE())
- run_pause(0);
- #ifdef SUPPORT_FILE_SYSTEM_MODE // Robert 021014
- #ifdef MP4_GUI_FF_INVALID
- if(play_state == VCD_STATE_NORMAL) //wsf 2004-9-15 20:22
- #endif
- {
- if (Is_OTHER_STATE())
- run_pause(0);
- }
- #endif
- }
- if( (RegionOnOff[REGION1][2]==STR_OS_PAUSE)||(RegionOnOff[REGION1][2]==STR_OS_STEP) )//nono 2-7-17 17:22
- rem_osd_id = RegionOnOff[REGION1][2];//show "PAUSE" & "STEP"...after "setup" 2-7-15 21:44
- }
- #ifdef AUTO_ADJUST_TV_TYPE
- extern BYTE Adjust_TV_type ;
- #endif
- #ifdef SETUP_PROGRAM_IN_PLACE_UNDER_16M
- void OSDSetPause() // 2005/01/14 yltseng
- {
- #if !defined(SETUP_PLAY_CTRL)&&!defined(SETUP_DONT_PAUSE) //wangfeng,2003-08-30 10:28
- #if defined(SUPPORT_TUNER_MV114) || defined(SUPPORT_TUNER_ALPS) //xyy 2003-10-13 9:42
- if(play_state != VCD_STATE_POWER)
- #endif
- #ifdef JPEG_PAUSE_WHEN_SETUP // fengjl add 3-11-30 15:47
- if((Is_JPEG_SlideMode())&&(play_state == VCD_STATE_NORMAL))
- {
- run_pause(0);
- // if(Is_JPEG_SlideMode())
- old_play_state = VCD_STATE_NORMAL;
- }
- else
- #endif //end JPEG_PAUSE_WHEN_SETUP
- run_pause_setting();
- #endif
- }
- #ifdef NEW_STYLE_SETUP
- static inline UINT32 SetupSettingForNewStyleSetup()
- { // 2004/11/26 yltseng
- //NOTE:
- //In NEW_STYLE_SETUP && SDRAM_16Mb_Mode
- // prog_state = 0 : original state
- // 4 : to excute STOP
- // 2 : excute setup
- // 5 : At level 1,use "SELECT" to enter level 2 /3
- // 6 : when SETUP interrupt PROGRAM or PROGRAM interrupt SETUP use this flag
- // not excute ircmd_resume().
- // zhaoyanhua note 2003-8-7 9:50
- #ifdef SDRAM_16Mb_Mode //zhaoyanhua add 2003-8-7 9:48
- if (play_state!=VCD_STATE_STOP)
- {
- if (prog_state==0)
- {
- old_t_disp=t_disp;
- old_play_state=play_state;
- if( (play_state==VCD_STATE_STOP)||
- (system_state==SYSTEM_NODISC)
- ||Is_JPEG_STATE()
- #ifdef SUPPORT_FILE_SYSTEM_MODE // nono 2003-8-7 13:55
- ||Is_OTHER_STATE()
- #endif
- ||(system_state==SYSTEM_OPEN) )
- {
- prog_state = 5;
- ShowTitle();
- }else if( (pe_run==1)||(still_timer) )//terry 20030805
- {//terry,2003/8/4 10:27PM
- prog_state=4;
- printf("setup menu,run stop cmdn");
- old_t_disp=t_disp;
- ircmd_stop();
- return FALSE;
- }else
- {//terry,2003/8/4 10:27PM
- invalid_key();
- return FALSE;
- }
- }
- }
- else
- {
- if (prog_state == 0)
- {
- prog_state = 5; //already STOP ,only show setup_logo.zhaoyanhua 2003-8-7 13:51
- ShowTitle();
- old_t_disp=t_disp;
- old_play_state = VCD_STATE_STOP;
- }
- t_disp=0;
- DispFadeOut();
- //I masked it , but don't know if it will cause error.
- //zhaoyanhua note 2003-8-26 20:05
- regs0->osd_base_addr=OSD_BASE_USE_ADDR;//P_BIDIR_LUMA;
- }
- #else //Not SDRAM_16Mb_Mode
- if (setup_state==0)
- {
- old_t_disp=t_disp;
- old_play_state=play_state;
- if( (play_state==VCD_STATE_STOP)||
- (system_state==SYSTEM_NODISC)
- ||Is_JPEG_STATE()
- #ifdef SUPPORT_FILE_SYSTEM_MODE // nono 2003-8-7 13:55
- ||Is_OTHER_STATE()
- #endif
- ||(system_state==SYSTEM_OPEN) )
- {
- setup_state=3;
- ShowTitle();
- }
- else if( (pe_run==1)||(still_timer) )//terry 20030805
- {//terry,2003/8/4 10:27PM
- setup_state=1;
- printf("setup menu,run stop cmdn");
- old_t_disp=t_disp;
- ircmd_stop();
- return FALSE;
- }else
- {//terry,2003/8/4 10:27PM
- invalid_key();
- return FALSE;
- }
- }
- #endif //SDRAM_16Mb_Mode
- return TRUE;
- }
- #else
- UINT8 g_uiOSDStatus = OSD_FULL_SCREEN_STATUS_NONE;
- static inline UINT32 SetupSettingForNormal()
- { // 2005/01/14 yltseng
- #ifdef SDRAM_16Mb_Mode
- if( g_uiOSDStatus == OSD_FULL_SCREEN_STATUS_NONE )
- {
- if( AVD_state != STATE_IDLE )
- {
- g_uiOSDStatus = OSD_FULL_SCREEN_STATUS_SETUP | OSD_FULL_SCREEN_STATUS_WAIT_ATAPI_CMD_FINISH;
- return FALSE;
- }
- else if( pFsJpeg->gifsState == FS_STATE_JPEG )
- {
- OSDSetPause();
- }
- }
- g_uiOSDStatus = OSD_FULL_SCREEN_STATUS_SETUP | OSD_FULL_SCREEN_STATUS_ACTIVE;
- full_scrn = SETUP;
- osd_disable();
- extern void SrvStopReceiveData(void);
- SrvStopReceiveData();
- regs0->osd_base_addr = A_SERVO_YA;
- #else
- OSDSetPause();
- #endif//SDRAM_16Mb_Mode
- return TRUE;
- }
- #endif
- void ircmd_setup(void)
- {
- #ifdef AUTO_ADJUST_TV_TYPE
- Adjust_TV_type=0;
- #endif
- #ifdef CONTINUOUS_NUM_KEY_SELECT
- if(ir_num_timer)
- return;
- #endif
- #ifdef SUPPORT_MIDI_MENU_SEL
- #if 1//ndef QISHENG_DEBUG_04_10_09 //axelchen modified for cancel ircmd_setup in playback MIDI 2004/10/22
- if(gIsMidiSelMenu) return;
- #else
- if (gIsMidiSelMenu)
- {
- // if (((bMidiPlayerBoolean)&&(midiState == MIDI_STATE_PAYLOAD)))
- // Midi_pause_flag =1;
- run_pause(0);
- }
- #endif
- #endif
- #ifdef IRCMD_DBG
- printf("=================ircmd_setup==================n");
- #endif
- #ifdef NEW_STYLE_SETUP
- if ( Is_JPEG_SlideMode()
- #ifdef SUPPORT_FILE_SYSTEM_MODE
- ||(IsOtherStatePlayMode())
- #endif
- )
- {
- invalid_key();
- return;
- }
- #endif
- #if !defined(SPHE1000)
- if ( (cd_type_loaded==CDROM) && (Mp3ReadFinish==0) ) { //Jeff 20020614
- #else
- if((cd_type_loaded==CDROM)&&(Mp3ReadFinish==0) && (system_state!=SYSTEM_FILESTREAM)&&(system_state!=SYSTEM_TS)) { //MIKEY 2004.06.25 for setup
- #endif
- invalid_key();
- return;
- }
- #ifdef KARAOKE_MENU
- //modefied by wangfeng 2003-10-31 11:30
- if((full_scrn&SETUP)&&(KARAOKE_MENU_FLAG==0) || (full_scrn&CUSTM)) //////////////////////////jhuang
- #else
- if((full_scrn&SETUP) || (full_scrn&CUSTM)) //////////////////////////jhuang
- #endif
- {//aa begin
- #if (defined(SOFT_MENU)&&defined(VIDEOSETUPGUI))//Modifed by ChenZhao on 2004-9-22 11:33
- if(IsVideoSetupExit_NextVideoSetup())
- #endif
- {
- ExitSetupPage(1);
- #ifdef SUPPORT_USB//lijd 20041008
- usb_card_setup_flag=0;
- #endif
- #if defined(SUPPORT_TUNER_MV114) || defined(SUPPORT_TUNER_ALPS) //xyy 2003-10-13 9:42
- if(play_state == VCD_STATE_POWER)
- disfreq();
- #endif
- #if defined(SDRAM_16Mb_Mode)||defined(NEW_STYLE_SETUP)
- if ( 0)//( cd_type_loaded == CDDA ) && (old_t_disp) )
- {
- t_disp=old_t_disp;
- DispPolling(3);
- }
- #endif
- #ifdef DOUBLE_LOGO
- if(play_state==VCD_STATE_STOP||system_state==SYSTEM_NODISC||system_state==SYSTEM_OPEN)
- ShowTitle();
- #endif
- }
- }//aa end
- #ifdef KARAOKE_MENU
- //wangfeng 2003-10-31 11:30
- else if((full_scrn&SETUP)&&(KARAOKE_MENU_FLAG==1))
- return;
- #endif
- else
- {//enter setup menu
- #ifdef AUDIO_SHOW_SAVER //kono 1007 2001
- if( bDisableGUI) return;
- #endif
- #ifdef SUPPORT_FUNCTION_MENU
- if(full_scrn&SETUP_PLUS)
- ExitSetupPage(0);
- #endif
- // 2004/11/26 yltseng
- #ifdef NEW_STYLE_SETUP
- if( !SetupSettingForNewStyleSetup() )
- return;
- #else//Not NEW_STYLE_SETUP
- if( !SetupSettingForNormal() )
- return;
- #endif //end NEW_STYLE_SETUP
- #if (defined(SOFT_MENU)&&defined(VIDEOSETUPGUI))//Modifed by ChenZhao on 2004-9-22 11:33
- if(IsPlayVideo())
- InitVideoSetupGUI();
- else
- init_setup();
- #else//(defined(SOFT_MENU)&&defined(VIDEOSETUPGUI))
- init_setup();
- #endif//(defined(SOFT_MENU)&&defined(VIDEOSETUPGUI))
- //Maoyong added for IR U/D/L/R/Sel proc func setting 2004-9-24 9:13
- SetFullscrnCmdFuncPtr( setup_func_up, setup_func_down, setup_func_left,
- setup_func_right, setup_func_select);
- #ifdef NEW_UART_COMMAND
- timeout_vfd=0;
- nCurrentVolMode=VOL_MODE_MAIN;
- #endif
- }
- show_normal_after_setup();//wangfeng 2004-2-17 11:27
- }
- #else // SETUP_PROGRAM_IN_PLACE_UNDER_16M
- #ifdef DEACTIVATE_PSCAN
- extern BYTE video_out_type;
- extern BYTE Pscan_on;
- #endif
- void ircmd_setup(void)
- {
- #ifdef DEACTIVATE_PSCAN
- if(video_out_type==4)
- {
- Pscan_on=1;
- }
- #endif
- #ifdef JPEG_PLAY_NOT_SETUP
- if( (pFsJpeg->gbfsSlide != 0)||Is_JPEG_PLAY_STATE())
- {
- invalid_key();
- return;
- }
- #endif
- #ifdef AUTO_ADJUST_TV_TYPE
- Adjust_TV_type=0;
- #endif
- #ifdef CONTINUOUS_NUM_KEY_SELECT
- if(ir_num_timer)
- return;
- #endif
- #ifdef SUPPORT_MIDI_MENU_SEL
- #if 1//ndef QISHENG_DEBUG_04_10_09 //axelchen modified for cancel ircmd_setup in playback MIDI 2004/10/22
- if(gIsMidiSelMenu) return;
- #else
- if (gIsMidiSelMenu)
- {
- // if (((bMidiPlayerBoolean)&&(midiState == MIDI_STATE_PAYLOAD)))
- // Midi_pause_flag =1;
- run_pause(0);
- }
- #endif
- #endif
- #ifdef IRCMD_DBG
- printf("=================ircmd_setup==================n");
- #endif
- #ifdef NEW_STYLE_SETUP
- if ( Is_JPEG_SlideMode()
- #ifdef SUPPORT_FILE_SYSTEM_MODE
- ||(IsOtherStatePlayMode())
- #endif
- )
- {
- invalid_key();
- return;
- }
- #endif
- #if !defined(SPHE1000)
- if ( (cd_type_loaded==CDROM) && (Mp3ReadFinish==0) ) { //Jeff 20020614
- #else
- if((cd_type_loaded==CDROM)&&(Mp3ReadFinish==0) && (system_state!=SYSTEM_FILESTREAM)&&(system_state!=SYSTEM_TS)) { //MIKEY 2004.06.25 for setup
- #endif
- invalid_key();
- return;
- }
- #ifdef DVB_MENU_SETUP_STYLE //Maoyong 2004-12-21 21:14
- pfnDvbGoto = ircmd_null;
- #endif
- #ifdef KARAOKE_MENU
- //modefied by wangfeng 2003-10-31 11:30
- if((full_scrn&SETUP)&&(KARAOKE_MENU_FLAG==0) || (full_scrn&CUSTM)) //////////////////////////jhuang
- #else
- if((full_scrn&SETUP) || (full_scrn&CUSTM)
- #ifdef DVB_MENU_SETUP_STYLE //Maoyong 2004-12-21 9:36
- || (full_scrn & DVB_MENU)
- #endif
- ) //////////////////////////jhuang
- #endif
- {//aa begin
- #if (defined(SOFT_MENU)&&defined(VIDEOSETUPGUI))//Modifed by ChenZhao on 2004-9-22 11:33
- if(IsVideoSetupExit_NextVideoSetup())
- #endif
- {
- ExitSetupPage(1);
- #ifdef DVB_MENU_SETUP_STYLE //Maoyong for Setup key make DVB MENU disappear and normal return from sub menu
- set_dvb_vpp(SCREEN_TYPE_FULL);
- #endif
- #ifdef SUPPORT_USB//lijd 20041008
- usb_card_setup_flag=0;
- #endif
- #if defined(SUPPORT_TUNER_MV114) || defined(SUPPORT_TUNER_ALPS) //xyy 2003-10-13 9:42
- if(play_state == VCD_STATE_POWER)
- disfreq();
- #endif
- #if defined(SDRAM_16Mb_Mode)||defined(NEW_STYLE_SETUP)
- if ( 0)//( cd_type_loaded == CDDA ) && (old_t_disp) )
- {
- t_disp=old_t_disp;
- DispPolling(3);
- }
- #endif
- #ifdef DOUBLE_LOGO
- if(play_state==VCD_STATE_STOP||system_state==SYSTEM_NODISC||system_state==SYSTEM_OPEN)
- ShowTitle();
- #endif
- }
- }//aa end
- #ifdef KARAOKE_MENU
- //wangfeng 2003-10-31 11:30
- else if((full_scrn&SETUP)&&(KARAOKE_MENU_FLAG==1))
- return;
- #endif
- else
- {//enter setup menu
- #ifdef AUDIO_SHOW_SAVER //kono 1007 2001
- if( bDisableGUI) return;
- #endif
- #ifdef SUPPORT_FUNCTION_MENU
- if(full_scrn&SETUP_PLUS)
- ExitSetupPage(0);
- #endif
- //NOTE:
- //In NEW_STYLE_SETUP && SDRAM_16Mb_Mode
- // prog_state = 0 : original state
- // 4 : to excute STOP
- // 2 : excute setup
- // 5 : At level 1,use "SELECT" to enter level 2 /3
- // 6 : when SETUP interrupt PROGRAM or PROGRAM interrupt SETUP use this flag
- // not excute ircmd_resume().
- // zhaoyanhua note 2003-8-7 9:50
- #ifdef NEW_STYLE_SETUP
- #ifdef SDRAM_16Mb_Mode //zhaoyanhua add 2003-8-7 9:48
- if (play_state!=VCD_STATE_STOP)
- {
- if (prog_state==0)
- {
- old_t_disp=t_disp;
- old_play_state=play_state;
- if( (play_state==VCD_STATE_STOP)||
- (system_state==SYSTEM_NODISC)
- ||Is_JPEG_STATE()
- #ifdef SUPPORT_FILE_SYSTEM_MODE // nono 2003-8-7 13:55
- ||Is_OTHER_STATE()
- #endif
- ||(system_state==SYSTEM_OPEN) )
- {
- prog_state = 5;
- ShowTitle();
- }else if( (pe_run==1)||(still_timer) )//terry 20030805
- {//terry,2003/8/4 10:27PM
- prog_state=4;
- printf("setup menu,run stop cmdn");
- old_t_disp=t_disp;
- ircmd_stop();
- return;
- }else
- {//terry,2003/8/4 10:27PM
- invalid_key();
- return;
- }
- }
- }
- else
- {
- if (prog_state == 0)
- {
- prog_state = 5; //already STOP ,only show setup_logo.zhaoyanhua 2003-8-7 13:51
- ShowTitle();
- old_t_disp=t_disp;
- old_play_state = VCD_STATE_STOP;
- }
- t_disp=0;
- DispFadeOut();
- //I masked it , but don't know if it will cause error.
- //zhaoyanhua note 2003-8-26 20:05
- regs0->osd_base_addr=OSD_BASE_USE_ADDR;//P_BIDIR_LUMA;
- }
- #else //Not SDRAM_16Mb_Mode
- if (setup_state==0)
- {
- old_t_disp=t_disp;
- old_play_state=play_state;
- if( (play_state==VCD_STATE_STOP)||
- (system_state==SYSTEM_NODISC)
- ||Is_JPEG_STATE()
- #ifdef SUPPORT_FILE_SYSTEM_MODE // nono 2003-8-7 13:55
- ||Is_OTHER_STATE()
- #endif
- ||(system_state==SYSTEM_OPEN) )
- {
- setup_state=3;
- ShowTitle();
- }
- else if( (pe_run==1)||(still_timer) )//terry 20030805
- {//terry,2003/8/4 10:27PM
- setup_state=1;
- printf("setup menu,run stop cmdn");
- old_t_disp=t_disp;
- ircmd_stop();
- return;
- }else
- {//terry,2003/8/4 10:27PM
- invalid_key();
- return;
- }
- }
- #endif //SDRAM_16Mb_Mode
- #else//Not NEW_STYLE_SETUP
- #ifdef SDRAM_16Mb_Mode
- if( ( cd_type_loaded == CDDVD ) || ( system_state != SYSTEM_STOP ) ) // 2004/09/30 yltseng, play jpeg, toggle setup fastly
- {
- if ( play_state!=VCD_STATE_STOP && play_state!=VCD_STATE_IDLE && play_state!=VCD_STATE_OPEN )
- {
- if (prog_state==0)
- {
- prog_state=4;
- old_t_disp=t_disp;
- ircmd_stop();
- }
- else
- invalid_key();
- return;
- }
- }
- /*
- if ( play_state!=VCD_STATE_STOP && play_state!=VCD_STATE_IDLE && play_state!=VCD_STATE_OPEN )
- {
- if (prog_state==0)
- {
- prog_state=4;
- old_t_disp=t_disp;
- ircmd_stop();
- return;
- }
- }else if( (cd_type_loaded!=CDDVD)&&(system_state==SYSTEM_BROWSE) )
- {//terry,play jpeg, toggle setup fastly 2004/2/9 03:51PM
- invalid_key();
- return;
- }
- */
- t_disp=0;
- DispFadeOut();
- regs0->osd_base_addr=OSD_BASE_USE_ADDR;//P_BIDIR_LUMA;
- #else
- #if !defined(SETUP_PLAY_CTRL)&&!defined(SETUP_DONT_PAUSE) //wangfeng,2003-08-30 10:28
- #if defined(SUPPORT_TUNER_MV114) || defined(SUPPORT_TUNER_ALPS) //xyy 2003-10-13 9:42
- if(play_state != VCD_STATE_POWER)
- #endif
- #ifdef JPEG_PAUSE_WHEN_SETUP // fengjl add 3-11-30 15:47
- if((Is_JPEG_SlideMode())&&(play_state == VCD_STATE_NORMAL))
- {
- run_pause(0);
- // if(Is_JPEG_SlideMode())
- old_play_state = VCD_STATE_NORMAL;
- }
- else
- #endif //end JPEG_PAUSE_WHEN_SETUP
- #ifndef DVB_OSD_MENU_VER3 // 2004/12/27 yltseng modify layout
- run_pause_setting();
- #else
- {
- if(system_state != SYSTEM_TS)
- run_pause_setting();
- }
- #endif
- #endif
- #endif//SDRAM_16Mb_Mode
- #endif //end NEW_STYLE_SETUP
- // force loading setup module
- //LoadModual(MODUAL_AP2);
- #if (defined(SOFT_MENU)&&defined(VIDEOSETUPGUI))//Modifed by ChenZhao on 2004-9-22 11:33
- if(IsPlayVideo())
- InitVideoSetupGUI();
- else
- init_setup();
- #else//(defined(SOFT_MENU)&&defined(VIDEOSETUPGUI))
- init_setup();
- #endif//(defined(SOFT_MENU)&&defined(VIDEOSETUPGUI))
- //Maoyong added for IR U/D/L/R/Sel proc func setting 2004-9-24 9:13
- SetFullscrnCmdFuncPtr( setup_func_up, setup_func_down, setup_func_left,
- setup_func_right, setup_func_select);
- #ifdef NEW_UART_COMMAND
- timeout_vfd=0;
- nCurrentVolMode=VOL_MODE_MAIN;
- #endif
- }
- show_normal_after_setup();//wangfeng 2004-2-17 11:27
- }
- #endif // SETUP_PROGRAM_IN_PLACE_UNDER_16M
- #ifdef SUPPORT_FUNCTION_MENU
- void ircmd_setup_plus(void)
- {
- if(full_scrn&SETUP_PLUS)
- {
- #ifdef DEBUG_FUNCTION_MENU
- printf("exit setup plusn");
- #endif
- setup_menu_plus_timer = 0;
- ExitSetupPage(0);
- }
- else
- {
- #ifdef DEBUG_FUNCTION_MENU
- printf("enter setup plusn");
- #endif
- setup_menu_plus_timer = MENU_PLUS_SHOW_TIME;
- init_setup_plus();
- //Maoyong added for IR U/D/L/R/Sel proc func setting 2004-9-24 11:38
- SetFullscrnCmdFuncPtr( setup_func_up, setup_func_down, setup_func_left,
- setup_func_right, setup_func_select);
- }
- }
- #endif //end #ifdef SUPPORT_FUNCTION_MENU