Changing Text Window GUI font

Started by Rocco, Tue 14/02/2006 13:25:03

Previous topic - Next topic

Rocco

How do you change the font, on a text diplay box??
there are only Bg-color, BG-Image or Txt-color on the scroll out.
can someone help me out?

Ashen

(At least, I'm assuming you mean a Text Window GUI.)

They use the game's 'Normal Font' (by default 0, I think), so to change it you'll need to call SetNormalFont(..);, with the number of the new font you want. If you want to change it for all through the game, game_start is probably the best place.
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk