SUGGESTION: Changing GUI color.

Started by Ubel, Sun 23/10/2005 09:12:12

Previous topic - Next topic

Ubel

I didn't find any function that would allow you to change GUI border and/or GUI background color from the global script. This would be a very useful feature to have.

Also, if there is one but I just didn't find it, please tell me.

Thank you.

Pumaman


Kinoko

I'd find that one useful too. Good call.

monkey0506

#3
I think something like:

int GUI.BorderColor
int GUI.BackgroundColor
int GUI.SetBorderColor(int red, int green, int blue)
int GUI.SetBackgroundColor(int red, int green, int blue)

Provided that GUI.BorderColor and GUI.BackgroundColor aren't readonly, the user could set them manually, or with the RGB values using the functions.  That way if the user knows the exact value, they don't have to look up the RGB values, and vice-versa.

[EDIT:]

I changed the return type of the functions to int so that it could return the exact value, in case the user needs it.  Of course, this is just my speculation. :=


SMF spam blocked by CleanTalk