Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/icon
Modified Files:
ewl_icon.c
Log Message:
- add an example to show the problem with setting fill_none on an icon
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/icon/ewl_icon.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_icon.c 26 Oct 2006 16:11:55 -0000 1.2
+++ ewl_icon.c 2 Jan 2007 22:08:08 -0000 1.3
@@ -32,6 +32,14 @@
ewl_widget_show(o);
o = ewl_icon_new();
+ ewl_object_fill_policy_set(EWL_OBJECT(o), EWL_FLAG_FILL_NONE);
+ ewl_icon_image_set(EWL_ICON(o),
+ PACKAGE_DATA_DIR "/ewl/images/Draw.png", NULL);
+ ewl_icon_label_set(EWL_ICON(o), "Fill None");
+ ewl_container_child_append(EWL_CONTAINER(hbox), o);
+ ewl_widget_show(o);
+
+ o = ewl_icon_new();
ewl_icon_image_set(EWL_ICON(o),
PACKAGE_DATA_DIR "/ewl/images/Draw.png", NULL);
ewl_icon_label_set(EWL_ICON(o), "Draw");
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs