comparison gui/ui/main.c @ 35357:80fe9ad7f318

Pass guiApp's wsTWindow parameters always by reference (if possible). (This isn't possible for wsSetIcon(), wsSetLayer() and wsRaiseWindowTop() by the way, because these need to be called with a GDK window ID information.)
author ib
date Fri, 23 Nov 2012 10:04:26 +0000
parents c8478a499a17
children fb054f36c3a9
comparison
equal deleted inserted replaced
35356:90d181c052e5 35357:80fe9ad7f318
397 case 3: movie_aspect=4.0f / 3.0f; break; 397 case 3: movie_aspect=4.0f / 3.0f; break;
398 case 4: movie_aspect=2.35; break; 398 case 4: movie_aspect=2.35; break;
399 case 1: 399 case 1:
400 default: movie_aspect=-1; 400 default: movie_aspect=-1;
401 } 401 }
402 wsClearWindow( guiApp.videoWindow ); 402 wsClearWindow( &guiApp.videoWindow );
403 if ( guiInfo.StreamType == STREAMTYPE_VCD ) uiEventHandling( evPlayVCD, 0 ); 403 if ( guiInfo.StreamType == STREAMTYPE_VCD ) uiEventHandling( evPlayVCD, 0 );
404 else if ( guiInfo.StreamType == STREAMTYPE_DVD ) uiEventHandling( ivPlayDVD, 0 ); 404 else if ( guiInfo.StreamType == STREAMTYPE_DVD ) uiEventHandling( ivPlayDVD, 0 );
405 else 405 else
406 guiInfo.NewPlay=GUI_FILE_NEW; 406 guiInfo.NewPlay=GUI_FILE_NEW;
407 break; 407 break;