efl.screen: add screen_size_in_mm property

Summary:
ref T7590

Depends on D7965

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl_api

Maniphest Tasks: T7590

Differential Revision: https://phab.enlightenment.org/D7966
This commit is contained in:
Mike Blumenkrantz 2019-02-21 18:19:35 +01:00 committed by Xavi Artigas
parent 831b746a92
commit 56c279edf4
1 changed files with 13 additions and 1 deletions

View File

@ -13,9 +13,21 @@ interface @beta Efl.Screen
]]
}
values {
size: Eina.Size2D; [[The screen size.]]
size: Eina.Size2D; [[The screen size in pixels.]]
}
}
// @property screen_size_in_mm {
// get {
// [[Get screen geometry (in millimeters) for the screen.
//
// Note that on some display systems this information is not available and
// a value of 0x0 will be returned.
// ]]
// }
// values {
// size: Eina.Size2D; [[The screen size in millimeters.]]
// }
// }
@property screen_rotation {
get {
[[Get the rotation of the screen.