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
This commit is contained in:
Guilherme Iscaro 2016-11-09 11:24:07 -02:00 committed by Bruno Dilly
parent ed48b8d93e
commit 17af933ae7
1 changed files with 7 additions and 4 deletions

View File

@ -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