rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=ea3b0355675982fe6030ff868373be0662d23749

commit ea3b0355675982fe6030ff868373be0662d23749
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Tue Dec 8 10:10:22 2015 +0200

    workspace: add API for soft and hard groupview update
    
    Change-Id: If9f5859f713dfff002d6198d03a9706249e2ab4c
---
 src/bin/ui/workspace/workspace.c | 19 +++++++++++++++++++
 src/bin/ui/workspace/workspace.h | 20 ++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/src/bin/ui/workspace/workspace.c b/src/bin/ui/workspace/workspace.c
index b3cca6c..8a1f51f 100644
--- a/src/bin/ui/workspace/workspace.c
+++ b/src/bin/ui/workspace/workspace.c
@@ -1631,6 +1631,25 @@ workspace_group_navigator_update_part(Evas_Object *obj, 
Part_ *part)
 }
 #define PADDING_SIZE 40
 
+void
+workspace_groupview_soft_update(Evas_Object *obj)
+{
+   WS_DATA_GET(obj, sd);
+
+   assert(sd->groupedit != NULL);
+
+   groupedit_soft_update(sd->groupedit);
+}
+
+void
+workspace_groupview_hard_update(Evas_Object *obj)
+{
+   WS_DATA_GET(obj, sd);
+
+   assert(sd->groupedit != NULL);
+
+   groupedit_hard_update(sd->groupedit);
+}
 Eina_Bool
 workspace_edit_object_recalc(Evas_Object *obj)
 {
diff --git a/src/bin/ui/workspace/workspace.h b/src/bin/ui/workspace/workspace.h
index cc72415..e5fc8b5 100644
--- a/src/bin/ui/workspace/workspace.h
+++ b/src/bin/ui/workspace/workspace.h
@@ -86,6 +86,26 @@ Eina_Bool
 workspace_edit_object_recalc(Evas_Object *obj);
 
 /**
+ * Update the parts attributes, without recalculation.
+ *
+ * @paramaram obj The workspace object.
+ *
+ * @ingroup Workspace
+ */
+void
+workspace_groupview_soft_update(Evas_Object *obj);
+
+/**
+ * Update the parts attributes, and recalculate them.
+ *
+ * @paramaram obj The workspace object.
+ *
+ * @ingroup Workspace
+ */
+void
+workspace_groupview_hard_update(Evas_Object *obj);
+
+/**
  * Add new part into style, which currently loaded into workspace.
  *
  * @param obj The workspace object.

-- 


Reply via email to