Enlightenment CVS committal

Author  : titan
Project : e17
Module  : proto

Dir     : e17/proto/ephoto/src


Modified Files:
        ephoto_callbacks.c 


Log Message:
Add shadow stuff to thumbnail images. This looks much better. Ephoto is 
starting to look good.

===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto_callbacks.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- ephoto_callbacks.c  8 Sep 2006 03:01:07 -0000       1.21
+++ ephoto_callbacks.c  15 Sep 2006 02:44:36 -0000      1.22
@@ -144,7 +144,8 @@
  char text[PATH_MAX];
  Ecore_List *ls;
  Ecore_List *images;
-
+ Ewl_Widget *shadow;
+ 
  ls = ecore_list_new();
  images = ecore_list_new();
  dir = ewl_widget_name_get(w);
@@ -208,9 +209,17 @@
   image = ecore_list_remove_first(images);
   ecore_dlist_append(current_thumbs, image);
   
+  shadow = ewl_shadow_new();
+  ewl_container_child_append(EWL_CONTAINER(m->viewer_freebox), shadow);
+  ewl_object_minimum_size_set(EWL_OBJECT(shadow), 124, 124);
+  ewl_object_maximum_size_set(EWL_OBJECT(shadow), 124, 124);
+  ewl_widget_show(shadow);
+
   m->icon = ewl_image_thumbnail_new();
   ewl_image_thumbnail_request(EWL_IMAGE_THUMBNAIL(m->icon), image);
-  ewl_container_child_append(EWL_CONTAINER(m->viewer_freebox), m->icon);
+  ewl_container_child_append(EWL_CONTAINER(shadow), m->icon);
+  ewl_image_size_set(EWL_IMAGE(m->icon), 100, 100);
+  ewl_theme_data_str_set(m->icon, "/image_thumbnail/group", "entry");
   ewl_widget_show(m->icon);
  }
  ecore_list_destroy(ls);



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to