Enlightenment CVS committal

Author  : moom
Project : e17
Module  : libs/etk

Dir     : e17/libs/etk/src/lib


Modified Files:
        etk_tree.c etk_tree.h etk_tree_model.h 


Log Message:
* [Tree] Do not inter-model space if the first model is invisible


===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_tree.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -3 -r1.81 -r1.82
--- etk_tree.c  16 Jan 2007 23:49:26 -0000      1.81
+++ etk_tree.c  17 Jan 2007 04:57:05 -0000      1.82
@@ -2401,7 +2401,7 @@
                         else
                            w = 0;
                         
-                        if ((j + 1) != col->num_models)
+                        if ((j + 1) != col->num_models && w > 0)
                            w += MODEL_INTERSPACE;
                         
                         model_geometry.x += w;
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_tree.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- etk_tree.h  16 Jan 2007 23:49:26 -0000      1.27
+++ etk_tree.h  17 Jan 2007 04:57:05 -0000      1.28
@@ -200,6 +200,7 @@
 /* TODO: Etk_Tree_Row *etk_tree_row_insert_sorted(Etk_Tree *tree, Etk_Tree_Row 
*parent, ...); */
 void           etk_tree_row_delete(Etk_Tree_Row *row);
 void           etk_tree_clear(Etk_Tree *tree);
+/* TODO: way to insert a separator... */
 
 void etk_tree_row_fields_set(Etk_Tree_Row *row, Etk_Bool emit_signal, ...);
 void etk_tree_row_fields_set_valist(Etk_Tree_Row *row, Etk_Bool emit_signal, 
va_list args);
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_tree_model.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- etk_tree_model.h    16 Jan 2007 23:49:27 -0000      1.7
+++ etk_tree_model.h    17 Jan 2007 04:57:05 -0000      1.8
@@ -46,6 +46,8 @@
 void etk_tree_model_image_width_set(Etk_Tree_Model *model, int width, float 
alignment);
 void etk_tree_model_image_width_get(Etk_Tree_Model *model, int *width, float 
*alignment);
 
+/* TODO: checkbox-model: use a third value to actually hide the checkbox */
+
 /** @} */
 
 #endif



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to