diff options
author | 2016-11-03 20:23:10 +0100 | |
---|---|---|
committer | 2016-11-03 20:23:10 +0100 | |
commit | ec688535558c31989e7da221b858328b2e0766c8 (patch) | |
tree | 4ca00a485bdb4ecd8aebe87398e324510400b4c0 /SampleHomeScreenInterfaceApp/src/sampleclass.hpp | |
parent | 6656309e1ddf27c3e62fe5d599bee2beeddcbff1 (diff) |
New concept of dynamically placing surfaces in static defined layout areas.v0.4.0
This is useful if an application wants to render more than one surface.
By default, one surface is placed in one layout render area. With the new homescreen.xml
introspection, apps can place their surfaces as they wish (limited to the boundries
of the assigned layou render area!).
The functionality is not fully implemented, but the shared lib already provides the interface.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
Diffstat (limited to 'SampleHomeScreenInterfaceApp/src/sampleclass.hpp')
-rw-r--r-- | SampleHomeScreenInterfaceApp/src/sampleclass.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/SampleHomeScreenInterfaceApp/src/sampleclass.hpp b/SampleHomeScreenInterfaceApp/src/sampleclass.hpp index aa5f376..acffcf6 100644 --- a/SampleHomeScreenInterfaceApp/src/sampleclass.hpp +++ b/SampleHomeScreenInterfaceApp/src/sampleclass.hpp @@ -9,8 +9,10 @@ public: SampleClass(); ~SampleClass(); + sRectangle getLayoutRenderAreaForSurfaceId(int surfaceId); void hardKeyPressed(int key); - void toggleFullScreen(); + void renderSurfaceToArea(int surfaceId, const sRectangle &renderArea); + void requestSurfaceIdToFullScreen(int surfaceId); private: LibHomeScreen *mp_libHomeScreen; |