comparison Gui/interface.c @ 6912:5ddd609550d5

- fix equ handling - fix dvd pos bar - fix 10l bug in evLoadPlay bugfix :) - mittomen
author pontscho
date Mon, 05 Aug 2002 01:14:14 +0000
parents c2d4100c964e
children 0fa27966ac47
comparison
equal deleted inserted replaced
6911:695bd84c1b24 6912:5ddd609550d5
85 memset( &gtkEquChannels,0,sizeof( gtkEquChannels ) ); 85 memset( &gtkEquChannels,0,sizeof( gtkEquChannels ) );
86 gtkAOOSSMixer=strdup( PATH_DEV_MIXER ); 86 gtkAOOSSMixer=strdup( PATH_DEV_MIXER );
87 gtkAOOSSDevice=strdup( PATH_DEV_DSP ); 87 gtkAOOSSDevice=strdup( PATH_DEV_DSP );
88 88
89 gtkInit(); 89 gtkInit();
90 90 wsXInit( (void *)mDisplay );
91
91 cfg_read(); 92 cfg_read();
92 appInit( (void*)mDisplay ); 93 appInit( (void*)mDisplay );
93 94
94 if ( plCurrent && !filename ) mplSetFileName( plCurrent->path,plCurrent->name ); 95 if ( plCurrent && !filename ) mplSetFileName( plCurrent->path,plCurrent->name );
95 #if defined( USE_OSD ) || defined( USE_SUB ) 96 #if defined( USE_OSD ) || defined( USE_SUB )
296 btnModify( evSetVolume,guiIntfStruct.Volume ); 297 btnModify( evSetVolume,guiIntfStruct.Volume );
297 btnModify( evSetBalance,guiIntfStruct.Balance ); 298 btnModify( evSetBalance,guiIntfStruct.Balance );
298 } 299 }
299 break; 300 break;
300 case guiSetValues: 301 case guiSetValues:
302 // -- video
303 if ( arg )
304 {
305 if ( vo_gamma_brightness == 1000 )
306 { vo_gamma_brightness=0; get_video_colors( (void *)arg,"brightness",&vo_gamma_brightness ); }
307 if ( vo_gamma_contrast == 1000 )
308 { vo_gamma_contrast=0; get_video_colors( (void *)arg,"contrast",&vo_gamma_contrast ); }
309 if ( vo_gamma_hue == 1000 )
310 { vo_gamma_hue=0; get_video_colors( (void *)arg,"hue",&vo_gamma_hue ); }
311 if ( vo_gamma_saturation == 1000 )
312 { vo_gamma_saturation=0; get_video_colors( (void *)arg,"saturation",&vo_gamma_saturation ); }
313 }
301 // -- audio 314 // -- audio
302 if ( audio_out ) 315 if ( audio_out )
303 { 316 {
304 float l,r; 317 float l,r;
305 mixer_getvolume( &l,&r ); 318 mixer_getvolume( &l,&r );