diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2025-11-01 09:46:52 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2025-11-01 09:46:52 +0800 |
| commit | 9f938ab8ba5af561bd44dbc7142f338ce317a01a (patch) | |
| tree | 7104ce2ac9456c5895f752eff26bad31f8436978 /esp32/main/gui.h | |
| download | etlas-9f938ab8ba5af561bd44dbc7142f338ce317a01a.tar.gz | |
Etlas project.
Diffstat (limited to 'esp32/main/gui.h')
| -rw-r--r-- | esp32/main/gui.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/esp32/main/gui.h b/esp32/main/gui.h new file mode 100644 index 0000000..8243e0a --- /dev/null +++ b/esp32/main/gui.h @@ -0,0 +1,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 */ |
