From 5e8b656af6c13323f91907f38f38863da873014c Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Thu, 22 Jun 2017 16:22:21 +0200 Subject: wayland: added genivi::rect and genivi::size and props to genivi::surface Signed-off-by: Marcus Fritzsch --- src/wayland.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/wayland.hpp b/src/wayland.hpp index d76a023..f58ada0 100644 --- a/src/wayland.hpp +++ b/src/wayland.hpp @@ -112,6 +112,15 @@ struct output : wayland_proxy { // |___/ namespace genivi { +struct size { + uint32_t w, h; +}; + +struct rect { + uint32_t w, h; + int32_t x, y; +}; + struct controller; struct controlled_entity { @@ -130,6 +139,13 @@ struct controlled_entity { // struct surface : public wayland_proxy, controlled_entity { + struct rect dst_rect; + struct rect src_rect; + struct size size; + int32_t orientation; + int32_t visibility; + float opacity; + surface(uint32_t i, struct controller *c); ~surface() override; -- cgit