Exemplo n.º 1
0
void wouttext_reverseifnecessary(int x, int y, int font, char *text) {
    char *backwards = NULL;
    char *otext = text;
    if (game.options[OPT_RIGHTLEFTWRITE]) {
        backwards = reverse_text(text);
        otext = backwards;
    }

    wouttext_outline(x, y, font, otext);

    if (backwards)
        free(backwards);
}
Exemplo n.º 2
0
void GUITextBox::DrawTextBoxContents(Bitmap *ds, color_t text_color)
{
    // print something fake so we can see what it looks like
    wouttext_outline(ds, X + 2, Y + 2, Font, text_color, "Text Box Contents");
}