Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: YotamElal on Sun 20/03/2005 14:07:15

Title: change background color of a standard text box
Post by: YotamElal on Sun 20/03/2005 14:07:15
can I change background color of a standard text box?
Title: Re: change background color of a standard text box
Post by: DoorKnobHandle on Sun 20/03/2005 14:15:07
Yeah, but it is really tricky...

In fact, it is a hidden function in AGS...

It is sooo hidden I can only give you a hint...

Spoiler
Err... MANUAL!?!?
[close]
Title: Re: change background color of a standard text box
Post by: Ashen on Sun 20/03/2005 14:17:20
Do you mean the 'text box' GUI object?
AFAIK, they're always transparent, so you have to change the background image of the GUI it's on to have the colour you want, where you want it. Or, create a non-clickable button, set its image to a block of the colour you want, and place it 'behind' the text box.

If you meant the white box that pops up on Display() commands, I think you have to use a custom Text Window GUI.
Title: Re: change background color of a standard text box
Post by: YotamElal on Mon 21/03/2005 00:22:36
 ... :
I don't understand why it is hidden & real tricky????
but thnx, the manual did help...

Customized Text Windows! (if you don't want those wierd picture borders just choose a blank image for all of them... :o)

Ashen:
Yes, I ment for Display() & Customized Text Windows in the manual solved my prob... :o)