• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Botton glow help please!

Initiate Mage
Joined
Feb 15, 2015
Messages
3
Reaction score
0
Hi,
I'm editing an interface, and wanted to know how the color of this green glow changes.

TG5Pst0 - Botton glow help please! - RaGEZONE Forums


Thanks for the help!
 

Attachments

You must be registered for see attachments list
Experienced Elementalist
Joined
Oct 14, 2015
Messages
293
Reaction score
86
Find interface
Interface/default/button_glow.png
 
Upvote 0
Initiate Mage
Joined
Feb 15, 2015
Messages
3
Reaction score
0
Find interface
Interface/default/button_glow.png

both are already edited but still the same color, so I came here to ask for help.
Y3BIIqK - Botton glow help please! - RaGEZONE Forums




Thats just a mask not the actual glow.
I've already looked at all the interface items but I do not think so, do you know where it is?
 

Attachments

You must be registered for see attachments list
Upvote 0
Junior Spellweaver
Joined
Jun 14, 2015
Messages
123
Reaction score
20
At lines 109 and 244 in ZButton.cpp, there is the line

Code:
DWORD defaultcolor = GetType()==MBT_NORMAL ? 0x20ff20 : 0xc0c020;

which contains a color value by which the button_glow.png bitmap texture colors are modulated. You can change it to another color, e.g.

Code:
DWORD defaultcolor = GetType()==MBT_NORMAL ? 0x0000ff : 0xc0c020;

would allow only blue light for normal buttons, and

Code:
DWORD defaultcolor = GetType()==MBT_NORMAL ? 0xffffff : 0xc0c020;

would pass the color through unmodified.
 
Upvote 0
Initiate Mage
Joined
Feb 15, 2015
Messages
3
Reaction score
0
At lines 109 and 244 in ZButton.cpp, there is the line

Code:
DWORD defaultcolor = GetType()==MBT_NORMAL ? 0x20ff20 : 0xc0c020;

which contains a color value by which the button_glow.png bitmap texture colors are modulated. You can change it to another color, e.g.

Code:
DWORD defaultcolor = GetType()==MBT_NORMAL ? 0x0000ff : 0xc0c020;

would allow only blue light for normal buttons, and

Code:
DWORD defaultcolor = GetType()==MBT_NORMAL ? 0xffffff : 0xc0c020;

would pass the color through unmodified.
Thanks a lot for the help!
 
Upvote 0
Back
Top