forked from enlightenment/efl
widget: Remove 2 focus APIs from EO
They are internal and use an undefined type. Also, completely deprecated with the new focus manager. Ref T5363
This commit is contained in:
parent
91f9f41471
commit
fcae72b0e3
|
@ -2667,8 +2667,8 @@ _elm_widget_focus_direction_get(const Eo *obj, Elm_Widget_Smart_Data *sd, const
|
||||||
*
|
*
|
||||||
* @ingroup Widget
|
* @ingroup Widget
|
||||||
*/
|
*/
|
||||||
EOLIAN static Eina_Bool
|
EAPI Eina_Bool
|
||||||
_elm_widget_focus_list_direction_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *_pd EINA_UNUSED, const Evas_Object *base, const Eina_List *items, list_data_get_func_type list_data_get, double degree, Evas_Object **direction, Elm_Object_Item **direction_item, double *weight)
|
elm_widget_focus_list_direction_get(const Eo *obj EINA_UNUSED, const Evas_Object *base, const Eina_List *items, list_data_get_func_type list_data_get, double degree, Evas_Object **direction, Elm_Object_Item **direction_item, double *weight)
|
||||||
{
|
{
|
||||||
if (!direction || !weight || !base || !items)
|
if (!direction || !weight || !base || !items)
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
|
@ -2849,8 +2849,8 @@ _elm_widget_focus_next_get(const Eo *obj, Elm_Widget_Smart_Data *sd, Elm_Focus_D
|
||||||
*
|
*
|
||||||
* @ingroup Widget
|
* @ingroup Widget
|
||||||
*/
|
*/
|
||||||
EOLIAN static Eina_Bool
|
EAPI Eina_Bool
|
||||||
_elm_widget_focus_list_next_get(const Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED, const Eina_List *items, list_data_get_func_type list_data_get, Elm_Focus_Direction dir, Evas_Object **next, Elm_Object_Item **next_item)
|
elm_widget_focus_list_next_get(const Eo *obj, const Eina_List *items, list_data_get_func_type list_data_get, Elm_Focus_Direction dir, Evas_Object **next, Elm_Object_Item **next_item)
|
||||||
{
|
{
|
||||||
Eina_List *(*list_next)(const Eina_List *list) = NULL;
|
Eina_List *(*list_next)(const Eina_List *list) = NULL;
|
||||||
Evas_Object *focused_object = NULL;
|
Evas_Object *focused_object = NULL;
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
import elm_general;
|
import elm_general;
|
||||||
import efl_input_types;
|
import efl_input_types;
|
||||||
|
|
||||||
/* FIXME: This shouldn't be here. */
|
|
||||||
type list_data_get_func_type: __undefined_type; [[Elementary list data get function type]]
|
|
||||||
|
|
||||||
function Efl.Ui.Scrollable_On_Show_Region
|
function Efl.Ui.Scrollable_On_Show_Region
|
||||||
{
|
{
|
||||||
params {
|
params {
|
||||||
|
@ -592,19 +589,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
|
||||||
@in recurse: int; [[Depth in the tree to search for the widget]]
|
@in recurse: int; [[Depth in the tree to search for the widget]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
focus_list_direction_get @const {
|
|
||||||
[[Get focus list direction]]
|
|
||||||
return: bool; [[$true on success, $false otherwise]]
|
|
||||||
params {
|
|
||||||
@in base: const(Efl.Canvas.Object); [[Base object]]
|
|
||||||
@in items: const(list<Efl.Object>); [[Item list]]
|
|
||||||
@in list_data_get: list_data_get_func_type; [[Data get function]]
|
|
||||||
@in degree: double; [[Degree]]
|
|
||||||
@out direction: Efl.Canvas.Object; [[Direction]]
|
|
||||||
@out direction_item: Elm.Widget.Item; [[Direction item]]
|
|
||||||
@out weight: double; [[Weight]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
focused_object_clear {
|
focused_object_clear {
|
||||||
[[Clear focused object]]
|
[[Clear focused object]]
|
||||||
}
|
}
|
||||||
|
@ -694,17 +678,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
|
||||||
}
|
}
|
||||||
return: bool; [[$true on success, $false otherwise]]
|
return: bool; [[$true on success, $false otherwise]]
|
||||||
}
|
}
|
||||||
focus_list_next_get @const {
|
|
||||||
[[Get next item in focus list]]
|
|
||||||
return: bool; [[$true on success, $false otherwise]]
|
|
||||||
params {
|
|
||||||
@in items: const(list<Efl.Object>); [[Item list]]
|
|
||||||
@in list_data_get: list_data_get_func_type; [[Function type]]
|
|
||||||
@in dir: Elm.Focus_Direction; [[Focus direction]]
|
|
||||||
@out next: Efl.Canvas.Object; [[Next object]]
|
|
||||||
@out next_item: Elm.Widget.Item; [[Next item]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
focus_mouse_up_handle {
|
focus_mouse_up_handle {
|
||||||
[[Handle focus mouse up]]
|
[[Handle focus mouse up]]
|
||||||
legacy: null;
|
legacy: null;
|
||||||
|
|
Loading…
Reference in New Issue