return
c_name == "efl_event_callback_array_priority_add"
|| c_name == "efl_constructor"
- || c_name == "efl_player_position_get"
+ || c_name == "efl_player_playback_position_get"
|| c_name == "efl_ui_widget_focus_set"
|| c_name == "efl_ui_widget_focus_get"
|| c_name == "efl_ui_text_password_get"
play: bool; [[$true if playing, $false otherwise.]]
}
}
- @property pos {
+ @property playback_position {
[[Position in the media file.
This property sets the current position of the media file
EINA_SAFETY_ON_NULL_RETURN(pd);
//calculate absolut position, multiply pos with 2.0 because duration is only 0.5)
- absolut_position = pd->from + (pd->to - pd->from)*(efl_player_pos_get(pd->show)*2.0);
+ absolut_position = pd->from + (pd->to - pd->from)*(efl_player_playback_position_get(pd->show)*2.0);
efl_event_callback_call(data, EFL_UI_SPOTLIGHT_MANAGER_EVENT_POS_UPDATE, &absolut_position);
}
EOLIAN static void
_efl_ui_video_efl_player_start(Eo *obj, Efl_Ui_Video_Data *sd EINA_UNUSED)
{
- efl_player_pos_set(obj, 0.0);
+ efl_player_playback_position_set(obj, 0.0);
efl_player_play_set(obj, EINA_TRUE);
}
EAPI void
elm_video_play_position_set(Evas_Object *obj, double position)
{
- efl_player_pos_set(obj, position);
+ efl_player_playback_position_set(obj, position);
}
EAPI double
elm_video_play_position_get(const Evas_Object *obj)
{
- return efl_player_pos_get(obj);
+ return efl_player_playback_position_get(obj);
}
EAPI Eina_Bool
Efl.File.file { set; }
Efl.File.loaded { get; }
Efl.Player.play { get; set; }
- Efl.Player.pos { get; set; }
+ Efl.Player.playback_position { get; set; }
Efl.Player.progress { get; }
Efl.Audio_Control.volume { get; set; }
Efl.Audio_Control.mute { get; set; }
EAPI void
emotion_object_position_set(Evas_Object *obj, double sec)
{
- efl_player_pos_set(obj, sec);
+ efl_player_playback_position_set(obj, sec);
}
EOLIAN static void
-_efl_canvas_video_efl_player_pos_set(Eo *obj, Efl_Canvas_Video_Data *sd, double sec)
+_efl_canvas_video_efl_player_playback_position_set(Eo *obj, Efl_Canvas_Video_Data *sd, double sec)
{
DBG("sec=%f", sec);
if (!sd->engine_instance) return;
EAPI double
emotion_object_position_get(const Evas_Object *obj)
{
- return efl_player_pos_get(obj);
+ return efl_player_playback_position_get(obj);
}
EOLIAN static double
-_efl_canvas_video_efl_player_pos_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd)
+_efl_canvas_video_efl_player_playback_position_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd)
{
if (!sd->engine_instance) return 0.0;
sd->pos = emotion_engine_instance_pos_get(sd->engine_instance);
}
EOLIAN static double
-_efl_canvas_animation_player_efl_player_pos_get(const Eo *eo_obj,
+_efl_canvas_animation_player_efl_player_playback_position_get(const Eo *eo_obj,
Efl_Canvas_Animation_Player_Data *pd EINA_UNUSED)
{
//TODO: this is not correct
}
EOLIAN static void
-_efl_canvas_animation_player_efl_player_pos_set(Eo *eo_obj,
+_efl_canvas_animation_player_efl_player_playback_position_set(Eo *eo_obj,
Efl_Canvas_Animation_Player_Data *pd EINA_UNUSED,
double sec)
{
Efl.Player.stop;
Efl.Player.play { get; set; }
Efl.Playable.playable { get; }
- Efl.Player.pos { get; set; }
+ Efl.Player.playback_position { get; set; }
Efl.Player.progress { get;}
Efl.Player.play_speed { get; set; }
//Efl.Player.volume { get; set; }