summaryrefslogtreecommitdiff
path: root/meme/gaux.h
blob: b3551e897559c43767941b189eda6cb1d82f9ce5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * gaux.h - Auxiliary graphics functions
 *
 * Written 2014, 2016 by Werner Almesberger
 * Copyright 2014, 2016 Werner Almesberger
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */


#ifndef GAUX_H
#define GAUX_H

#include "SDL.h"


SDL_Surface *sdl_surface(Uint32 flags, int width, int height);
Uint32 get_pixel(const SDL_Surface *s, Sint16 x, Sint16 y, Uint32 null);

#endif /* !GAUX_H */