diff options
author | 2016-11-09 18:31:50 +0100 | |
---|---|---|
committer | 2016-11-09 18:31:50 +0100 | |
commit | f15a0c90d9514d1edf77b390076ae92d7a99a0ab (patch) | |
tree | 5fedc1a7011b707c3d9c0c22f6de429910699b2d /SampleHomeScreenInterfaceApp | |
parent | 557bdea00ff9a398f0646fdcae653791c9cb640c (diff) |
Changes to org.agl.homescreen interface
Change parameter for renderSurfaceToArea.
Remove getLayoutRenderAreaForSurfaceId.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
Diffstat (limited to 'SampleHomeScreenInterfaceApp')
-rw-r--r-- | SampleHomeScreenInterfaceApp/src/sampleclass.cpp | 9 | ||||
-rw-r--r-- | SampleHomeScreenInterfaceApp/src/sampleclass.hpp | 3 |
2 files changed, 3 insertions, 9 deletions
diff --git a/SampleHomeScreenInterfaceApp/src/sampleclass.cpp b/SampleHomeScreenInterfaceApp/src/sampleclass.cpp index f4c1c83..bc39af9 100644 --- a/SampleHomeScreenInterfaceApp/src/sampleclass.cpp +++ b/SampleHomeScreenInterfaceApp/src/sampleclass.cpp @@ -16,11 +16,6 @@ std::list<int> SampleClass::getAllSurfacesOfProcess(int pid) return mp_libHomeScreen->getAllSurfacesOfProcess(pid); } -sRectangle SampleClass::getLayoutRenderAreaForSurfaceId(int surfaceId) -{ - return mp_libHomeScreen->getLayoutRenderAreaForSurfaceId(surfaceId); -} - void SampleClass::hardKeyPressed(int key) { mp_libHomeScreen->hardKeyPressed(key); @@ -31,9 +26,9 @@ int SampleClass::getSurfaceStatus(int surfaceId) return mp_libHomeScreen->getSurfaceStatus(surfaceId); } -void SampleClass::renderSurfaceToArea(int surfaceId, const sRectangle &renderArea) +void SampleClass::renderSurfaceToArea(int surfaceId, int layoutArea) { - mp_libHomeScreen->renderSurfaceToArea(surfaceId, renderArea); + mp_libHomeScreen->renderSurfaceToArea(surfaceId, layoutArea); } void SampleClass::requestSurfaceIdToFullScreen(int surfaceId) diff --git a/SampleHomeScreenInterfaceApp/src/sampleclass.hpp b/SampleHomeScreenInterfaceApp/src/sampleclass.hpp index f5a5d13..9293843 100644 --- a/SampleHomeScreenInterfaceApp/src/sampleclass.hpp +++ b/SampleHomeScreenInterfaceApp/src/sampleclass.hpp @@ -11,10 +11,9 @@ public: ~SampleClass(); std::list<int> getAllSurfacesOfProcess(int pid); - sRectangle getLayoutRenderAreaForSurfaceId(int surfaceId); int getSurfaceStatus(int surfaceId); void hardKeyPressed(int key); - void renderSurfaceToArea(int surfaceId, const sRectangle &renderArea); + void renderSurfaceToArea(int surfaceId, int layoutArea); void requestSurfaceIdToFullScreen(int surfaceId); private: |