That was nothing like the back of the box. *shakes fist*

This commit is contained in:
XANTRONIX Development 2019-05-26 10:32:59 -05:00
parent 7f95045379
commit 09055fce09

View file

@ -83,8 +83,11 @@ static void draw_tachometer(cairo_t *cr,
cairo_fill(cr); cairo_fill(cr);
} }
static void draw_speedometer(cairo_t *cr) { static void draw_speedometer(cairo_t *cr,
cairo_arc(cr, 816, 240, 192, 0, 360); double x,
double y,
double r) {
cairo_arc(cr, x, y, r, 0, 360);
cairo_stroke(cr); cairo_stroke(cr);
} }
@ -137,7 +140,7 @@ static void redraw(cairo_t *cr) {
cairo_paint(cr); cairo_paint(cr);
draw_tachometer(cr, 208, 240, 192); draw_tachometer(cr, 208, 240, 192);
draw_speedometer(cr); draw_speedometer(cr, 816, 240, 192);
draw_thermometer(cr); draw_thermometer(cr);
draw_fuel_gauge(cr); draw_fuel_gauge(cr);
draw_mfd(cr, 432, 48, 160, 240); draw_mfd(cr, 432, 48, 160, 240);