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: Some gfx fixup =================================================================== RCS file: /cvs/e/e17/proto/ephoto/src/ephoto.c,v retrieving revision 1.82 retrieving revision 1.83 diff -u -3 -r1.82 -r1.83 --- ephoto.c 23 Sep 2006 14:19:02 -0000 1.82 +++ ephoto.c 24 Sep 2006 23:30:19 -0000 1.83 @@ -24,7 +24,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), 640, 480); + ewl_object_size_request(EWL_OBJECT(m->win), 580, 460); 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.28 retrieving revision 1.29 diff -u -3 -r1.28 -r1.29 --- ephoto_callbacks.c 24 Sep 2006 16:22:42 -0000 1.28 +++ ephoto_callbacks.c 24 Sep 2006 23:30:19 -0000 1.29 @@ -141,7 +141,6 @@ char text[PATH_MAX]; Ecore_List *ls; Ecore_List *images; - Ewl_Widget *shadow; Ewl_Widget *image; Ewl_Widget *cell; @@ -207,15 +206,9 @@ { image_path = ecore_list_remove_first(images); ecore_dlist_append(current_thumbs, image_path); - - shadow = ewl_shadow_new(); - ewl_container_child_append(EWL_CONTAINER(m->viewer_freebox), shadow); - ewl_object_minimum_size_set(EWL_OBJECT(shadow), 125, 105); - ewl_object_maximum_size_set(EWL_OBJECT(shadow), 125, 105); - ewl_widget_show(shadow); cell = ewl_cell_new(); - ewl_container_child_append(EWL_CONTAINER(shadow), cell); + ewl_container_child_append(EWL_CONTAINER(m->viewer_freebox), cell); ewl_object_minimum_size_set(EWL_OBJECT(cell), 100, 85); ewl_object_maximum_size_set(EWL_OBJECT(cell), 100, 85); ewl_theme_data_str_set(cell, "/cell/group", =================================================================== RCS file: /cvs/e/e17/proto/ephoto/src/ephoto_viewer.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- ephoto_viewer.c 24 Sep 2006 16:22:42 -0000 1.4 +++ ephoto_viewer.c 24 Sep 2006 23:30:19 -0000 1.5 @@ -33,7 +33,6 @@ Ewl_Widget *freebox; Ewl_Widget *icon; Ewl_Widget *image; - Ewl_Widget *shadow; Ewl_Widget *vbox; Ewl_Widget *cell; Ecore_List *view_thumbs; @@ -93,15 +92,9 @@ while (ecore_dlist_current(view_thumbs)) { current_image = ecore_dlist_current(view_thumbs); - - shadow = ewl_shadow_new(); - ewl_container_child_append(EWL_CONTAINER(freebox), shadow); - ewl_object_minimum_size_set(EWL_OBJECT(shadow), 66, 66); - ewl_object_maximum_size_set(EWL_OBJECT(shadow), 66, 66); - ewl_widget_show(shadow); cell = ewl_cell_new(); - ewl_container_child_append(EWL_CONTAINER(shadow), cell); + ewl_container_child_append(EWL_CONTAINER(freebox), cell); ewl_object_minimum_size_set(EWL_OBJECT(cell), 50, 50); ewl_object_maximum_size_set(EWL_OBJECT(cell), 50, 50); ewl_theme_data_str_set(cell, "/cell/group", ------------------------------------------------------------------------- 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