diff options
author | Thiep Ha <thiepha@gmail.com> | 2018-01-04 17:26:49 +0900 |
---|---|---|
committer | Thiep Ha <thiepha@gmail.com> | 2018-01-04 17:26:49 +0900 |
commit | 4c7f0fa5693a7073ff210bcea7409a5b27dcdbb2 (patch) | |
tree | bb34040552658845f4964b5ff5eee595d2209389 | |
parent | 96225cbb784e36c1264c200b6b304a4bdd54d6f3 (diff) | |
download | efl-4c7f0fa5693a7073ff210bcea7409a5b27dcdbb2.tar.gz |
remove optional in seat param since it is needed for wayland
-rw-r--r-- | src/lib/elementary/efl_selection.eo | 8 | ||||
-rw-r--r-- | src/lib/elementary/efl_selection_manager.eo | 18 | ||||
-rw-r--r-- | src/lib/elementary/efl_ui_dnd.eo | 10 | ||||
-rw-r--r-- | src/lib/elementary/efl_ui_dnd_container.eo | 8 |
4 files changed, 22 insertions, 22 deletions
diff --git a/src/lib/elementary/efl_selection.eo b/src/lib/elementary/efl_selection.eo index 9f9a14397d..6b9e95a68e 100644 --- a/src/lib/elementary/efl_selection.eo +++ b/src/lib/elementary/efl_selection.eo @@ -12,7 +12,7 @@ mixin Efl.Selection { @in type: Efl.Selection.Type; [[Selection Type]] @in format: Efl.Selection.Format; [[Selection Format]] @in data: Eina.Slice; - @in seat: uint @optional;[[Specified seat for multiple seats case.]] + @in seat: uint;[[Specified seat for multiple seats case.]] } return: future<void_ptr>; [[Future for tracking when the selection is lost]] } @@ -21,20 +21,20 @@ mixin Efl.Selection { @in type: Efl.Selection.Type; [[Selection Type]] @in format: Efl.Selection.Format; [[Selection Format]] @in data_func: Efl.Selection.Data_Ready; [[Data ready function pointer]] - @in seat: uint @optional;[[Specified seat for multiple seats case.]] + @in seat: uint;[[Specified seat for multiple seats case.]] } } selection_clear { params { @in type: Efl.Selection.Type; [[Selection Type]] - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } } //selection_has { //change to property selection_owner has_owner { params { @in type: Efl.Selection.Type; [[Selection type]] - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } return: bool; } diff --git a/src/lib/elementary/efl_selection_manager.eo b/src/lib/elementary/efl_selection_manager.eo index 2959b41dea..3e15590f93 100644 --- a/src/lib/elementary/efl_selection_manager.eo +++ b/src/lib/elementary/efl_selection_manager.eo @@ -50,7 +50,7 @@ class Efl.Selection.Manager (Efl.Object, Efl.Ui.Dnd) { @in data: Eina.Slice; @in action: Efl.Selection.Action; [[Action when data is transferred]] @in icon_func: Efl.Dnd.Drag_Icon_Create; [[Function pointer to create icon]] - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } } drag_action_set @beta { @@ -58,14 +58,14 @@ class Efl.Selection.Manager (Efl.Object, Efl.Ui.Dnd) { params { @in drag_obj: Efl.Object; [[The drag object]] @in action: Efl.Selection.Action; [[Drag action]] - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } } drag_cancel @beta { [[This cancels the on-going drag]] params { @in drag_obj: Efl.Object; [[The drag object]] - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } } container_drag_item_add @beta { @@ -80,14 +80,14 @@ class Efl.Selection.Manager (Efl.Object, Efl.Ui.Dnd) { @in item_func: Efl.Dnd.Item_Get; [[Item to determine drag start]] @in icon_func: Efl.Dnd.Drag_Icon_Create; [[Icon used during drag]] @in icon_list_func: Efl.Dnd.Drag_Icon_List_Create; [[Icons used for animations]] - @in seat: uint @optional; [[Specified seat for multiple seats case]] + @in seat: uint; [[Specified seat for multiple seats case]] } } container_drag_item_del @beta { [[Remove drag function of items in the container object.]] params { @in cont: Efl.Object; [[Container object]] - @in seat: uint @optional; [[Specified seat for multiple seats case]] + @in seat: uint; [[Specified seat for multiple seats case]] } } drop_target_add @beta { @@ -96,7 +96,7 @@ class Efl.Selection.Manager (Efl.Object, Efl.Ui.Dnd) { params { @in target_obj: Efl.Object; [[The drop target]] @in format: Efl.Selection.Format; [[Accepted data format]] - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } return: bool; [[$true on success, $false otherwise]] } @@ -104,7 +104,7 @@ class Efl.Selection.Manager (Efl.Object, Efl.Ui.Dnd) { params { @in target_obj: Efl.Object; [[The drop target]] @in format: Efl.Selection.Format; [[Accepted data format]] - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } } container_drop_item_add @beta { @@ -112,13 +112,13 @@ class Efl.Selection.Manager (Efl.Object, Efl.Ui.Dnd) { @in cont: Efl.Object; [[Container object]] @in format: Efl.Selection.Format; [[Accepted data formats]] @in item_func: Efl.Dnd.Item_Get; [[Get item at specific position]] - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } } container_drop_item_del @beta { params { @in cont: Efl.Object; [[Container object]] - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } } } diff --git a/src/lib/elementary/efl_ui_dnd.eo b/src/lib/elementary/efl_ui_dnd.eo index 7d4b2a0175..2fe5f1205b 100644 --- a/src/lib/elementary/efl_ui_dnd.eo +++ b/src/lib/elementary/efl_ui_dnd.eo @@ -16,20 +16,20 @@ mixin Efl.Ui.Dnd { @in data: Eina.Slice; [[The drag data]] @in action: Efl.Selection.Action; [[Action when data is transferred]] @in icon_func: Efl.Dnd.Drag_Icon_Create; [[Function pointer to create icon]] - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } } drag_action_set { [[This sets the action for the drag]] params { @in action: Efl.Selection.Action; [[Drag action]] - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } } drag_cancel { [[This cancels the on-going drag]] params { - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } } drop_target_add { //change to property (keys: format, seat, value: boolean) @@ -37,13 +37,13 @@ mixin Efl.Ui.Dnd { EFL_DND_UI_EVENT_DRAG_POS, EFL_UI_DND_EVENT_DRAG_DROP.]] params { @in format: Efl.Selection.Format; [[Accepted data format]] - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } } drop_target_del { //remove params { @in format: Efl.Selection.Format; [[Accepted data format]] - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } } } diff --git a/src/lib/elementary/efl_ui_dnd_container.eo b/src/lib/elementary/efl_ui_dnd_container.eo index f80f1152a5..a5faed6373 100644 --- a/src/lib/elementary/efl_ui_dnd_container.eo +++ b/src/lib/elementary/efl_ui_dnd_container.eo @@ -26,25 +26,25 @@ mixin Efl.Ui.Dnd.Container { @in item_func: Efl.Dnd.Item_Get; [[Item to determine drag start]] @in icon_func: Efl.Dnd.Drag_Icon_Create; [[Icon used during drag]] @in icon_list_func: Efl.Dnd.Drag_Icon_List_Create; [[Icons used for animations CHECKING ]] - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } } drag_item_del { //remove [[Remove drag function of items in the container object.]] params { - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } } drop_item_add { params { @in format: Efl.Selection.Format; [[Accepted data formats]] @in item_func: Efl.Dnd.Item_Get; [[Get item at specific position]] - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } } drop_item_del { params { - @in seat: uint @optional; [[Specified seat for multiple seats case.]] + @in seat: uint; [[Specified seat for multiple seats case.]] } } } |