Just a weird logic thing

Started by Timosity, Fri 02/05/2003 17:41:31

Previous topic - Next topic

Timosity

I worked it out, but it was frustrating me for hours.

(Font colour in a text window after using a Display("");)

I had made my own text window GUI and I couldn't find in the manual or in the forums how to change the font colour.

As it turns out you change it by setting the foreground, I guess text is in the foreground but from the image it looks like it's refering to the outline of the text box (which it is in the other gui's)

It's just a strange thing that bugged me, maybe this should be a little clearer, or atleast mentioned in the manual when searching for font or text colour.

Jimi

I found this if it's any help:

QuoteSetLabelColor
SetLabelColor (int gui, int object, int color)

Changes the text colour of label OBJECT on gui GUI to COLOR.
Example:

SetLabelColor(4,3,14);

will change label 3 on GUI 4 to have yellow text.

Ben

Advice to Jimi: Read the whole post before replying  ;)

Pumaman

Jimi, I'm sure we all appreciate your enthusiasm, but would you please read posts properly before you reply to them - in this case you'd know that Timosity has already solved his problem.

Timosity: good point, thanks - I'll add that to the Custom Text Windows section of the manual.

Jimi

Sorry, I read the whole post, I just mis-enterprited it.  :-[


SMF spam blocked by CleanTalk