aboutsummaryrefslogtreecommitdiffstats
path: root/src/wayland.hpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-06-22 16:22:21 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commit5e8b656af6c13323f91907f38f38863da873014c (patch)
tree043f6dabba52b42d9335bfb6069914b089dfec2c /src/wayland.hpp
parentb54df759ebab6b240d3cd7271ef91e558866a92d (diff)
wayland: added genivi::rect and genivi::size and props to genivi::surface
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/wayland.hpp')
-rw-r--r--src/wayland.hpp16
1 files changed, 16 insertions, 0 deletions
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<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;