Root/tools/atspi-rssi/zgrid.h

Source at commit 0463bbea5d737f4385ed09997cff6f6ee9232640 created 8 years 11 months ago.
By Werner Almesberger, Added graphical display of RSSI scan results.
1/*
2 * atspi-rssi/zgrid.h - Display a surface in faux 3D with SDL/SDL_gfx
3 *
4 * Written 2010 by Werner Almesberger
5 * Copyright 2010 Werner Almesberger
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 */
12
13#ifndef ZGRID_H
14#define ZGRID_H
15
16#include <stdint.h>
17
18#include "SDL.h"
19
20
21void zgrid_draw(SDL_Surface *s, const int *z, int nx, int ny,
22    int sx, int sy, int sxy, int x0, int y0, uint32_t fg, uint32_t bg);
23
24#endif /* !ZGRID_H */
25

Archive Download this file



interactive