summaryrefslogtreecommitdiffstats
path: root/src/wayland.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wayland.hpp')
-rw-r--r--src/wayland.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/wayland.hpp b/src/wayland.hpp
index 7ff1145..fbb9704 100644
--- a/src/wayland.hpp
+++ b/src/wayland.hpp
@@ -124,12 +124,12 @@ struct rect {
struct controller;
-struct controlled_entity {
+struct controller_child {
struct controller *parent;
uint32_t id;
- controlled_entity(struct controller *c, uint32_t i) : parent(c), id(i) {}
- virtual ~controlled_entity() {}
+ controller_child(struct controller *c, uint32_t i) : parent(c), id(i) {}
+ virtual ~controller_child() {}
};
// __
@@ -139,7 +139,7 @@ struct controlled_entity {
// |___/\__,_|_| |_| \__,_|\___\___|
//
struct surface : public wayland_proxy<struct ivi_controller_surface>,
- controlled_entity {
+ controller_child {
struct rect dst_rect;
struct rect src_rect;
struct size size;
@@ -197,7 +197,7 @@ struct surface : public wayland_proxy<struct ivi_controller_surface>,
// |_|\__,_|\__, |\___|_|
// |___/
struct layer : public wayland_proxy<struct ivi_controller_layer>,
- controlled_entity {
+ controller_child {
struct rect dst_rect;
struct rect src_rect;
struct size size;
@@ -271,7 +271,7 @@ struct layer : public wayland_proxy<struct ivi_controller_layer>,
// |___/\___|_| \___|\___|_| |_|
//
struct screen : public wayland_proxy<struct ivi_controller_screen>,
- controlled_entity {
+ controller_child {
screen(uint32_t i, struct controller *c, struct ivi_controller_screen *p);
void clear() { ivi_controller_screen_clear(this->proxy); }