summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-06-23 12:24:06 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commitf4f5f3f8f86f55c658358ec8b4f120b9fcc64d70 (patch)
tree4420f8b107cca636dd1c840e43fe5dd550e74313
parent342cead0ff9a95479270de381c3cd14ea7a95c0b (diff)
wayland: add missing add_layer and clear requests to genivi::screen
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-rw-r--r--src/wayland.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wayland.hpp b/src/wayland.hpp
index 58c63b1..cb4c8ed 100644
--- a/src/wayland.hpp
+++ b/src/wayland.hpp
@@ -264,6 +264,9 @@ struct layer : public wayland_proxy<struct ivi_controller_layer>,
struct screen : public wayland_proxy<struct ivi_controller_screen>,
controlled_entity {
screen(uint32_t i, struct controller *c, struct ivi_controller_screen *p);
+
+ void clear() { ivi_controller_screen_clear(this->proxy); }
+ void add_layer(layer *l) { ivi_controller_screen_add_layer(this->proxy, l->proxy); }
};
// _ _ _