wayland: added genivi::rect and genivi::size and props to genivi::surface
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>
Thu, 22 Jun 2017 14:22:21 +0000 (16:22 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Tue, 8 Aug 2017 15:24:00 +0000 (17:24 +0200)
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
src/wayland.hpp

index d76a023..f58ada0 100644 (file)
@@ -112,6 +112,15 @@ struct output : wayland_proxy<struct wl_output> {
 //  |___/
 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<struct ivi_controller_surface>,
                  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;