hexagram/include/hexagram/thermo.h

27 lines
698 B
C
Raw Normal View History

#ifndef _HEXAGRAM_THERMO_H
#define _HEXAGRAM_THERMO_H
#include <cairo.h>
2019-06-09 15:46:41 -05:00
#include <hexagram/gauge.h>
2019-06-09 15:46:41 -05:00
typedef struct _hexagram_thermo {
hexagram_gauge gauge;
double redline;
} hexagram_thermo;
void hexagram_thermo_init(hexagram_thermo *thermo,
double x,
double y,
double radius,
double redline);
void hexagram_thermo_draw_face(hexagram_thermo *thermo,
cairo_t *cr);
void hexagram_thermo_draw_needle(hexagram_thermo *thermo,
cairo_t *cr,
double temp);
#endif /* _HEXAGRAM_THERMO_H */