neuswc

patched neuswc library (tracked)
git clone https://git.daat.foo/neuswc.git
Log | Files | Refs | README | LICENSE

decor.h (662B)


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