Enlightenment CVS committal
Author : titan
Project : e17
Module : proto
Dir : e17/proto/ephoto/src
Modified Files:
Makefile.am ephoto.h ephoto_callbacks.c
Added Files:
ephoto_viewer.c
Log Message:
Commit the beginnings of an image viewer for ephoto!
===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/Makefile.am,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- Makefile.am 18 Sep 2006 22:14:55 -0000 1.5
+++ Makefile.am 23 Sep 2006 02:53:37 -0000 1.6
@@ -6,7 +6,7 @@
bin_PROGRAMS = ephoto
-ephoto_SOURCES = ephoto.c ephoto_callbacks.c ephoto_slideshow.c
+ephoto_SOURCES = ephoto.c ephoto_callbacks.c ephoto_slideshow.c ephoto_viewer.c
ephoto_CFLAGS = @ewl_cflags@
===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto.h,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -3 -r1.39 -r1.40
--- ephoto.h 16 Sep 2006 02:53:33 -0000 1.39
+++ ephoto.h 23 Sep 2006 02:53:37 -0000 1.40
@@ -21,6 +21,7 @@
void entry_change(Ewl_Widget *w, void *event, void *data);
void create_slideshow_config(Ewl_Widget *w, void *event, void *data);
void start_slideshow(Ewl_Widget *w, void *event, void *data);
+void view_images(Ewl_Widget *w, void *event, void *data);
typedef struct _Main Main;
@@ -37,5 +38,6 @@
extern Main *m;
extern char *current_directory;
extern Ecore_List *current_thumbs;
+extern Ewl_Widget *vwin;
#endif
===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto_callbacks.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- ephoto_callbacks.c 16 Sep 2006 02:53:33 -0000 1.24
+++ ephoto_callbacks.c 23 Sep 2006 02:53:37 -0000 1.25
@@ -223,6 +223,7 @@
ewl_image_size_set(EWL_IMAGE(icon), 100, 100);
ewl_theme_data_str_set(icon, "/image_thumbnail/group",
ewl_theme_data_str_get(m->entry, "group"));
+ ewl_callback_append(icon, EWL_CALLBACK_CLICKED, view_images, image);
ewl_widget_show(icon);
}
ecore_list_destroy(ls);
-------------------------------------------------------------------------
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