downstream: add background support to ivi-shell
[profile/ivi/weston-ivi-shell.git] / ivi-shell / ivi-layout-private.h
index 7188598..14d44db 100644 (file)
@@ -89,6 +89,12 @@ struct ivi_layout_layer {
        } order;
 };
 
+struct ivi_background {
+    struct wl_list link;
+    struct weston_surface *surface;
+    struct weston_view *view;
+};
+
 struct ivi_layout {
        struct weston_compositor *compositor;
 
@@ -108,10 +114,17 @@ struct ivi_layout {
        } surface_notification;
 
        struct weston_layer layout_layer;
+       struct weston_layer background_layer;
+
        struct wl_signal warning_signal;
 
        struct ivi_layout_transition_set *transitions;
        struct wl_list pending_transition_list;
+
+       struct wl_list background_list;
+       struct {
+               float red, green, blue;
+       } background_color;
 };
 
 struct ivi_layout *get_layout_instance(void);
@@ -142,7 +155,6 @@ void
 ivi_layout_transition_visibility_off(struct ivi_layout_surface *surface,
                                     uint32_t duration);
 
-
 void
 ivi_layout_transition_move_layer(struct ivi_layout_layer *layer,
                                 int32_t dest_x, int32_t dest_y,