comparison libvo/vo_quartz.c @ 16892:3470c810527b

libvo input cleanup: remove the dependency on libinput, remove most of the crappy mappings (like O->o or ESC->q).
author albeu
date Wed, 02 Nov 2005 21:50:55 +0000
parents 7f34acc96aa4
children d878e3e313eb
comparison
equal deleted inserted replaced
16891:26cb0e11c9e9 16892:3470c810527b
376 GetEventParameter( event, kEventParamDirectObject, typeHICommand, NULL, sizeof( HICommand ), NULL, &theHICommand ); 376 GetEventParameter( event, kEventParamDirectObject, typeHICommand, NULL, sizeof( HICommand ), NULL, &theHICommand );
377 377
378 switch ( theHICommand.commandID ) 378 switch ( theHICommand.commandID )
379 { 379 {
380 case kHICommandQuit: 380 case kHICommandQuit:
381 mplayer_put_key(KEY_ESC); 381 mplayer_put_key(KEY_CLOSE_WIN);
382 break; 382 break;
383 383
384 case kHalfScreenCmd: 384 case kHalfScreenCmd:
385 if(vo_quartz_fs) 385 if(vo_quartz_fs)
386 { 386 {
474 474
475 switch (kind) 475 switch (kind)
476 { 476 {
477 case kEventWindowClosed: 477 case kEventWindowClosed:
478 theWindow = NULL; 478 theWindow = NULL;
479 mplayer_put_key(KEY_ESC); 479 mplayer_put_key(KEY_CLOSE_WIN);
480 break; 480 break;
481 481
482 //resize window 482 //resize window
483 case kEventWindowZoomed: 483 case kEventWindowZoomed:
484 case kEventWindowBoundsChanged: 484 case kEventWindowBoundsChanged: