[xiph-commits] r12398 - trunk/sushivision

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Mon Jan 29 21:00:26 PST 2007


Author: xiphmont
Date: 2007-01-29 21:00:25 -0800 (Mon, 29 Jan 2007)
New Revision: 12398

Modified:
   trunk/sushivision/example_fractal.c
   trunk/sushivision/plot.c
Log:
Correct select box droppings caused by a missing line width set when 
crosshairs weren't active



Modified: trunk/sushivision/example_fractal.c
===================================================================
--- trunk/sushivision/example_fractal.c	2007-01-30 04:49:41 UTC (rev 12397)
+++ trunk/sushivision/example_fractal.c	2007-01-30 05:00:25 UTC (rev 12398)
@@ -97,14 +97,6 @@
 		      (int []){0,1,2,3,4,-1},
 		      0);
 
-  sushiv_new_panel_1d_linked(s,1,"X Slice",s->objective_list[0]->scale,
-			     (int []){0,1,-1},
-			     0,0);
-
-  sushiv_new_panel_1d_linked(s,2,"Y Slice",s->objective_list[0]->scale,
-			     (int []){0,1,-1},
-			     0,SUSHIV_PANEL_LINK_Y | SUSHIV_PANEL_FLIP);
-  
   return 0;
 }
 

Modified: trunk/sushivision/plot.c
===================================================================
--- trunk/sushivision/plot.c	2007-01-30 04:49:41 UTC (rev 12397)
+++ trunk/sushivision/plot.c	2007-01-30 05:00:25 UTC (rev 12398)
@@ -374,6 +374,7 @@
     if(p->box_active){
       double vals[4];
       box_corners(p,vals);
+      cairo_set_line_width(c,1.);
 
       cairo_rectangle(c,vals[0],vals[1],vals[2]+1,vals[3]+1);	
       if(p->box_active>1)



More information about the commits mailing list