forked from enlightenment/efl
Implement missing APIs in elm_photo
This widget does not seem to support dragging things on top of it, so implement the missing property drag_target as a readonly EINA_FALSE. Ref T5719 Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7779
This commit is contained in:
parent
956a66c748
commit
b42eeb4c95
|
@ -74,6 +74,20 @@ _elm_photo_efl_ui_widget_theme_apply(Eo *obj, Elm_Photo_Data *sd)
|
|||
return int_ret;
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
_elm_photo_efl_ui_draggable_drag_target_set(Eo *obj EINA_UNUSED,
|
||||
Elm_Photo_Data *pd EINA_UNUSED,
|
||||
Eina_Bool set EINA_UNUSED)
|
||||
{
|
||||
}
|
||||
|
||||
EOLIAN static Eina_Bool
|
||||
_elm_photo_efl_ui_draggable_drag_target_get(const Eo *obj EINA_UNUSED,
|
||||
Elm_Photo_Data *pd EINA_UNUSED)
|
||||
{
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
_icon_move_resize_cb(void *data,
|
||||
Evas *e EINA_UNUSED,
|
||||
|
|
|
@ -9,5 +9,6 @@ class Elm.Photo extends Efl.Ui.Widget implements Efl.File, Efl.Ui.Clickable, Efl
|
|||
Efl.Object.constructor;
|
||||
Efl.File.file { set; }
|
||||
Efl.Ui.Widget.theme_apply;
|
||||
Efl.Ui.Draggable.drag_target { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue