From: Enlightenment C. <no...@cv...> - 2006-10-22 15:00:31
|
Enlightenment CVS committal Author : moom Project : e17 Module : proto Dir : e17/proto/exhibit/src/bin Modified Files: exhibit.h exhibit_main.c Log Message: * The HPaned now casts a *small* shadow on the image. It makes the interface clearer imho (better separation between the image and the left pane) =================================================================== RCS file: /cvs/e/e17/proto/exhibit/src/bin/exhibit.h,v retrieving revision 1.36 retrieving revision 1.37 diff -u -3 -r1.36 -r1.37 --- exhibit.h 15 Sep 2006 11:30:10 -0000 1.36 +++ exhibit.h 22 Oct 2006 15:00:30 -0000 1.37 @@ -193,6 +193,7 @@ Etk_Widget *table; Etk_Widget *hpaned; Etk_Widget *vpaned; + Etk_Widget *hpaned_shadow; Etk_Widget *entry[2]; Etk_Widget *zoom_in[2]; Etk_Widget *zoom_out[2]; =================================================================== RCS file: /cvs/e/e17/proto/exhibit/src/bin/exhibit_main.c,v retrieving revision 1.86 retrieving revision 1.87 diff -u -3 -r1.86 -r1.87 --- exhibit_main.c 21 Oct 2006 09:32:31 -0000 1.86 +++ exhibit_main.c 22 Oct 2006 15:00:30 -0000 1.87 @@ -905,10 +905,15 @@ } else tab = _ex_tab_new(e, "."); - + + e->hpaned_shadow = etk_shadow_new(); + etk_shadow_shadow_set(ETK_SHADOW(e->hpaned_shadow), ETK_SHADOW_INSIDE, + ETK_SHADOW_LEFT, 5, 2, 0, 115); + etk_paned_child2_set(ETK_PANED(e->hpaned), e->hpaned_shadow, ETK_TRUE); + e->notebook = etk_notebook_new(); etk_notebook_tabs_visible_set(ETK_NOTEBOOK(e->notebook), ETK_FALSE); - etk_paned_child2_set(ETK_PANED(e->hpaned), e->notebook, ETK_TRUE); + etk_container_add(ETK_CONTAINER(e->hpaned_shadow), e->notebook); etk_signal_connect("current_page_changed", ETK_OBJECT(e->notebook), ETK_CALLBACK(_ex_main_window_tab_toggled_cb), NULL); |