Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_iconbox.c ewl_iconbox.h
Log Message:
Added an accessor to modify an icons's image after creation
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_iconbox.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ewl_iconbox.c 14 Jul 2005 08:01:48 -0000 1.5
+++ ewl_iconbox.c 17 Jul 2005 23:06:02 -0000 1.6
@@ -681,3 +681,8 @@
return EWL_ICONBOX_ICON(ib);
}
+
+
+void ewl_iconbox_icon_image_set(Ewl_IconBox_Icon* icon, char* filename) {
+ ewl_image_file_set(EWL_IMAGE(icon->image), filename, NULL);
+}
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_iconbox.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_iconbox.h 14 Jul 2005 08:01:49 -0000 1.3
+++ ewl_iconbox.h 17 Jul 2005 23:06:02 -0000 1.4
@@ -101,6 +101,7 @@
void ewl_iconbox_icon_arrange(Ewl_IconBox* ib);
void ewl_iconbox_deselect_all(Ewl_IconBox* ib);
Ewl_IconBox_Icon* ewl_iconbox_icon_add(Ewl_IconBox* iconbox, char* name, char*
icon_file);
+void ewl_iconbox_icon_image_set(Ewl_IconBox_Icon* icon, char* filename);
/* Internal callbacks */
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs