forked from enlightenment/efl
elm_notify: remove old api!
This commit is contained in:
parent
c2d0b08e2b
commit
383dd5de15
|
@ -358,43 +358,6 @@ _parent_hide_cb(void *data,
|
|||
evas_object_hide(data);
|
||||
}
|
||||
|
||||
EOLIAN static Eina_Bool
|
||||
_elm_notify_elm_widget_focus_next_manager_is(Eo *obj EINA_UNUSED, Elm_Notify_Data *sd EINA_UNUSED)
|
||||
{
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
EOLIAN static Eina_Bool
|
||||
_elm_notify_elm_widget_focus_next(Eo *obj EINA_UNUSED, Elm_Notify_Data *sd, Elm_Focus_Direction dir, Evas_Object **next, Elm_Object_Item **next_item)
|
||||
{
|
||||
Evas_Object *cur;
|
||||
|
||||
if (!sd->content) return EINA_FALSE;
|
||||
|
||||
cur = sd->content;
|
||||
|
||||
/* Try to cycle focus on content */
|
||||
return elm_obj_widget_focus_next_get(cur, dir, next, next_item);
|
||||
}
|
||||
|
||||
EOLIAN static Eina_Bool
|
||||
_elm_notify_elm_widget_focus_direction_manager_is(Eo *obj EINA_UNUSED, Elm_Notify_Data *sd EINA_UNUSED)
|
||||
{
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
EOLIAN static Eina_Bool
|
||||
_elm_notify_elm_widget_focus_direction(Eo *obj EINA_UNUSED, Elm_Notify_Data *sd, const Evas_Object *base, double degree, Evas_Object **direction, Elm_Object_Item **direction_item, double *weight)
|
||||
{
|
||||
Evas_Object *cur;
|
||||
|
||||
if (!sd->content) return EINA_FALSE;
|
||||
|
||||
cur = sd->content;
|
||||
|
||||
return elm_obj_widget_focus_direction_get(cur, base, degree, direction, direction_item, weight);
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
_elm_notify_content_set(Eo *obj, Elm_Notify_Data *sd, const char *part, Evas_Object *content)
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Elm.Notify (Elm.Widget, Efl.Container, Efl.Part)
|
||||
class Elm.Notify (Elm.Widget, Efl.Ui.Focus.Layer, Efl.Container, Efl.Part)
|
||||
{
|
||||
[[Elementary notification class]]
|
||||
legacy_prefix: elm_notify;
|
||||
|
@ -83,12 +83,8 @@ class Elm.Notify (Elm.Widget, Efl.Container, Efl.Part)
|
|||
Efl.Gfx.visible { set; }
|
||||
Efl.Gfx.position { set; }
|
||||
Efl.Gfx.size { set; }
|
||||
Elm.Widget.focus_direction;
|
||||
Elm.Widget.widget_parent { get; set; }
|
||||
Elm.Widget.theme_apply;
|
||||
Elm.Widget.focus_direction_manager_is;
|
||||
Elm.Widget.focus_next_manager_is;
|
||||
Elm.Widget.focus_next;
|
||||
Elm.Widget.widget_sub_object_del;
|
||||
Efl.Container.content { get; set; }
|
||||
Efl.Container.content_unset;
|
||||
|
|
Loading…
Reference in New Issue