GUI colors
by Richard_H · in Torque Game Engine · 03/09/2006 (4:18 pm) · 11 replies
Can someone please explain what all the different variables in the gui window profiles mean or at least point me to a tutorial?
About the author
#2
03/09/2006 (4:50 pm)
I would actually recommend reading the source code
#3
03/10/2006 (6:47 am)
I'm not good with source code and I couldn't find anything useful in the searchs I've already done.
#4
03/10/2006 (9:33 am)
It's not good netiquette to ask a question before searching for the answer. The problem with this post isn't that Richard didn't use the search feature, because we have no way of knowing if he did or did not. The problem with this post is in C2 breaking netiquette and general etiquette to begin with. In the time it took him to screenshot that bit from the site and post it, he probably could have found an answer for Richard and posted it instead. If you can't be helpful, don't post. Just ignore it.
#5
I'd agree in this case, I always find myself looking at the source code (particularly the console methods) when working with GUI objects
03/10/2006 (10:20 am)
Anthony:I'd agree in this case, I always find myself looking at the source code (particularly the console methods) when working with GUI objects
#6
03/10/2006 (10:59 am)
I attempted to look in the source code, but my knoledge of C++ is very limited so I couldn't even find the variables I'm looking for. All I want is a simple explanation of some of the variables used in gui profiles so I can customize my window. Please, if there is something that explaines this just point it out, or in the private forums, briefly explain how to read the gui source code.
#7
R = Red
G = Green
B = Blue
A = Alpha
03/10/2006 (11:24 am)
Colors are in RGBA format. Ranging from 0 to 1. 1 is full color, 0 is no color.R = Red
G = Green
B = Blue
A = Alpha
#8
03/10/2006 (12:32 pm)
When is this, in the source code? I am looking at the script and colors apear to be from "000 000 000" to "255 255 255". What I would like to know is what all the variables in script mean, like the difference between fillColor, fillColorHL, fillColorNA and exactly where on the window it's filled in. I feel if there isn't a tutorial about this, then it would be benificial to all Torque newcomers (like myself) for someone to write one.
#9
Actually I made that image a while ago, for times like these when a relative newbie approaches the forums and asks a question that a simple search may yield fruitful results.
I was not breaking "netiquette," I was pointing out a useful function that is commonly missed. No where in that single image is a sarcastic or spiteful response, and thus, no reason for you to attack my posting.
Searching the forums/resources/source code is always a great place to find answers.
03/10/2006 (12:55 pm)
@Jonathon:Actually I made that image a while ago, for times like these when a relative newbie approaches the forums and asks a question that a simple search may yield fruitful results.
I was not breaking "netiquette," I was pointing out a useful function that is commonly missed. No where in that single image is a sarcastic or spiteful response, and thus, no reason for you to attack my posting.
Searching the forums/resources/source code is always a great place to find answers.
#10
03/10/2006 (1:12 pm)
As I have already mentioned I have searched the forums with no luck. Also, I would like to reserve this forum for answers to my question only, so please don't post things which I will not find useful.
#11
03/19/2006 (11:19 am)
Go to client\ui\customProfiles.cs and you can edit some rgb values there. If you are not sure what each field is then experiment and then press f1 to view the help window and see what you changed.
Torque Owner Chris Byars
Ion Productions