Enlightenment CVS committal
Author : titansoccer15
Project : e17
Module : proto
Dir : e17/proto/ephoto/src
Modified Files:
ephoto.c ephoto.h
Log Message:
Making View Images look better.
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/ephoto/src/ephoto.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ephoto.c 18 Mar 2006 08:29:59 -0000 1.9
+++ ephoto.c 18 Mar 2006 08:41:40 -0000 1.10
@@ -128,17 +128,23 @@
ewl_widget_show(m->notebook);
m->viewbox = ewl_vbox_new();
- ewl_theme_data_str_set(m->viewbox, "/vbox/group", "entry");
ewl_container_child_append(EWL_CONTAINER(m->notebook),
m->viewbox);
ewl_object_alignment_set(EWL_OBJECT(m->viewbox),
EWL_FLAG_ALIGN_CENTER);
ewl_box_spacing_set(EWL_BOX(m->viewbox), 10);
ewl_object_fill_policy_set(EWL_OBJECT(m->viewbox),
EWL_FLAG_FILL_ALL);
ewl_widget_show(m->viewbox);
+ m->viewscroll = ewl_vbox_new();
+ ewl_theme_data_str_set(m->viewscroll, "/vbox/group", "entry");
+ ewl_container_child_append(EWL_CONTAINER(m->viewbox),
m->viewscroll);
+ ewl_object_alignment_set(EWL_OBJECT(m->viewscroll),
EWL_FLAG_ALIGN_CENTER);
+ ewl_object_fill_policy_set(EWL_OBJECT(m->viewscroll),
EWL_FLAG_FILL_ALL);
+ ewl_widget_show(m->viewscroll);
+
m->vimage = ewl_image_new();
ewl_object_fill_policy_set(EWL_OBJECT(m->vimage),
EWL_FLAG_FILL_ALL);
ewl_image_proportional_set(EWL_IMAGE(m->vimage), TRUE);
- ewl_container_child_append(EWL_CONTAINER(m->viewbox),
m->vimage);
+ ewl_container_child_append(EWL_CONTAINER(m->viewscroll),
m->vimage);
ewl_widget_show(m->vimage);
m->vbutton = ewl_button_new();
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/ephoto/src/ephoto.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ephoto.h 17 Mar 2006 22:05:16 -0000 1.6
+++ ephoto.h 18 Mar 2006 08:41:40 -0000 1.7
@@ -82,6 +82,7 @@
Ewl_Widget *vimage;
Ewl_Widget *viewbox;
Ewl_Widget *vbutton;
+ Ewl_Widget *viewscroll;
Ecore_List *imagelist;
Ecore_List *presentlist;
};
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs