Enlightenment CVS committal Author : rbdpngn Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src Modified Files: Ewl.h Makefile.am ewl_container.c ewl_object.c ewl_widget.c Added Files: ewl_cell.c ewl_cell.h ewl_row.c ewl_row.h ewl_tree.c ewl_tree.h Log Message: Added the basis for the tree widget, this is NOT complete, there's not a test program for any of the parts yet, and you SHOULD NOT USE IT yet. I hope to have this somewhat functional by the end of the week, but as usual, life will probably interfere with that plan. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/Ewl.h,v retrieving revision 1.24 retrieving revision 1.25 diff -u -3 -r1.24 -r1.25 --- Ewl.h 14 Jan 2003 21:44:57 -0000 1.24 +++ Ewl.h 2 Feb 2003 21:03:21 -0000 1.25 @@ -76,6 +76,10 @@ #include <ewl_selectionbar.h> #include <ewl_selectionbook.h> +#include <ewl_cell.h> +#include <ewl_row.h> +#include <ewl_tree.h> + #ifdef __cplusplus } #endif =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/Makefile.am,v retrieving revision 1.29 retrieving revision 1.30 diff -u -3 -r1.29 -r1.30 --- Makefile.am 15 Aug 2002 00:33:12 -0000 1.29 +++ Makefile.am 2 Feb 2003 21:03:21 -0000 1.30 @@ -11,6 +11,7 @@ ewl_box.h \ ewl_button.h \ ewl_callback.h \ + ewl_cell.h \ ewl_check.h \ ewl_checkbutton.h \ ewl_config.h \ @@ -35,6 +36,7 @@ ewl_notebook.h \ ewl_object.h \ ewl_radiobutton.h \ + ewl_row.h \ ewl_scrollbar.h \ ewl_scrollpane.h \ ewl_seeker.h \ @@ -47,6 +49,7 @@ ewl_text.h \ ewl_textarea.h \ ewl_table.h \ + ewl_tree.h \ ewl_theme.h \ ewl_widget.h \ ewl_window.h @@ -55,6 +58,7 @@ ewl_box.c \ ewl_button.c \ ewl_callback.c \ + ewl_cell.c \ ewl_check.c \ ewl_checkbutton.c \ ewl_config.c \ @@ -75,6 +79,7 @@ ewl_notebook.c \ ewl_object.c \ ewl_radiobutton.c \ + ewl_row.c \ ewl_scrollbar.c \ ewl_scrollpane.c \ ewl_seeker.c \ @@ -88,6 +93,7 @@ ewl_text.c \ ewl_textarea.c \ ewl_theme.c \ + ewl_tree.c \ ewl_widget.c \ ewl_window.c =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_container.c,v retrieving revision 1.26 retrieving revision 1.27 diff -u -3 -r1.26 -r1.27 --- ewl_container.c 14 Jan 2003 21:44:59 -0000 1.26 +++ ewl_container.c 2 Feb 2003 21:03:23 -0000 1.27 @@ -270,7 +270,7 @@ * size just exit. Also exit if it has no function to be notified for * child resizes. */ - if (!w->parent || !size || !EWL_CONTAINER(w->parent)->child_resize) + if (!w->parent || !EWL_CONTAINER(w->parent)->child_resize) DRETURN(DLEVEL_STABLE); /* =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_object.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -3 -r1.25 -r1.26 --- ewl_object.c 14 Jan 2003 21:45:03 -0000 1.25 +++ ewl_object.c 2 Feb 2003 21:03:23 -0000 1.26 @@ -171,8 +171,11 @@ DCHECK_PARAM_PTR("o", o); + /* + * We may need to simulate resizes for changes in fill policy if (w == PREFERRED_W(o)) DRETURN(DLEVEL_STABLE); + */ /* * Store the previous size. @@ -210,8 +213,11 @@ DCHECK_PARAM_PTR("o", o); - if (h == PREFERRED_H(o)) + /* + * We may need to simulate resizes for changes in fill policy + if (h == PREFERRED_W(o)) DRETURN(DLEVEL_STABLE); + */ /* * Store the previous size =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_widget.c,v retrieving revision 1.44 retrieving revision 1.45 diff -u -3 -r1.44 -r1.45 --- ewl_widget.c 29 Jan 2003 16:56:54 -0000 1.44 +++ ewl_widget.c 2 Feb 2003 21:03:24 -0000 1.45 @@ -756,6 +756,14 @@ if (w->state & EWL_STATE_DISABLED) ebits_set_named_bit_state(w->ebits_object, "Base", "disabled"); + + ebits_get_min_size(w->ebits_object, &i_l, &i_t); + + if (MINIMUM_W(w) == EWL_OBJECT_MIN_SIZE) + ewl_object_set_minimum_w(EWL_OBJECT(w), i_l); + + if (MINIMUM_H(w) == EWL_OBJECT_MIN_SIZE) + ewl_object_set_minimum_h(EWL_OBJECT(w), i_t); } DRETURN(DLEVEL_STABLE); ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs