Beispiel #1
0
void shal_draw_justified_ustr(ALLEGRO_FONT const * font,
                              float color_r,
                              float color_g,
                              float color_b,
                              float color_a,
                              float x1,
                              float x2,
                              float y,
                              float diff,
                              int flags,
                              ALLEGRO_USTR const * text)
{
    ALLEGRO_COLOR color;
    color.r = color_r;
    color.g = color_g;
    color.b = color_b;
    color.a = color_a;
    return al_draw_justified_ustr(font,
                                  color,
                                  x1,
                                  x2,
                                  y,
                                  diff,
                                  flags,
                                  text);
}
Beispiel #2
0
void al_draw_justified_ustr_w(const ALLEGRO_FONT *font, ALLEGRO_COLOR *color, float x1, float x2, float y, float diff, int flags, ALLEGRO_USTR const *text)
{
	al_draw_justified_ustr(font, *color, x1, x2, y, diff, flags, text);
}