diff 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
line wrap: on
line diff
--- a/Gui/interface.c	Mon Aug 05 01:06:25 2002 +0000
+++ b/Gui/interface.c	Mon Aug 05 01:14:14 2002 +0000
@@ -87,7 +87,8 @@
  gtkAOOSSDevice=strdup( PATH_DEV_DSP );
    
  gtkInit();
-    
+ wsXInit( (void *)mDisplay );
+     
  cfg_read(); 
  appInit( (void*)mDisplay );
        
@@ -298,6 +299,18 @@
 	}
 	break;
    case guiSetValues:
+// -- video
+	if ( arg )
+	 {
+	  if ( vo_gamma_brightness == 1000 )
+	   { vo_gamma_brightness=0; get_video_colors( (void *)arg,"brightness",&vo_gamma_brightness ); }
+	  if ( vo_gamma_contrast == 1000 )
+	   { vo_gamma_contrast=0; get_video_colors( (void *)arg,"contrast",&vo_gamma_contrast ); }
+	  if ( vo_gamma_hue == 1000 )
+	   { vo_gamma_hue=0; get_video_colors( (void *)arg,"hue",&vo_gamma_hue ); }
+	  if ( vo_gamma_saturation  == 1000 )
+	   { vo_gamma_saturation=0; get_video_colors( (void *)arg,"saturation",&vo_gamma_saturation ); }
+	 }
 // -- audio
         if ( audio_out )
 	{