comparison Gui/interface.c @ 7538:c7b61f316edf

- add "start in fullscreen" function - fix some small bug - don't quit if the config file is wrong
author pontscho
date Sat, 28 Sep 2002 19:42:10 +0000
parents e3ca9e707857
children 4a233f3b09a7
comparison
equal deleted inserted replaced
7537:719bb52b987a 7538:c7b61f316edf
140 guiIntfStruct.StreamType=-1; 140 guiIntfStruct.StreamType=-1;
141 141
142 memset( &gtkEquChannels,0,sizeof( gtkEquChannels ) ); 142 memset( &gtkEquChannels,0,sizeof( gtkEquChannels ) );
143 gtkAOOSSMixer=strdup( PATH_DEV_MIXER ); 143 gtkAOOSSMixer=strdup( PATH_DEV_MIXER );
144 gtkAOOSSDevice=strdup( PATH_DEV_DSP ); 144 gtkAOOSSDevice=strdup( PATH_DEV_DSP );
145 fullscreen=gtkLoadFullscreen;
145 146
146 gtkInit(); 147 gtkInit();
147 wsXInit( (void *)mDisplay ); 148 wsXInit( (void *)mDisplay );
148 149
149 // cfg_read(); 150 // cfg_read();
150 appInit( (void*)mDisplay ); 151 appInit( (void*)mDisplay );
151 152
152 if ( plCurrent && !filename ) mplSetFileName( plCurrent->path,plCurrent->name,STREAMTYPE_FILE ); 153 if ( plCurrent && !filename ) mplSetFileName( plCurrent->path,plCurrent->name,STREAMTYPE_FILE );
153 if ( sub_name ) guiSetFilename( guiIntfStruct.Subtitlename,sub_name ); 154 if ( sub_name ) guiSetFilename( guiIntfStruct.Subtitlename,sub_name );
154 #if defined( USE_OSD ) || defined( USE_SUB ) 155 #if defined( USE_OSD ) || defined( USE_SUB )
155 guiLoadFont(); 156 guiLoadFont();
156 #endif 157 #endif