summaryrefslogtreecommitdiffstats
path: root/src/wayland.hpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-06-23 14:09:32 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commitedb416241ef3a38dbade052c8361b8b96049894e (patch)
tree710491fa5d4d894ff123343afb13644d5883db95 /src/wayland.hpp
parentd90e97b2838053165eaf6a21906991d4c8faaac7 (diff)
wayland: store layer properties
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/wayland.hpp')
-rw-r--r--src/wayland.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wayland.hpp b/src/wayland.hpp
index a98c36d..c8a7113 100644
--- a/src/wayland.hpp
+++ b/src/wayland.hpp
@@ -201,6 +201,13 @@ struct surface : public wayland_proxy<struct ivi_controller_surface>,
// |___/
struct layer : public wayland_proxy<struct ivi_controller_layer>,
controlled_entity {
+ struct rect dst_rect;
+ struct rect src_rect;
+ struct size size;
+ int32_t orientation;
+ int32_t visibility;
+ float opacity;
+
layer(uint32_t i, struct controller *c);
layer(uint32_t i, int32_t w, int32_t h, struct controller *c);
~layer() override;
@@ -299,6 +306,7 @@ struct controller : public wayland_proxy<struct ivi_controller> {
}
this->pending.clear();
ivi_controller_commit_changes(this->proxy);
+ // XXX: No flush here...
}
}