From 5a65515b37bfdb912507093d81b3af2003e8c17a Mon Sep 17 00:00:00 2001 From: seoz Date: Wed, 7 Mar 2012 15:02:01 +0000 Subject: [PATCH] elm genlist/gengrid: Fixed hilight -> highlight. Signed-off-by: Daniel Juyung Seo git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68967 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_gengrid.c | 10 +++++----- src/lib/elm_gengrid.h | 24 ++++++++++++------------ src/lib/elm_genlist.c | 10 +++++----- src/lib/elm_genlist.h | 16 ++++++++-------- 4 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c index 50173e1..2ab46d7 100644 --- a/src/lib/elm_gengrid.c +++ b/src/lib/elm_gengrid.c @@ -2963,16 +2963,16 @@ elm_gengrid_select_mode_get(const Evas_Object *obj) } EAPI void -elm_gengrid_hilight_mode_set(Evas_Object *obj, - Eina_Bool hilight) +elm_gengrid_highlight_mode_set(Evas_Object *obj, + Eina_Bool highlight) { - elm_genlist_hilight_mode_set(obj, hilight); + elm_genlist_highlight_mode_set(obj, highlight); } EAPI Eina_Bool -elm_gengrid_hilight_mode_get(const Evas_Object *obj) +elm_gengrid_highlight_mode_get(const Evas_Object *obj) { - return elm_genlist_hilight_mode_get(obj); + return elm_genlist_highlight_mode_get(obj); } EAPI int diff --git a/src/lib/elm_gengrid.h b/src/lib/elm_gengrid.h index 929c70d..40d7d56 100644 --- a/src/lib/elm_gengrid.h +++ b/src/lib/elm_gengrid.h @@ -1542,41 +1542,41 @@ EAPI Elm_Object_Select_Mode_Type elm_gengrid_select_mode_get(const Evas_Object *obj); /** - * Set whether the gengrid items' should be hilighted when item selected. + * Set whether the gengrid items' should be highlighted when item selected. * * @param obj The gengrid object. - * @param hilight @c EINA_TRUE to enable hilight or @c EINA_FALSE to + * @param highlight @c EINA_TRUE to enable highlight or @c EINA_FALSE to * disable it. * - * This will turn on/off the hilight effect when items are selected and - * they will or will not be hilighted. The selected and clicked + * This will turn on/off the highlight effect when items are selected and + * they will or will not be highlighted. The selected and clicked * callback functions will still be called. * - * hilight is enabled by default. + * highlight is enabled by default. * - * @see elm_gengrid_hilight_mode_get(). + * @see elm_gengrid_highlight_mode_get(). * * @ingroup Gengrid */ EAPI void -elm_gengrid_hilight_mode_set(Evas_Object *obj, - Eina_Bool hilight); +elm_gengrid_highlight_mode_set(Evas_Object *obj, + Eina_Bool highlight); /** - * Get whether the gengrid items' should be hilighted when item selected. + * Get whether the gengrid items' should be highlighted when item selected. * * @param obj The gengrid object. - * @return @c EINA_TRUE means items can be hilighted. @c EINA_FALSE indicates + * @return @c EINA_TRUE means items can be highlighted. @c EINA_FALSE indicates * they can't. If @p obj is @c NULL, @c EINA_FALSE is returned. * - * @see elm_gengrid_hilight_mode_set() for details. + * @see elm_gengrid_highlight_mode_set() for details. * * @ingroup Gengrid */ EAPI Eina_Bool -elm_gengrid_hilight_mode_get(const Evas_Object *obj); +elm_gengrid_highlight_mode_get(const Evas_Object *obj); /** * @} diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 3f44b97..e471905 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -5741,18 +5741,18 @@ elm_genlist_select_mode_get(const Evas_Object *obj) } EAPI void -elm_genlist_hilight_mode_set(Evas_Object *obj, - Eina_Bool hilight) +elm_genlist_highlight_mode_set(Evas_Object *obj, + Eina_Bool highlight) { ELM_CHECK_WIDTYPE(obj, widtype); Widget_Data *wd = elm_widget_data_get(obj); if (!wd) return; - hilight = !!hilight; - wd->no_highlight = !hilight; + highlight = !!highlight; + wd->no_highlight = !highlight; } EAPI Eina_Bool -elm_genlist_hilight_mode_get(const Evas_Object *obj) +elm_genlist_highlight_mode_get(const Evas_Object *obj) { ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE; Widget_Data *wd = elm_widget_data_get(obj); diff --git a/src/lib/elm_genlist.h b/src/lib/elm_genlist.h index 8bc6f39..67f5bd9 100644 --- a/src/lib/elm_genlist.h +++ b/src/lib/elm_genlist.h @@ -1894,7 +1894,7 @@ elm_genlist_select_mode_get(const Evas_Object *obj); * Set whether the genlist items' should be highlighted when item selected. * * @param obj The genlist object. - * @param hilight @c EINA_TRUE to enable hilighting or @c EINA_FALSE to + * @param highlight @c EINA_TRUE to enable highlighting or @c EINA_FALSE to * disable it. * * This will turn on/off the highlight effect when item selection and @@ -1903,29 +1903,29 @@ elm_genlist_select_mode_get(const Evas_Object *obj); * * Highlight is enabled by default. * - * @see elm_genlist_hilight_mode_get(). + * @see elm_genlist_highlight_mode_get(). * * @ingroup Genlist */ EAPI void -elm_genlist_hilight_mode_set(Evas_Object *obj, - Eina_Bool hilight); +elm_genlist_highlight_mode_set(Evas_Object *obj, + Eina_Bool highlight); /** - * Get whether the genlist items' should be hilighted when item selected. + * Get whether the genlist items' should be highlighted when item selected. * * @param obj The genlist object. - * @return @c EINA_TRUE means items can be hilighted. @c EINA_FALSE indicates + * @return @c EINA_TRUE means items can be highlighted. @c EINA_FALSE indicates * they can't. If @p obj is @c NULL, @c EINA_FALSE is returned. * - * @see elm_genlist_hilight_mode_set() for details. + * @see elm_genlist_highlight_mode_set() for details. * * @ingroup Genlist */ EAPI Eina_Bool -elm_genlist_hilight_mode_get(const Evas_Object *obj); +elm_genlist_highlight_mode_get(const Evas_Object *obj); /** * @} -- 2.7.4