Enlightenment CVS committal
Author : titan
Project : e17
Module : proto
Dir : e17/proto/ephoto/src
Modified Files:
ephoto.c ephoto_callbacks.c ephoto_viewer.c
Log Message:
Finish moving ephoto to ewl_shadow
===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -3 -r1.86 -r1.87
--- ephoto.c 7 Oct 2006 18:08:46 -0000 1.86
+++ ephoto.c 9 Oct 2006 03:22:36 -0000 1.87
@@ -29,7 +29,7 @@
m->win = ewl_window_new();
ewl_window_title_set(EWL_WINDOW(m->win), "Ephoto");
ewl_window_name_set(EWL_WINDOW(m->win), "Ephoto");
- ewl_object_size_request(EWL_OBJECT(m->win), 620, 480);
+ ewl_object_size_request(EWL_OBJECT(m->win), 620, 475);
ewl_callback_append(m->win, EWL_CALLBACK_DELETE_WINDOW, destroy_cb, NULL);
ewl_widget_show(m->win);
===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto_callbacks.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- ephoto_callbacks.c 7 Oct 2006 21:15:45 -0000 1.33
+++ ephoto_callbacks.c 9 Oct 2006 03:22:36 -0000 1.34
@@ -209,8 +209,8 @@
shadow = ewl_shadow_new();
ewl_container_child_append(EWL_CONTAINER(m->viewer_freebox), shadow);
- ewl_object_minimum_size_set(EWL_OBJECT(shadow), 115, 95);
- ewl_object_maximum_size_set(EWL_OBJECT(shadow), 115, 95);
+ ewl_object_minimum_size_set(EWL_OBJECT(shadow), 110, 90);
+ ewl_object_maximum_size_set(EWL_OBJECT(shadow), 110, 90);
ewl_callback_append(shadow, EWL_CALLBACK_CLICKED, view_images, image_path);
ewl_widget_show(shadow);
@@ -219,8 +219,9 @@
ewl_container_child_append(EWL_CONTAINER(shadow), image);
ewl_image_size_set(EWL_IMAGE(image), 97, 83);
ewl_image_proportional_set(EWL_IMAGE(image), TRUE);
- ewl_theme_data_str_set(image, "/image_thumbnail/group",
- ewl_theme_data_str_get(m->win, "group"));
+ ewl_theme_data_str_set(image, "/image_thumbnail/file",
+ PACKAGE_DATA_DIR "/images/image_bg.edj");
+ ewl_theme_data_str_set(image, "/image_thumbnail/group", "image_bg");
ewl_object_alignment_set(EWL_OBJECT(image), EWL_FLAG_ALIGN_CENTER);
ewl_widget_show(image);
}
===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto_viewer.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- ephoto_viewer.c 7 Oct 2006 21:15:45 -0000 1.20
+++ ephoto_viewer.c 9 Oct 2006 03:22:36 -0000 1.21
@@ -461,7 +461,7 @@
shadow = ewl_shadow_new();
ewl_container_child_append(EWL_CONTAINER(freebox), shadow);
ewl_object_minimum_size_set(EWL_OBJECT(shadow), 60, 60);
- ewl_object_maximum_size_set(EWL_OBJECT(shadow), 60, 60);
+ ewl_object_maximum_size_set(EWL_OBJECT(shadow), 55, 55);
ewl_callback_append(shadow, EWL_CALLBACK_CLICKED, change_image,
current_image);
ewl_widget_show(shadow);
@@ -471,8 +471,9 @@
ewl_image_size_set(EWL_IMAGE(image), 48, 48);
ewl_image_proportional_set(EWL_IMAGE(image), TRUE);
ewl_object_alignment_set(EWL_OBJECT(image), EWL_FLAG_ALIGN_CENTER);
- ewl_theme_data_str_set(image, "/image_thumbnail/group",
- ewl_theme_data_str_get(m->win, "group"));
+ ewl_theme_data_str_set(image, "/image_thumbnail/file",
+ PACKAGE_DATA_DIR "/images/image_bg.edj");
+ ewl_theme_data_str_set(image, "/image_thumbnail/group", "image_bg");
ewl_widget_show(image);
ecore_dlist_next(view_thumbs);
-------------------------------------------------------------------------
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