projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f275c9
)
[elm_genlist] add new 2 APIs
author
Seunggyun Kim
<sgyun.kim@samsung.com>
Tue, 22 Mar 2011 17:24:06 +0000
(
02:24
+0900)
committer
Seunggyun Kim
<sgyun.kim@samsung.com>
Tue, 22 Mar 2011 17:24:06 +0000
(
02:24
+0900)
src/lib/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_genlist.c
b/src/lib/elm_genlist.c
index
c7850e5
..
916b492
100644
(file)
--- a/
src/lib/elm_genlist.c
+++ b/
src/lib/elm_genlist.c
@@
-6752,3
+6752,24
@@
_item_auto_scroll(void *data)
}
}
}
+
+EAPI int
+elm_genlist_item_flags_get(const Elm_Genlist_Item *item)
+{
+ ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN(item, EINA_FALSE);
+ return item->flags;
+}
+
+EAPI void
+elm_genlist_realized_items_update(const Evas_Object *obj)
+{
+ ELM_CHECK_WIDTYPE(obj, widtype);
+
+ Eina_List *list, *l;
+ Elm_Genlist_Item *it;
+
+ list = elm_genlist_realized_items_get(obj);
+ EINA_LIST_FOREACH(list, l, it)
+ elm_genlist_item_update(it);
+}
+