forked from enlightenment/efl
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:
parent
831b746a92
commit
56c279edf4
|
@ -13,9 +13,21 @@ interface @beta Efl.Screen
|
||||||
]]
|
]]
|
||||||
}
|
}
|
||||||
values {
|
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 {
|
@property screen_rotation {
|
||||||
get {
|
get {
|
||||||
[[Get the rotation of the screen.
|
[[Get the rotation of the screen.
|
||||||
|
|
Loading…
Reference in New Issue