elm genlist/gengrid: Fixed hilight -> highlight.

Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68967
This commit is contained in:
Daniel Juyung Seo 2012-03-07 15:02:01 +00:00 committed by Daniel Juyung Seo
parent 7770910b78
commit 9f5a98dd60
4 changed files with 30 additions and 30 deletions

View File

@ -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

View File

@ -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);
/**
* @}

View File

@ -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);

View File

@ -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);
/**
* @}