xgetshape

view src/texture.h @ 0:2f02f100b20f

getting the window shape of another window
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 03 Nov 2015 00:42:08 +0200
parents
children 9b560415bad4
line source
1 #ifndef TEXTURE_H_
2 #define TEXTURE_H_
4 #include "image.h"
6 struct texture {
7 unsigned int id;
8 int width, height, tex_width, tex_height;
9 };
11 int image_texture(struct texture *tex, struct image *img);
13 #endif /* TEXTURE_H_ */