aboutsummaryrefslogtreecommitdiffstats
path: root/SampleHomeScreenInterfaceApp
diff options
context:
space:
mode:
Diffstat (limited to 'SampleHomeScreenInterfaceApp')
-rw-r--r--SampleHomeScreenInterfaceApp/src/sampleclass.cpp9
-rw-r--r--SampleHomeScreenInterfaceApp/src/sampleclass.hpp3
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: