Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : apps/elicit

Dir     : e17/apps/elicit/src


Modified Files:
        spectrum.c 


Log Message:

fix gradient fills and angles

===================================================================
RCS file: /cvs/e/e17/apps/elicit/src/spectrum.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- spectrum.c  10 Oct 2006 01:01:19 -0000      1.2
+++ spectrum.c  10 Oct 2006 01:05:59 -0000      1.3
@@ -178,7 +178,7 @@
   evas = evas_object_evas_get(o);
 
   s->grad = evas_object_gradient_add(evas);
-  evas_object_gradient_angle_set(s->grad, 90);
+  evas_object_gradient_angle_set(s->grad, 270);
   evas_object_gradient_color_stop_add(s->grad, 0, 255, 0, 255, 0);
   evas_object_gradient_color_stop_add(s->grad, 0, 0, 0, 255, 1);
   evas_object_smart_member_add(s->grad, o);
@@ -216,7 +216,7 @@
   s = evas_object_smart_data_get(o);
   if (!s) return;
   evas_object_resize(s->grad, w, h);
-  evas_object_gradient_fill_set(s->grad, 0, 0, h, w);
+  evas_object_gradient_fill_set(s->grad, 0, 0, w, h);
 }
 
 static void



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to