Mercurial > mplayer.hg
comparison mplayer.c @ 5015:9842148f6053
-subpos key bindings with new input layer - patch by Tomas Konir <moje@molly.vabo.cz>
author | arpi |
---|---|
date | Sun, 10 Mar 2002 03:47:53 +0000 |
parents | bfc652fc7f43 |
children | b3bd4b29a03b |
comparison
equal
deleted
inserted
replaced
5014:4458e43871d3 | 5015:9842148f6053 |
---|---|
2628 if ( use_gui ) guiGetEvent( guiIEvent,(char *)MP_CMD_GUI_FULLSCREEN ); | 2628 if ( use_gui ) guiGetEvent( guiIEvent,(char *)MP_CMD_GUI_FULLSCREEN ); |
2629 else | 2629 else |
2630 #endif | 2630 #endif |
2631 video_out->control(VOCTRL_FULLSCREEN, 0); | 2631 video_out->control(VOCTRL_FULLSCREEN, 0); |
2632 } break; | 2632 } break; |
2633 case MP_CMD_SUB_POS: | |
2634 { | |
2635 int v; | |
2636 v = cmd->args[0].v.i; | |
2637 | |
2638 sub_pos+=v; | |
2639 if(sub_pos >100) sub_pos=100; | |
2640 if(sub_pos <0) sub_pos=0; | |
2641 } break; | |
2633 default : { | 2642 default : { |
2634 #ifdef HAVE_NEW_GUI | 2643 #ifdef HAVE_NEW_GUI |
2635 if ( ( use_gui )&&( cmd->id > MP_CMD_GUI_EVENTS ) ) guiGetEvent( guiIEvent,(char *)cmd->id ); | 2644 if ( ( use_gui )&&( cmd->id > MP_CMD_GUI_EVENTS ) ) guiGetEvent( guiIEvent,(char *)cmd->id ); |
2636 else | 2645 else |
2637 #endif | 2646 #endif |