diff options
author | Yuta Doi <yuta-d@witz-inc.co.jp> | 2018-05-18 16:31:03 +0900 |
---|---|---|
committer | Yuta Doi <yuta-d@witz-inc.co.jp> | 2018-05-18 16:31:03 +0900 |
commit | be4dfa878deb5dd6b7d097cb4c371ad05557420d (patch) | |
tree | 598f8ba98316b5bb39708edc5314a4758d36bbc5 /qlibwindowmanager.pro | |
parent | 696956618c85a6203464720721bdf3ad50bcdaa1 (diff) |
Add API which can get informations
getDisplayInfo() can get the display information as follows:
- width[pixel]
- height[pixel]
- width[mm]
- height[mm]
NOTE:
It uses wl_output::geometry() for getting physical width[mm] and height[mm] of the display,
but the value is different with measured value.
value from wl_output::geometry(): width:320 height:520
measured value : width:193 height:343
getAreaInfo() can get the information of area drawn by the application as follows:
- x-coordinate
- y-coordinate
- width
- height
getCarInfo() can get the car state informations as follows:
- parking brake state : true/false
- accelerator pedal position : 0-127.5
- car state : "stop"/"run"
The details are described in doc/ApplicationGuide.md
in project apps/agl-service-windowmanager-2017.
Change-Id: Icfb945ea3f2a8701d110b4063bbef5a54119e511
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
Diffstat (limited to 'qlibwindowmanager.pro')
0 files changed, 0 insertions, 0 deletions