rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=1ef55d115660b4a35e4bbb11acc89862dcebc632
commit 1ef55d115660b4a35e4bbb11acc89862dcebc632 Author: Vyacheslav Reutskiy <[email protected]> Date: Wed Nov 25 09:06:08 2015 +0200 groupedit: delete remains of hand calculation box layouts Change-Id: I757d7e715fd2cf982adfd2e0464ccc2bb0f19971 --- src/bin/ui/workspace/groupedit_private.h | 54 -------------------------------- 1 file changed, 54 deletions(-) diff --git a/src/bin/ui/workspace/groupedit_private.h b/src/bin/ui/workspace/groupedit_private.h index c92b7ad..3ddce0f 100644 --- a/src/bin/ui/workspace/groupedit_private.h +++ b/src/bin/ui/workspace/groupedit_private.h @@ -193,60 +193,6 @@ _edit_object_part_item_del(Ws_Groupedit_Smart_Data *sd, Eina_Stringshare *part, Eina_Stringshare *item); /** - * Those are default layouts for BOX and their code are same like in - * evas object box. - * Those functions need to be always up to date. - * They are required to be here for calculation real sizes and positions of - * items (evas_object_geometry_get doesn't work well with items in box) - */ - -void -_box_layout_horizontal(Evas_Box *o, Evas_Object_Box_Data *priv, void *data); - -void -_box_layout_flow_horizontal(Evas_Box *o, Evas_Object_Box_Data *priv, void *data); - -void -_box_layout_homogeneous_horizontal(Evas_Box *o, Evas_Object_Box_Data *priv, void *data); - -void -_box_layout_homogeneous_max_size_horizontal(Evas_Box *o, Evas_Object_Box_Data *priv, void *data); - -void -_box_layout_stack(Evas_Box *o, Evas_Object_Box_Data *priv, void *data); - -void -_box_layout_vertical(Evas_Box *o, Evas_Object_Box_Data *priv, void *data); - -void -_box_layout_flow_vertical(Evas_Box *o, Evas_Object_Box_Data *priv, void *data); - -void -_box_layout_homogeneous_vertical(Evas_Box *o, Evas_Object_Box_Data *priv, void *data); - -void -_box_layout_homogeneous_max_size_vertical(Evas_Box *o, Evas_Object_Box_Data *priv, void *data); - -/* this is only for finding layout! */ -struct edje_box_layouts { - const char *name; - Evas_Object_Box_Layout cb; -}; -/* box layout function <-> box layout name mapping */ -static const struct edje_box_layouts _edje_box_layouts[] = { - {"horizontal", _box_layout_horizontal}, - {"horizontal_flow", _box_layout_flow_horizontal}, - {"horizontal_homogeneous", _box_layout_homogeneous_horizontal}, - {"horizontal_max", _box_layout_homogeneous_max_size_horizontal}, - {"stack", _box_layout_stack}, - {"vertical", _box_layout_vertical}, - {"vertical_flow", _box_layout_flow_vertical}, - {"vertical_homogeneous", _box_layout_homogeneous_vertical}, - {"vertical_max", _box_layout_homogeneous_max_size_vertical}, - {NULL, NULL} -}; - -/** * Stack part above above in groupedit module. * If part_above param is NULL, then part will restack above by one position, * in stack, else part will restack above part_above. --
