From 3dc3deba6280349021d877c29362fd80eaed57aa Mon Sep 17 00:00:00 2001 From: JunsuChoi Date: Tue, 31 Dec 2019 09:53:10 -0500 Subject: Efl.Player: Add setter of playback_progress Summary: The setter of Efl.Player.playback_progress is implemented in each class below. Efl.Ui.Animation_View Efl.Ui.Image Efl.Ui.Image_Zoomable Efl.Canvas.Video ref T8476 Depends on D10915 Test Plan: N/A Reviewers: Hermet, bu5hm4n, kimcinoo, Jaehyun_Cho, segfaultxavi, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8476 Differential Revision: https://phab.enlightenment.org/D10931 --- src/lib/emotion/emotion_smart.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/lib/emotion/emotion_smart.c') diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c index a642386fbe..9f723e5bef 100644 --- a/src/lib/emotion/emotion_smart.c +++ b/src/lib/emotion/emotion_smart.c @@ -1217,6 +1217,13 @@ _efl_canvas_video_efl_player_playback_progress_get(const Eo *obj EINA_UNUSED, Ef return sd->progress.stat; } +EOLIAN static void +_efl_canvas_video_efl_player_playback_progress_set(Eo *obj, Efl_Canvas_Video_Data *sd EINA_UNUSED, double progress) +{ + const char *info = emotion_object_progress_info_get((const Evas_Object*)obj); + _emotion_progress_set(obj, (char*)info, progress); +} + EOLIAN static double _efl_canvas_video_efl_playable_length_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) { -- cgit v1.2.1