Enlightenment CVS committal
Author : xcomputerman
Project : e17
Module : proto
Dir : e17/proto/esmart/test
Modified Files:
esmart_main.c
Log Message:
Display the logo only if there are no thumbs requested
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/esmart/test/esmart_main.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- esmart_main.c 8 Nov 2003 19:34:59 -0000 1.4
+++ esmart_main.c 8 Nov 2003 19:46:05 -0000 1.5
@@ -127,14 +127,15 @@
evas_object_color_set(o, 255, 255, 255, 0);
evas_object_name_set(o, "background");
- image = evas_object_image_add(evas);
- evas_object_image_file_set(image, PACKAGE_DATA_DIR"/esmart.png", NULL);
- evas_object_image_size_get(image, &iw, &ih);
- evas_object_resize(image, iw, ih);
- evas_object_image_fill_set(image, 0.0, 0.0, (Evas_Coord) iw, (Evas_Coord) ih);
- evas_object_layer_set(image, 1000);
- evas_object_show(image);
-
+ if (argc < 2) {
+ image = evas_object_image_add(evas);
+ evas_object_image_file_set(image, PACKAGE_DATA_DIR"/esmart.png", NULL);
+ evas_object_image_size_get(image, &iw, &ih);
+ evas_object_resize(image, iw, ih);
+ evas_object_image_fill_set(image, 0.0, 0.0, (Evas_Coord) iw, (Evas_Coord) ih);
+ evas_object_layer_set(image, 1000);
+ evas_object_show(image);
+ }
evas_object_show(o);
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs