summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Iscaro <iscaro@profusion.mobi>2016-11-09 11:24:07 -0200
committerBruno Dilly <bdilly@profusion.mobi>2016-11-09 11:24:07 -0200
commit17af933ae750a3090fba94b804e114001a4181a2 (patch)
tree010791b017be98c615f8c76010570dd8e9db2ffe
parented48b8d93ee28d7e577c1bf200591db75afca317 (diff)
downloadefl-17af933ae750a3090fba94b804e114001a4181a2.tar.gz
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
-rw-r--r--src/lib/evas/canvas/evas_canvas.eo11
1 files 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