x += width[col] + 20;
}
+ // draw total
+ {
+ char text[16];
+ sprintf(text, "%u", i->total);
+
+ unsigned this_width = my_draw_text(text, NULL, 22.0);
+ my_draw_text(text, buf, 22.0, x + width[num_scores + 1] / 2 - this_width / 2, y);
+ x += width[num_scores + 1] + 20;
+ }
+
y += 40;
}