Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : apps/e_utils
Dir : e17/apps/e_utils/src/bin/eapp_edit
Modified Files:
eapp_edit_main.c
Log Message:
Set a scale size for the icon displayed.
===================================================================
RCS file:
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/eapp_edit/eapp_edit_main.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- eapp_edit_main.c 24 Mar 2005 23:35:32 -0000 1.14
+++ eapp_edit_main.c 27 Mar 2005 17:23:29 -0000 1.15
@@ -195,7 +195,6 @@
iw = ewl_object_current_w_get(EWL_OBJECT(icon));
ih = ewl_object_current_h_get(EWL_OBJECT(icon));
ewl_image_file_set(EWL_IMAGE(icon), icon_file, "");
- ewl_image_scale_to(EWL_IMAGE(icon), iw, ih);
break;
case EWL_RESPONSE_CANCEL:
break;
@@ -322,6 +321,8 @@
cell = ewl_cell_new();
icon = ewl_image_new(file, "icon");
+ ewl_image_proportional_set(EWL_IMAGE(icon), TRUE);
+ ewl_image_scale_to(EWL_IMAGE(icon), 32, 32);
ewl_widget_show(icon);
ewl_container_child_append(EWL_CONTAINER(cell), icon);
ewl_object_fill_policy_set(EWL_OBJECT(cell), EWL_FLAG_FILL_ALL);
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs