From 17af933ae750a3090fba94b804e114001a4181a2 Mon Sep 17 00:00:00 2001 From: Guilherme Iscaro Date: Wed, 9 Nov 2016 11:24:07 -0200 Subject: [PATCH] Evas: Change evas_canvas_default_device_get() to property. Reviewers: barbieri, jpeg, bdilly Reviewed By: bdilly Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4387 --- src/lib/evas/canvas/evas_canvas.eo | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/lib/evas/canvas/evas_canvas.eo b/src/lib/evas/canvas/evas_canvas.eo index 6888257a25..16e9b29a8c 100644 --- a/src/lib/evas/canvas/evas_canvas.eo +++ b/src/lib/evas/canvas/evas_canvas.eo @@ -1135,15 +1135,18 @@ class Evas.Canvas (Efl.Object, Efl.Canvas, Efl.Animator, Efl.Input.Interface) re-compute of that data etc. ]] } - default_device_get { + @property default_device { [[Return the default device of a given type. \@note Currently Evas only creates a seat, mouse and keyboard. @since 1.19 ]] - params { - @in type: Efl.Input.Device.Class; [[The class of the default device to fetch.]] + get {} + keys { + type: Efl.Input.Device.Class; [[The class of the default device to fetch.]] + } + values { + seat: Efl.Input.Device; [[The default device or $null on error.]] } - return: Efl.Input.Device; [[The default device or $null on error.]] } coord_world_y_to_screen @const { [[Convert/scale a canvas coordinate into output screen