summaryrefslogtreecommitdiffstats
path: root/src/layers.hpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-03 10:37:01 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commit04c862b9957ea86959bd533cb1ac497ddb52759d (patch)
tree54a1e9d7718f340605727a08552d080037f1cc2e /src/layers.hpp
parentccd8c4d8957c4a561ae1d2d9a53525fe2a4e4329 (diff)
app/api: add demo_activate_surface() api_binding
* Added "main_surface" entry to layers.json. * This surface is never made invisible by activate_surface(). Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/layers.hpp')
-rw-r--r--src/layers.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/layers.hpp b/src/layers.hpp
index a6df4a0..a02eb00 100644
--- a/src/layers.hpp
+++ b/src/layers.hpp
@@ -68,6 +68,7 @@ struct layer_map {
storage_type mapping;
layers_type layers;
+ int main_surface;
optional<int> get_layer_id(int surface_id);
optional<genivi::rect> get_layer_rect(int surface_id);