summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-04-12 23:39:36 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-04-12 23:39:36 +0000
commit7fa9a1cbc75b56ad5789140d96460c597958d1b1 (patch)
tree0ea840d4e6c9b726c23023d740f3c336db9ffce5 /src/lib
parenta5f679eec4fc51f85395914e9f2a054ebf3d2741 (diff)
elm: Renamed internal function about elm_object_item_part_content/text_set/unset/get.
SVN revision: 70161
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elm_main.c10
-rw-r--r--src/lib/elm_widget.c20
-rw-r--r--src/lib/elm_widget.h10
3 files changed, 20 insertions, 20 deletions
diff --git a/src/lib/elm_main.c b/src/lib/elm_main.c
index a6e3fd864..4f860ba4c 100644
--- a/src/lib/elm_main.c
+++ b/src/lib/elm_main.c
@@ -1319,20 +1319,20 @@ elm_object_item_part_content_set(Elm_Object_Item *it,
1319 const char *part, 1319 const char *part,
1320 Evas_Object *content) 1320 Evas_Object *content)
1321{ 1321{
1322 _elm_widget_item_content_part_set((Elm_Widget_Item *)it, part, content); 1322 _elm_widget_item_part_content_set((Elm_Widget_Item *)it, part, content);
1323} 1323}
1324 1324
1325EAPI Evas_Object * 1325EAPI Evas_Object *
1326elm_object_item_part_content_get(const Elm_Object_Item *it, 1326elm_object_item_part_content_get(const Elm_Object_Item *it,
1327 const char *part) 1327 const char *part)
1328{ 1328{
1329 return _elm_widget_item_content_part_get((Elm_Widget_Item *)it, part); 1329 return _elm_widget_item_part_content_get((Elm_Widget_Item *)it, part);
1330} 1330}
1331 1331
1332EAPI Evas_Object * 1332EAPI Evas_Object *
1333elm_object_item_part_content_unset(Elm_Object_Item *it, const char *part) 1333elm_object_item_part_content_unset(Elm_Object_Item *it, const char *part)
1334{ 1334{
1335 return _elm_widget_item_content_part_unset((Elm_Widget_Item *)it, part); 1335 return _elm_widget_item_part_content_unset((Elm_Widget_Item *)it, part);
1336} 1336}
1337 1337
1338EAPI void 1338EAPI void
@@ -1340,13 +1340,13 @@ elm_object_item_part_text_set(Elm_Object_Item *it,
1340 const char *part, 1340 const char *part,
1341 const char *label) 1341 const char *label)
1342{ 1342{
1343 _elm_widget_item_text_part_set((Elm_Widget_Item *)it, part, label); 1343 _elm_widget_item_part_text_set((Elm_Widget_Item *)it, part, label);
1344} 1344}
1345 1345
1346EAPI const char * 1346EAPI const char *
1347elm_object_item_part_text_get(const Elm_Object_Item *it, const char *part) 1347elm_object_item_part_text_get(const Elm_Object_Item *it, const char *part)
1348{ 1348{
1349 return _elm_widget_item_text_part_get((Elm_Widget_Item *)it, part); 1349 return _elm_widget_item_part_text_get((Elm_Widget_Item *)it, part);
1350} 1350}
1351 1351
1352EAPI void 1352EAPI void
diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index 7ce02d08e..a4d21cf7f 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -3454,16 +3454,6 @@ _elm_widget_item_text_part_set(Elm_Widget_Item *item,
3454 item->text_set_func((Elm_Object_Item *)item, part, label); 3454 item->text_set_func((Elm_Object_Item *)item, part, label);
3455} 3455}
3456 3456
3457EAPI void
3458_elm_widget_item_signal_emit(Elm_Widget_Item *item,
3459 const char *emission,
3460 const char *source)
3461{
3462 ELM_WIDGET_ITEM_CHECK_OR_RETURN(item);
3463 if (item->signal_emit_func)
3464 item->signal_emit_func((Elm_Object_Item *)item, emission, source);
3465}
3466
3467EAPI const char * 3457EAPI const char *
3468_elm_widget_item_text_part_get(const Elm_Widget_Item *item, 3458_elm_widget_item_text_part_get(const Elm_Widget_Item *item,
3469 const char *part) 3459 const char *part)
@@ -3519,6 +3509,16 @@ _elm_widget_item_text_get_hook_set(Elm_Widget_Item *item,
3519} 3509}
3520 3510
3521EAPI void 3511EAPI void
3512_elm_widget_item_signal_emit(Elm_Widget_Item *item,
3513 const char *emission,
3514 const char *source)
3515{
3516 ELM_WIDGET_ITEM_CHECK_OR_RETURN(item);
3517 if (item->signal_emit_func)
3518 item->signal_emit_func((Elm_Object_Item *)item, emission, source);
3519}
3520
3521EAPI void
3522_elm_widget_item_signal_emit_hook_set(Elm_Widget_Item *item, 3522_elm_widget_item_signal_emit_hook_set(Elm_Widget_Item *item,
3523 Elm_Widget_Signal_Emit_Cb func) 3523 Elm_Widget_Signal_Emit_Cb func)
3524{ 3524{
diff --git a/src/lib/elm_widget.h b/src/lib/elm_widget.h
index f8db35c64..2f0012109 100644
--- a/src/lib/elm_widget.h
+++ b/src/lib/elm_widget.h
@@ -462,11 +462,11 @@ EAPI void _elm_widget_item_cursor_style_set(Elm_Widget_Item *item, c
462EAPI const char *_elm_widget_item_cursor_style_get(const Elm_Widget_Item *item); 462EAPI const char *_elm_widget_item_cursor_style_get(const Elm_Widget_Item *item);
463EAPI void _elm_widget_item_cursor_engine_only_set(Elm_Widget_Item *item, Eina_Bool engine_only); 463EAPI void _elm_widget_item_cursor_engine_only_set(Elm_Widget_Item *item, Eina_Bool engine_only);
464EAPI Eina_Bool _elm_widget_item_cursor_engine_only_get(const Elm_Widget_Item *item); 464EAPI Eina_Bool _elm_widget_item_cursor_engine_only_get(const Elm_Widget_Item *item);
465EAPI void _elm_widget_item_content_part_set(Elm_Widget_Item *item, const char *part, Evas_Object *content); 465EAPI void _elm_widget_item_part_content_set(Elm_Widget_Item *item, const char *part, Evas_Object *content);
466EAPI Evas_Object *_elm_widget_item_content_part_get(const Elm_Widget_Item *item, const char *part); 466EAPI Evas_Object *_elm_widget_item_part_content_get(const Elm_Widget_Item *item, const char *part);
467EAPI Evas_Object *_elm_widget_item_content_part_unset(Elm_Widget_Item *item, const char *part); 467EAPI Evas_Object *_elm_widget_item_part_content_unset(Elm_Widget_Item *item, const char *part);
468EAPI void _elm_widget_item_text_part_set(Elm_Widget_Item *item, const char *part, const char *label); 468EAPI void _elm_widget_item_part_text_set(Elm_Widget_Item *item, const char *part, const char *label);
469EAPI const char *_elm_widget_item_text_part_get(const Elm_Widget_Item *item, const char *part); 469EAPI const char *_elm_widget_item_part_text_get(const Elm_Widget_Item *item, const char *part);
470EAPI void _elm_widget_item_signal_emit(Elm_Widget_Item *item, const char *emission, const char *source); 470EAPI void _elm_widget_item_signal_emit(Elm_Widget_Item *item, const char *emission, const char *source);
471EAPI void _elm_widget_item_content_set_hook_set(Elm_Widget_Item *item, Elm_Widget_Content_Set_Cb func); 471EAPI void _elm_widget_item_content_set_hook_set(Elm_Widget_Item *item, Elm_Widget_Content_Set_Cb func);
472EAPI void _elm_widget_item_content_get_hook_set(Elm_Widget_Item *item, Elm_Widget_Content_Get_Cb func); 472EAPI void _elm_widget_item_content_get_hook_set(Elm_Widget_Item *item, Elm_Widget_Content_Get_Cb func);