}
static void
-_label_sliding_change(Evas_Object *obj)
+_label_slide_change(Evas_Object *obj)
{
char *plaintxt;
int plainlen = 0;
ELM_LABEL_DATA_GET(obj, sd);
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- // doesn't support multiline sliding effect
+ // doesn't support multiline slide effect
if (sd->linewrap)
{
sd->slide = EINA_FALSE;
if (!int_ret) goto end;
_label_format_set(wd->resize_obj, sd->format);
- _label_sliding_change(obj);
+ _label_slide_change(obj);
end:
evas_event_thaw(evas_object_evas_get(obj));
if (sd->slide == slide) return;
sd->slide = slide;
- _label_sliding_change(obj);
+ _label_slide_change(obj);
elm_layout_sizing_eval(obj);
}
EO_OP_DESCRIPTION(ELM_OBJ_LABEL_SUB_ID_WRAP_WIDTH_GET, "Get wrap width of the label."),
EO_OP_DESCRIPTION(ELM_OBJ_LABEL_SUB_ID_ELLIPSIS_SET, "Set the ellipsis behavior of the label."),
EO_OP_DESCRIPTION(ELM_OBJ_LABEL_SUB_ID_ELLIPSIS_GET, "Get the ellipsis behavior of the label."),
- EO_OP_DESCRIPTION(ELM_OBJ_LABEL_SUB_ID_SLIDE_SET, "Set sliding effect of label widget."),
- EO_OP_DESCRIPTION(ELM_OBJ_LABEL_SUB_ID_SLIDE_GET, "Get whether sliding effect is shown or not."),
+ EO_OP_DESCRIPTION(ELM_OBJ_LABEL_SUB_ID_SLIDE_SET, "Set slide effect of label widget."),
+ EO_OP_DESCRIPTION(ELM_OBJ_LABEL_SUB_ID_SLIDE_GET, "Get whether slide effect is shown or not."),
EO_OP_DESCRIPTION(ELM_OBJ_LABEL_SUB_ID_SLIDE_DURATION_SET, "Set the slide duration (speed) of the label."),
EO_OP_DESCRIPTION(ELM_OBJ_LABEL_SUB_ID_SLIDE_DURATION_GET, "Get the slide duration(speed) of the label."),
EO_OP_DESCRIPTION_SENTINEL
* @def elm_obj_label_slide_set
* @since 1.8
*
- * @brief Set sliding effect of label widget.
+ * @brief Set slide effect of label widget.
*
* @param[in] slide
*
* @def elm_obj_label_slide_get
* @since 1.8
*
- * @brief Get whether sliding effect is shown or not.
+ * @brief Get whether slide effect is shown or not.
*
* @param[out] ret
*
EAPI Eina_Bool elm_label_ellipsis_get(const Evas_Object *obj);
/**
- * @brief Set sliding effect of label widget.
+ * @brief Set slide effect of label widget.
*
* @param obj The label object
- * @param slide If true, sliding effect will be shown
+ * @param slide If true, slide effect will be shown
*
* If set to true, the text of the label will slide/scroll through the length of
* label.
EAPI void elm_label_slide_set(Evas_Object *obj, Eina_Bool slide);
/**
- * @brief Get whether sliding effect is shown or not.
+ * @brief Get whether slide effect is shown or not.
*
* @param obj The label object
- * @return If true, sliding effect is shown.
+ * @return If true, slide effect is shown.
*
* @see elm_label_slide_set()
*