Enlightenment CVS committal Author : titan Project : e17 Module : apps/ephoto
Dir : e17/apps/ephoto/src/bin Modified Files: ephoto_slideshow.c Log Message: Black background for slideshows! Probably one of the most requested features. =================================================================== RCS file: /cvs/e/e17/apps/ephoto/src/bin/ephoto_slideshow.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- ephoto_slideshow.c 15 May 2007 16:44:07 -0000 1.5 +++ ephoto_slideshow.c 10 Jun 2007 21:46:36 -0000 1.6 @@ -41,7 +41,6 @@ ecore_dlist_goto_first(em->images); image_path = ecore_dlist_current(em->images); - ewl_container_reset(EWL_CONTAINER(w)); ewl_image_file_set(EWL_IMAGE(w), image_path, NULL); change = ecore_timer_add(5, change_picture, w); @@ -56,6 +55,10 @@ win = add_window("Ephoto Slideshow!", 0, 0, destroy, NULL); ewl_window_fullscreen_set(EWL_WINDOW(win), 1); ewl_callback_append(win, EWL_CALLBACK_CLICKED, destroy, NULL); + + image = add_image(win, PACKAGE_DATA_DIR "/images/black.png", 0, NULL, NULL); + ewl_image_proportional_set(EWL_IMAGE(image), FALSE); + ewl_object_fill_policy_set(EWL_OBJECT(image), EWL_FLAG_FILL_ALL); cell = ewl_cell_new(); ewl_object_fill_policy_set(EWL_OBJECT(cell), EWL_FLAG_FILL_ALL); ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs