Code Review
/
staging
/
HomeScreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New concept of dynamically placing surfaces in static defined layout areas.
[staging/HomeScreen.git]
/
libhomescreen
/
include
/
libhomescreen.hpp
diff --git
a/libhomescreen/include/libhomescreen.hpp
b/libhomescreen/include/libhomescreen.hpp
index
f92e190
..
db6ca2d
100644
(file)
--- a/
libhomescreen/include/libhomescreen.hpp
+++ b/
libhomescreen/include/libhomescreen.hpp
@@
-5,6
+5,14
@@
struct _LibHomeScreenHomescreen;
typedef struct _LibHomeScreenHomescreen LibHomeScreenHomescreen;
struct _LibHomeScreenHomescreen;
typedef struct _LibHomeScreenHomescreen LibHomeScreenHomescreen;
+typedef struct
+{
+ int x;
+ int y;
+ int width;
+ int height;
+} sRectangle;
+
class LibHomeScreen
{
public:
class LibHomeScreen
{
public:
@@
-12,8
+20,10
@@
public:
~LibHomeScreen();
// these are representing the D-Bus methods:
~LibHomeScreen();
// these are representing the D-Bus methods:
+ sRectangle getLayoutRenderAreaForSurfaceId(int surfaceId);
void hardKeyPressed(int key);
void hardKeyPressed(int key);
- void toggleFullScreen();
+ void renderSurfaceToArea(int surfaceId, const sRectangle &renderArea);
+ void requestSurfaceIdToFullScreen(int surfaceId);
private:
LibHomeScreenHomescreen *mp_libHomeScreenHomescreen_Proxy;
private:
LibHomeScreenHomescreen *mp_libHomeScreenHomescreen_Proxy;