all repos — openbox @ 36b90c320ddcaf4ccb6a03f3185fd380f626644a

openbox fork - make it a bit more like ryudo

render/mask.h (raw)

1
2
3
4
5
6
7
8
9
10
11
#ifndef __mask_h
#define __mask_h

#include "render.h"
#include "../kernel/geom.h"

pixmap_mask *pixmap_mask_new(int w, int h, char *data);
void pixmap_mask_free(pixmap_mask *m);
void mask_draw(Pixmap p, TextureMask *m, Rect *position);

#endif