Root/tools/atrf-rssi/digit.h

Source at commit 1fb05c221dcff657e49cc766e8ff7baa1d3434fc created 9 years 6 months ago.
By Werner Almesberger, misctxrx.c (wait_for_interrupt): let "ignore" control printing more tightly
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