blob: 8243e0ae8373794306c5f6a4cccbe40454026960 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef GUI_H
#define GUI_H
#include "scrn.h"
#include "stock.h"
#define MAXLEN 48000
void gui_draw_temp(struct scrn *sc);
void gui_draw_humid(struct scrn *sc);
void gui_draw_layout(struct scrn *sc);
void gui_draw_date(struct scrn *sc, struct tm *now);
int gui_draw_str(struct scrn *sc, const char *s, int x0, int y0, int x_max, int y_max, int bold);
void gui_plot_stocks(struct scrn *sc, struct stock_data *data);
#endif /* GUI_H */
|