xartigas pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=56c279edf4d13438edf06514b70c9a2570fc493c

commit 56c279edf4d13438edf06514b70c9a2570fc493c
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Feb 21 18:19:35 2019 +0100

    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
---
 src/lib/efl/interfaces/efl_screen.eo | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/src/lib/efl/interfaces/efl_screen.eo 
b/src/lib/efl/interfaces/efl_screen.eo
index 3aa06d2348..7d60050b48 100644
--- a/src/lib/efl/interfaces/efl_screen.eo
+++ b/src/lib/efl/interfaces/efl_screen.eo
@@ -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.

-- 


Reply via email to