forked from enlightenment/efl
widget: Remove drag_child_locked APIs (EO)
These are just internal helper functions for the scrollable mixin. I don't think they need to appear in the external API. Ref T5363
This commit is contained in:
parent
00862c3c9c
commit
ac215dba0f
|
@ -4005,15 +4005,19 @@ _elm_widget_drag_lock_y_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
|
||||||
return sd->drag_y_locked;
|
return sd->drag_y_locked;
|
||||||
}
|
}
|
||||||
|
|
||||||
EOLIAN static int
|
EAPI int
|
||||||
_elm_widget_drag_child_locked_x_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
|
elm_widget_drag_child_locked_x_get(const Eo *obj)
|
||||||
{
|
{
|
||||||
|
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||||
|
if (!sd) return EINA_FALSE;
|
||||||
return sd->child_drag_x_locked;
|
return sd->child_drag_x_locked;
|
||||||
}
|
}
|
||||||
|
|
||||||
EOLIAN static int
|
EAPI int
|
||||||
_elm_widget_drag_child_locked_y_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
|
elm_widget_drag_child_locked_y_get(const Eo *obj)
|
||||||
{
|
{
|
||||||
|
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
|
||||||
|
if (!sd) return EINA_FALSE;
|
||||||
return sd->child_drag_y_locked;
|
return sd->child_drag_y_locked;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -290,18 +290,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
|
||||||
lock: bool; [[$true if the Y axis is locked, $false otherwise]]
|
lock: bool; [[$true if the Y axis is locked, $false otherwise]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@property drag_child_locked_x {
|
|
||||||
[[Drag child locked X axis]]
|
|
||||||
get {
|
|
||||||
return: int; [[FIXME]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@property drag_child_locked_y {
|
|
||||||
[[Drag child locked Y axis property]]
|
|
||||||
get {
|
|
||||||
return: int; [[FIXME]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Translation & Text API. */
|
/* Translation & Text API. */
|
||||||
translate @protected {
|
translate @protected {
|
||||||
|
|
Loading…
Reference in New Issue