diff options
author | JunsuChoi <jsuya.choi@samsung.com> | 2019-12-31 09:53:10 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2019-12-31 09:53:10 -0500 |
commit | 3dc3deba6280349021d877c29362fd80eaed57aa (patch) | |
tree | 2feef6e5a917335633f0975219ef72b4528cbde1 /src/lib/emotion/emotion_smart.c | |
parent | baa1e6553bc96a1f099c1aadc1f5fcfd2295f520 (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | src/lib/emotion/emotion_smart.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 | |||
1217 | return sd->progress.stat; | 1217 | return sd->progress.stat; |
1218 | } | 1218 | } |
1219 | 1219 | ||
1220 | EOLIAN static void | ||
1221 | _efl_canvas_video_efl_player_playback_progress_set(Eo *obj, Efl_Canvas_Video_Data *sd EINA_UNUSED, double progress) | ||
1222 | { | ||
1223 | const char *info = emotion_object_progress_info_get((const Evas_Object*)obj); | ||
1224 | _emotion_progress_set(obj, (char*)info, progress); | ||
1225 | } | ||
1226 | |||
1220 | EOLIAN static double | 1227 | EOLIAN static double |
1221 | _efl_canvas_video_efl_playable_length_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) | 1228 | _efl_canvas_video_efl_playable_length_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) |
1222 | { | 1229 | { |