summaryrefslogtreecommitdiffstats
path: root/src/libwindowmanager.h
AgeCommit message (Collapse)AuthorFilesLines
2018-05-21Add lightstatus brake ON/OFF eventsandbox/yuta-d/add_api_get_car_infoYuta Doi1-0/+3
Change-Id: I5b39168cf5a0907857e420e60710ec5f5d16b33d Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-18Add API which can get information about the car stateYuta Doi1-0/+3
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: Iac1052c172414b652aa94d94b386e22dff94cfdb Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-09Add parking brake ON/OFF eventYuta Doi1-0/+3
Change-Id: If80e4e6af323d280af004955d57fa32c37797c24 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2018-05-09Add headlamp ON/OFF and car stop/run eventYuta Doi1-1/+13
Change-Id: I65c543cfce9dcf1c4fdd21af1a3129eceec2b172 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2017-12-20Add APIs which can get information about the display and the surface areaYuta Doi1-0/+5
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 The details are described in doc/ApplicationGuide.md in project apps/agl-service-windowmanager-2017. Bug-AGL: SPEC-1087 Change-Id: Icee00af4ab210b056cc67c2868ef2c594da1dbe1 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2017-12-12Support XDG applicationTadao Tanikawa1-0/+2
To run XDG application on AGL HomeScreen/WindowManager, a new binding API of WindowManager is added. This api is used only by AGL XDG-Launcher and all xdg applications should be packed as wgt compatible to AGL Application framework. Bug-AGL: SPEC-1096 Change-Id: Iea43c65ce03a352773c47e125490990f32dc9695 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-11-02Replace 'constexpr' with 'const char*'Yuta Doi1-2/+2
'constexpr' causes the warning [-Wwrite-strings]. So replace 'constexpr' with 'const char*'. Change-Id: I03e2c7b53e4db6cb5b804c66cb88ae15e2387eb8 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2017-11-01Modify the enum starting pointKazumasa Mitsunari1-1/+1
The windowmanager server treats the event list as a vector, thus it numbers the events starting from 0. Likewise we need to change the eventlist to start from 0 in this library. Related commit : https://gerrit.automotivelinux.org/gerrit/#/c/11481/ Bug-AGL: SPEC-987 Change-Id: I72a36033191b0a43fc8ab6923e2897715d02bcbd Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-11-01Change parameter from char* to json_objectKazumasa Mitsunari1-5/+17
For future extensibility, change the argument parameter to json_object Bug-AGL: SPEC-990 Conflicts: src/libwindowmanager.cpp Change-Id: I7015fe26d22489f250b67907870d2863d1e8158b Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-10-26Add library splitted from agl-service-windowmanagerKazumasa Mitsunari1-0/+58
Related commit : https://gerrit.automotivelinux.org/gerrit/#/c/11451/ [Patch Sets 2] - Remove doc/* because these documents are integtrated to agl-service-windowmanager-2017. https://gerrit.automotivelinux.org/gerrit/#/c/11507/1 - Modify the function comments to doxygen format. Bug-AGL : SPEC-993 Change-Id: Id82ee513e06f0c12eba044b8d42d8dde68063168 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>