- int monat = (value/100) % 100;
- int jahr = (value/10000);
-
- DrawText(VX + pos->x, VY + pos->y, int2str(tag, 2), pos->font);
- DrawText(VX + pos->x + 27, VY + pos->y, monatsname[monat], pos->font);
- DrawText(VX + pos->x + 64, VY + pos->y, int2str(jahr, 2), pos->font);
+ int monat = (value / 100) % 100;
+ int jahr = (value / 10000);
+ int xpos1 = VX + pos->x;
+ int xpos2 = VX + pos->x + pos->xoffset;
+ int xpos3 = VX + pos->x + pos->xoffset2;
+ int ypos = VY + pos->y;
+
+ DrawText(xpos1, ypos, int2str(tag, 2), pos->font);
+ DrawText(xpos2, ypos, monatsname[monat], pos->font);
+ DrawText(xpos3, ypos, int2str(jahr, 2), pos->font);