Enlightenment CVS committal Author : titan Project : e17 Module : apps/ephoto
Dir : e17/apps/ephoto/src/bin Modified Files: Makefile.am ephoto.h ephoto_main.c Added Files: ephoto_slideshow.c Log Message: Slideshow now works. =================================================================== RCS file: /cvs/e/e17/apps/ephoto/src/bin/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- Makefile.am 24 Feb 2007 23:30:49 -0000 1.2 +++ Makefile.am 13 Mar 2007 07:35:09 -0000 1.3 @@ -13,6 +13,7 @@ ephoto_main.c \ ephoto_nls.c \ ephoto_normal_view.c \ + ephoto_slideshow.c \ ephoto_utils.c ephoto_CFLAGS = @ewl_cflags@ -Wall -Werror =================================================================== RCS file: /cvs/e/e17/apps/ephoto/src/bin/ephoto.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- ephoto.h 11 Mar 2007 01:14:47 -0000 1.7 +++ ephoto.h 13 Mar 2007 07:35:09 -0000 1.8 @@ -2,6 +2,7 @@ #define _EPHOTO_H_ #include "config.h" +#include <Ecore.h> #include <Ecore_Data.h> #include <Ecore_File.h> #include <Evas.h> @@ -85,8 +86,8 @@ Ewl_Widget *add_normal_view(Ewl_Widget *c); void set_info(Ewl_Widget *w, void *event, void *data); -/* Ephoto Thumbnail */ -void generate_thumbnail(Ewl_Widget *image, char *path); +/* Ephoto Slideshow */ +void start_slideshow(Ewl_Widget *w, void *event, void *data); /* Ephoto Utilities*/ const char *file_size_get(int size); =================================================================== RCS file: /cvs/e/e17/apps/ephoto/src/bin/ephoto_main.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- ephoto_main.c 13 Mar 2007 00:52:16 -0000 1.12 +++ ephoto_main.c 13 Mar 2007 07:35:09 -0000 1.13 @@ -143,12 +143,11 @@ button = add_button(em->toolbar, NULL, PACKAGE_DATA_DIR "/images/get_exif.png", display_exif_dialog, NULL); ewl_image_size_set(EWL_IMAGE(EWL_BUTTON(button)->image_object), 30, 30); ewl_attach_tooltip_text_set(button, "View Exif Data"); - button = add_button(em->toolbar, NULL, PACKAGE_DATA_DIR "/images/stock_fullscreen.png", window_fullscreen, NULL); ewl_image_size_set(EWL_IMAGE(EWL_BUTTON(button)->image_object), 30, 30); ewl_attach_tooltip_text_set(button, "Toggle Fullscreen"); - button = add_button(em->toolbar, NULL, PACKAGE_DATA_DIR "/images/x-office-presentation.png", NULL, NULL); + button = add_button(em->toolbar, NULL, PACKAGE_DATA_DIR "/images/x-office-presentation.png", start_slideshow, NULL); ewl_image_size_set(EWL_IMAGE(EWL_BUTTON(button)->image_object), 30, 30); ewl_attach_tooltip_text_set(button, "Start a Slideshow"); ------------------------------------------------------------------------- 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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs