hexagram/include/hexagram/thermo.h
2019-06-09 15:46:41 -05:00

26 lines
698 B
C

#ifndef _HEXAGRAM_THERMO_H
#define _HEXAGRAM_THERMO_H
#include <cairo.h>
#include <hexagram/gauge.h>
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 */