summaryrefslogtreecommitdiff
path: root/i/serialplot/serialplot_sdl.h
blob: b612ac3c58871a71c223c4d66ccbdb37d48412b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef serialplot_sdl_h
#define serialplot_sdl_h

#include <SDL.h>
#include <SDL_image.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "BFont.h"

void erreur (void);
void nextFrame (void);
void draw (int melt, int n, int vals[], double scale[], int position [] );
void putpixel(int x, int y, Uint32 pixel);
void clearcol (int x);
void draw_inf(int n, int vals[]);

extern SDL_Surface *screen;
extern int old_value[256];
extern unsigned long cpt[8];
#endif