Enlightenment CVS committal

Author  : fletch3k
Project : misc
Module  : enotes

Dir     : misc/enotes/src


Modified Files:
        note.c note.h 


Log Message:
Scrollpanes - HandyAndE's suggestion

===================================================================
RCS file: /cvsroot/enlightenment/misc/enotes/src/note.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- note.c      10 Sep 2004 16:35:31 -0000      1.25
+++ note.c      11 Sep 2004 17:17:01 -0000      1.26
@@ -217,11 +217,16 @@
        evas_object_focus_set(p->eo, TRUE);
        ewl_embed_focus_set((Ewl_Embed *) p->emb, TRUE);
 
+       p->pane=ewl_scrollpane_new();
+       ewl_container_child_append((Ewl_Container*)p->emb,p->pane);
+       ewl_widget_show(p->pane);
+
        p->content = ewl_text_new(fcontent);
-       ewl_container_child_append((Ewl_Container *) p->emb, p->content);
+       ewl_container_child_append((Ewl_Container *) p->pane, p->content);
        ewl_object_fill_policy_set((Ewl_Object *) p->content, EWL_FLAG_FILL_FILL);
        ewl_callback_append(p->emb, EWL_CALLBACK_CONFIGURE, note_move_embed,
-                            p->content);
+                            p->pane);
+       
        ewl_widget_show(p->content);
 
        /* Ecore Callbacks */
===================================================================
RCS file: /cvsroot/enlightenment/misc/enotes/src/note.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- note.h      10 Sep 2004 16:35:31 -0000      1.9
+++ note.h      11 Sep 2004 17:17:01 -0000      1.10
@@ -53,6 +53,7 @@
        Evas_Object    *eo;
        Ewl_Widget     *emb;
        Ewl_Widget     *content;
+       Ewl_Widget     *pane;
 
        Ewl_Row        *saveload_row;
 




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to