Hello, I'm making my first Crystal Space application and I just can't manage to find how to draw text on the screen. I've looked in the documentation, exemples, tutorials and Google and I could not find it.
Thanks for your help.
Something roughly like this:
int fg = g2d->FindRGB (255, 0, 0); // Red.
int bg = -1; // Transparent.
iFontServer* fntsvr = g2d->GetFontServer ();
iFont* font = fntsvr->LoadFont (CSFONT_COURIER);
g2d->Write (font, x, y, fg, bg, "This is text");
I'll put this in the documentation.