xgetshape

annotate 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
rev   line source
nuclear@0 1 #ifndef TEXTURE_H_
nuclear@0 2 #define TEXTURE_H_
nuclear@0 3
nuclear@0 4 #include "image.h"
nuclear@0 5
nuclear@0 6 struct texture {
nuclear@0 7 unsigned int id;
nuclear@0 8 int width, height, tex_width, tex_height;
nuclear@0 9 };
nuclear@0 10
nuclear@0 11 int image_texture(struct texture *tex, struct image *img);
nuclear@0 12
nuclear@0 13 #endif /* TEXTURE_H_ */