1#ifndef SWC_DECOR_H
2#define SWC_DECOR_H
3
4#include <stdbool.h>
5#include <pixman.h>
6
7struct compositor_view;
8struct swc_decor;
9struct swc_rectangle;
10struct wld_renderer;
11
12bool
13decor_initialize(void);
14void
15decor_finalize(void);
16
17void
18decor_view_initialize(struct compositor_view *view);
19void
20decor_view_finalize(struct compositor_view *view);
21
22void
23decor_repaint(struct wld_renderer *renderer,
24 const struct swc_rectangle *target_geom,
25 struct compositor_view *view, pixman_region32_t *damage);
26void
27decor_view_set(struct compositor_view *view, const struct swc_decor *decor);
28void
29decor_view_damage(struct compositor_view *view);
30
31#endif