Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin


Modified Files:
        ewl_paned_test.c ewl_theme_test.c 


Log Message:
- Get rid of the extra paned api. You set the active_area and then append
  into the paned with the container callbacks. This is the same api as the
  dialog uses.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_paned_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_paned_test.c    3 Oct 2005 06:43:07 -0000       1.3
+++ ewl_paned_test.c    10 Oct 2005 15:37:07 -0000      1.4
@@ -45,14 +45,18 @@
        ewl_container_child_append(EWL_CONTAINER(box), pane);
        ewl_widget_show(pane);
 
+       ewl_paned_active_area_set(EWL_PANED(pane), EWL_POSITION_LEFT);
+
        o = ewl_text_new();
        ewl_text_text_set(EWL_TEXT(o), "left");
-       ewl_paned_first_pane_append(EWL_PANED(pane), o);
+       ewl_container_child_append(EWL_CONTAINER(pane), o);
        ewl_widget_show(o);
 
+       ewl_paned_active_area_set(EWL_PANED(pane), EWL_POSITION_RIGHT);
+
        o = ewl_text_new();
        ewl_text_text_set(EWL_TEXT(o), "right");
-       ewl_paned_second_pane_append(EWL_PANED(pane), o);
+       ewl_container_child_append(EWL_CONTAINER(pane), o);
        ewl_widget_show(o);
 }
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/bin/ewl_theme_test.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_theme_test.c    5 Oct 2005 22:45:56 -0000       1.8
+++ ewl_theme_test.c    10 Oct 2005 15:37:07 -0000      1.9
@@ -279,15 +279,19 @@
        misc = ewl_hpaned_new ();
        ewl_container_child_append (EWL_CONTAINER (vbox), misc);
        ewl_widget_show (misc);
-       
+
+       ewl_paned_active_area_set(EWL_PANED(misc), EWL_POSITION_LEFT);
+
        item = ewl_text_new();
        ewl_text_text_set(EWL_TEXT(item), "left");
-       ewl_paned_first_pane_append (EWL_PANED (misc), item);
+       ewl_container_child_append(EWL_CONTAINER(misc), item);
        ewl_widget_show (item);
-       
+
+       ewl_paned_active_area_set(EWL_PANED(misc), EWL_POSITION_RIGHT);
+
        item = ewl_text_new();
        ewl_text_text_set(EWL_TEXT(item), "right");
-       ewl_paned_second_pane_append (EWL_PANED (misc), item);
+       ewl_container_child_append(EWL_CONTAINER(misc), item);
        ewl_widget_show (item);
        
        misc = ewl_hseparator_new ();




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to