Root/tools/atrf-rssi/digit.h

Source at commit 5c5a93686b7e8985872ed451f53933f5303eba1c created 7 years 1 month ago.
By Stefan Schmidt, atusb/fw: update changelog for 0.3 firmware release
1/*
2 * atrf-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