From 608d52ba61b841591714e16fed8a43ec4d4d7dc1 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 5 Dec 2011 17:14:07 +0000 Subject: [PATCH] missed some things with my tooltip api break SVN revision: 65917 --- legacy/elementary/src/bin/test_tooltip.c | 6 +++--- legacy/elementary/src/lib/Elementary.h.in | 12 ++++++------ legacy/elementary/src/lib/elm_gengrid.c | 10 +++++----- legacy/elementary/src/lib/elm_genlist.c | 10 +++++----- legacy/elementary/src/lib/elm_list.c | 8 ++++---- legacy/elementary/src/lib/elm_widget.c | 4 ++-- legacy/elementary/src/lib/elm_widget.h | 12 ++++++------ 7 files changed, 31 insertions(+), 31 deletions(-) diff --git a/legacy/elementary/src/bin/test_tooltip.c b/legacy/elementary/src/bin/test_tooltip.c index 30695011fc..1724724ee5 100644 --- a/legacy/elementary/src/bin/test_tooltip.c +++ b/legacy/elementary/src/bin/test_tooltip.c @@ -488,17 +488,17 @@ test_tooltip(void *data __UNUSED__, lst = elm_list_add(win); li = elm_list_item_append(lst, "Hello", NULL, NULL, NULL, NULL); elm_list_item_tooltip_content_cb_set(li, _tt_item_label, NULL, NULL); - elm_list_item_tooltip_window_mode(li, EINA_TRUE); + elm_list_item_tooltip_window_mode_set(li, EINA_TRUE); li = elm_list_item_append(lst, "Icon Tooltip", NULL, NULL, NULL, NULL); elm_list_item_tooltip_content_cb_set(li, _tt_item_icon, NULL, NULL); li = elm_list_item_append(lst, "Big Icon Tooltip", NULL, NULL, NULL, NULL); elm_list_item_tooltip_content_cb_set(li, _tt_item_icon2, NULL, NULL); elm_list_item_tooltip_style_set(li, "transparent"); - elm_list_item_tooltip_window_mode(li, EINA_TRUE); + elm_list_item_tooltip_window_mode_set(li, EINA_TRUE); li = elm_list_item_append(lst, "Insanely Big Icon Tooltip", NULL, NULL, NULL, NULL); elm_list_item_tooltip_content_cb_set(li, _tt_item_icon3, NULL, NULL); elm_list_item_tooltip_style_set(li, "transparent"); - elm_list_item_tooltip_window_mode(li, EINA_TRUE); + elm_list_item_tooltip_window_mode_set(li, EINA_TRUE); evas_object_size_hint_weight_set(lst, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(lst, EVAS_HINT_FILL, EVAS_HINT_FILL); diff --git a/legacy/elementary/src/lib/Elementary.h.in b/legacy/elementary/src/lib/Elementary.h.in index 31814a7739..407b9984d6 100644 --- a/legacy/elementary/src/lib/Elementary.h.in +++ b/legacy/elementary/src/lib/Elementary.h.in @@ -9660,7 +9660,7 @@ extern "C" { * This function allows a tooltip to expand beyond its parant window's canvas. * It will instead be limited only by the size of the display. */ - EAPI Eina_Bool elm_gengrid_item_tooltip_window_mode(Elm_Gengrid_Item *item, Eina_Bool disable); + EAPI Eina_Bool elm_gengrid_item_tooltip_window_mode_set(Elm_Gengrid_Item *item, Eina_Bool disable); /** * @brief Retrieve size restriction state of an object's tooltip * @param item The tooltip's anchor object @@ -9670,7 +9670,7 @@ extern "C" { * its parant window's canvas. * It will instead be limited only by the size of the display. */ - EAPI Eina_Bool elm_gengrid_item_tooltip_window_moded_get(const Elm_Gengrid_Item *item); + EAPI Eina_Bool elm_gengrid_item_tooltip_window_mode_get(const Elm_Gengrid_Item *item); /** * Set the type of mouse pointer/cursor decoration to be shown, * when the mouse pointer is over the given gengrid widget item @@ -17532,7 +17532,7 @@ extern "C" { * This function allows a tooltip to expand beyond its parant window's canvas. * It will instead be limited only by the size of the display. */ - EAPI Eina_Bool elm_list_item_tooltip_window_mode(Elm_List_Item *item, Eina_Bool disable) EINA_ARG_NONNULL(1); + EAPI Eina_Bool elm_list_item_tooltip_window_mode_set(Elm_List_Item *item, Eina_Bool disable) EINA_ARG_NONNULL(1); /** * @brief Retrieve size restriction state of an object's tooltip * @param obj The tooltip's anchor object @@ -17542,7 +17542,7 @@ extern "C" { * its parant window's canvas. * It will instead be limited only by the size of the display. */ - EAPI Eina_Bool elm_list_item_tooltip_window_moded_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1); + EAPI Eina_Bool elm_list_item_tooltip_window_mode_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1); /** * Set the content to be shown in the tooltip item. @@ -20000,7 +20000,7 @@ extern "C" { * This function allows a tooltip to expand beyond its parant window's canvas. * It will instead be limited only by the size of the display. */ - EAPI Eina_Bool elm_genlist_item_tooltip_window_mode(Elm_Genlist_Item *item, Eina_Bool disable); + EAPI Eina_Bool elm_genlist_item_tooltip_window_mode_set(Elm_Genlist_Item *item, Eina_Bool disable); /** * @brief Retrieve size restriction state of an object's tooltip * @param item The tooltip's anchor object @@ -20010,7 +20010,7 @@ extern "C" { * its parant window's canvas. * It will instead be limited only by the size of the display. */ - EAPI Eina_Bool elm_genlist_item_tooltip_window_moded_get(const Elm_Genlist_Item *item); + EAPI Eina_Bool elm_genlist_item_tooltip_window_mode_get(const Elm_Genlist_Item *item); /** * Set the type of mouse pointer/cursor decoration to be shown, * when the mouse pointer is over the given genlist widget item diff --git a/legacy/elementary/src/lib/elm_gengrid.c b/legacy/elementary/src/lib/elm_gengrid.c index df5ad3c567..3a40dfe7ff 100644 --- a/legacy/elementary/src/lib/elm_gengrid.c +++ b/legacy/elementary/src/lib/elm_gengrid.c @@ -1041,7 +1041,7 @@ _item_realize(Elm_Gen_Item *it) it->tooltip.content_cb, it->tooltip.data, NULL); elm_widget_item_tooltip_style_set(it, it->tooltip.style); - elm_widget_item_tooltip_window_mode(it, it->tooltip.free_size); + elm_widget_item_tooltip_window_mode_set(it, it->tooltip.free_size); } if (it->mouse_cursor) @@ -2413,7 +2413,7 @@ elm_gengrid_item_tooltip_content_cb_set(Elm_Gen_Item *it, it->tooltip.content_cb, it->tooltip.data, NULL); elm_widget_item_tooltip_style_set(it, it->tooltip.style); - elm_widget_item_tooltip_window_mode(it, it->tooltip.free_size); + elm_widget_item_tooltip_window_mode_set(it, it->tooltip.free_size); } return; @@ -2456,16 +2456,16 @@ elm_gengrid_item_tooltip_style_get(const Elm_Gen_Item *it) } EAPI Eina_Bool -elm_gengrid_item_tooltip_window_mode(Elm_Gen_Item *it, Eina_Bool disable) +elm_gengrid_item_tooltip_window_mode_set(Elm_Gen_Item *it, Eina_Bool disable) { ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN(it, EINA_FALSE); it->tooltip.free_size = disable; - if (VIEW(it)) return elm_widget_item_tooltip_window_mode(it, disable); + if (VIEW(it)) return elm_widget_item_tooltip_window_mode_set(it, disable); return EINA_TRUE; } EAPI Eina_Bool -elm_gengrid_item_tooltip_window_moded_get(const Elm_Gen_Item *it) +elm_gengrid_item_tooltip_window_mode_get(const Elm_Gen_Item *it) { ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN(it, EINA_FALSE); return it->tooltip.free_size; diff --git a/legacy/elementary/src/lib/elm_genlist.c b/legacy/elementary/src/lib/elm_genlist.c index 9849236f3c..80b0634abe 100644 --- a/legacy/elementary/src/lib/elm_genlist.c +++ b/legacy/elementary/src/lib/elm_genlist.c @@ -1935,7 +1935,7 @@ _item_realize(Elm_Gen_Item *it, it->tooltip.content_cb, it->tooltip.data, NULL); elm_widget_item_tooltip_style_set(it, it->tooltip.style); - elm_widget_item_tooltip_window_mode(it, it->tooltip.free_size); + elm_widget_item_tooltip_window_mode_set(it, it->tooltip.free_size); } if (it->mouse_cursor) @@ -4581,7 +4581,7 @@ elm_genlist_item_tooltip_content_cb_set(Elm_Gen_Item *it, it->tooltip.content_cb, it->tooltip.data, NULL); elm_widget_item_tooltip_style_set(it, it->tooltip.style); - elm_widget_item_tooltip_window_mode(it, it->tooltip.free_size); + elm_widget_item_tooltip_window_mode_set(it, it->tooltip.free_size); } return; @@ -4624,16 +4624,16 @@ elm_genlist_item_tooltip_style_get(const Elm_Gen_Item *it) } EAPI Eina_Bool -elm_genlist_item_tooltip_window_mode(Elm_Gen_Item *it, Eina_Bool disable) +elm_genlist_item_tooltip_window_mode_set(Elm_Gen_Item *it, Eina_Bool disable) { ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN(it, EINA_FALSE); it->tooltip.free_size = disable; - if (VIEW(it)) return elm_widget_item_tooltip_window_mode(it, disable); + if (VIEW(it)) return elm_widget_item_tooltip_window_mode_set(it, disable); return EINA_TRUE; } EAPI Eina_Bool -elm_genlist_item_tooltip_window_moded_get(const Elm_Gen_Item *it) +elm_genlist_item_tooltip_window_mode_get(const Elm_Gen_Item *it) { ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN(it, EINA_FALSE); return it->tooltip.free_size; diff --git a/legacy/elementary/src/lib/elm_list.c b/legacy/elementary/src/lib/elm_list.c index c67f7b4497..85356ae378 100644 --- a/legacy/elementary/src/lib/elm_list.c +++ b/legacy/elementary/src/lib/elm_list.c @@ -1921,17 +1921,17 @@ elm_list_item_tooltip_unset(Elm_List_Item *item) } EAPI Eina_Bool -elm_list_item_tooltip_window_mode(Elm_List_Item *item, Eina_Bool disable) +elm_list_item_tooltip_window_mode_set(Elm_List_Item *item, Eina_Bool disable) { ELM_LIST_ITEM_CHECK_DELETED_RETURN(item, EINA_FALSE); - return elm_widget_item_tooltip_window_mode(item, disable); + return elm_widget_item_tooltip_window_mode_set(item, disable); } EAPI Eina_Bool -elm_list_item_tooltip_window_moded_get(const Elm_List_Item *item) +elm_list_item_tooltip_window_mode_get(const Elm_List_Item *item) { ELM_LIST_ITEM_CHECK_DELETED_RETURN(item, EINA_FALSE); - return elm_widget_item_tooltip_window_moded_get(item); + return elm_widget_item_tooltip_window_mode_get(item); } EAPI void diff --git a/legacy/elementary/src/lib/elm_widget.c b/legacy/elementary/src/lib/elm_widget.c index 2c50c40910..071b454e99 100644 --- a/legacy/elementary/src/lib/elm_widget.c +++ b/legacy/elementary/src/lib/elm_widget.c @@ -3129,14 +3129,14 @@ _elm_widget_item_tooltip_style_set(Elm_Widget_Item *item, } EAPI Eina_Bool -_elm_widget_item_tooltip_window_mode(Elm_Widget_Item *item, Eina_Bool disable) +_elm_widget_item_tooltip_window_mode_set(Elm_Widget_Item *item, Eina_Bool disable) { ELM_WIDGET_ITEM_CHECK_OR_RETURN(item, EINA_FALSE); return elm_object_tooltip_window_mode_set(item->view, disable); } EAPI Eina_Bool -_elm_widget_item_tooltip_window_moded_get(const Elm_Widget_Item *item) +_elm_widget_item_tooltip_window_mode_get(const Elm_Widget_Item *item) { ELM_WIDGET_ITEM_CHECK_OR_RETURN(item, EINA_FALSE); return elm_object_tooltip_window_mode_get(item->view); diff --git a/legacy/elementary/src/lib/elm_widget.h b/legacy/elementary/src/lib/elm_widget.h index f53b8c5828..8ed1fa107d 100644 --- a/legacy/elementary/src/lib/elm_widget.h +++ b/legacy/elementary/src/lib/elm_widget.h @@ -438,8 +438,8 @@ EAPI void _elm_widget_item_tooltip_translatable_text_set(Elm_Widget_ EAPI void _elm_widget_item_tooltip_content_cb_set(Elm_Widget_Item *item, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb); EAPI void _elm_widget_item_tooltip_unset(Elm_Widget_Item *item); EAPI void _elm_widget_item_tooltip_style_set(Elm_Widget_Item *item, const char *style); -EAPI Eina_Bool _elm_widget_item_tooltip_window_mode(Elm_Widget_Item *item, Eina_Bool disable); -EAPI Eina_Bool _elm_widget_item_tooltip_window_moded_get(const Elm_Widget_Item *item); +EAPI Eina_Bool _elm_widget_item_tooltip_window_mode_set(Elm_Widget_Item *item, Eina_Bool disable); +EAPI Eina_Bool _elm_widget_item_tooltip_window_mode_get(const Elm_Widget_Item *item); EAPI const char *_elm_widget_item_tooltip_style_get(const Elm_Widget_Item *item); EAPI void _elm_widget_item_cursor_set(Elm_Widget_Item *item, const char *cursor); EAPI const char *_elm_widget_item_cursor_get(const Elm_Widget_Item *item); @@ -542,11 +542,11 @@ EAPI void elm_widget_tree_dot_dump(const Evas_Object *top, FILE *out #define elm_widget_item_tooltip_style_set(item, style) \ _elm_widget_item_tooltip_style_set((Elm_Widget_Item *)item, style) -#define elm_widget_item_tooltip_window_mode(item, disable) \ - _elm_widget_item_tooltip_window_mode((Elm_Widget_Item *)item, disable) +#define elm_widget_item_tooltip_window_mode_set(item, disable) \ + _elm_widget_item_tooltip_window_mode_set((Elm_Widget_Item *)item, disable) -#define elm_widget_item_tooltip_window_moded_get(item) \ - _elm_widget_item_tooltip_window_moded_get((Elm_Widget_Item *)item) +#define elm_widget_item_tooltip_window_mode_get(item) \ + _elm_widget_item_tooltip_window_mode_get((Elm_Widget_Item *)item) /** * Convenience function to query item's tooltip style. * @see _elm_widget_item_tooltip_style_get()