Root/tools/atspi-rssi/digit.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/digit.h - Draw 7 segment style digits
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
14#ifndef DIGIT_H
15#define DIGIT_H
16
17#include <stdint.h>
18
19#include "SDL.h"
20
21
22void digit(SDL_Surface *s, int n, int x0, int x1, int y0, int ym, int y1,
23    uint32_t fg);
24
25#endif /* !DIGIT_H */
26

Archive Download this file



interactive