aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;