View Full Version : HoverOver text hi-light colour
Sorcerer
October 27th, 2010, 19:57
Is there any way to change the colour of the hi-light used when hovering over
attack/damage fields?
The standard is a transparent white... and if you have a white text field you can't see the hi-light.
Sometimes (quite often actually) if the attack and damage fields are close together this means when i try to roll damage I actually roll to attack again.
This is getting quite annoying, but I don't want to have to change the text field colour if I can help it.
Moon Wizard
October 27th, 2010, 22:11
I assume that you are talking about a specific ruleset. By default in FG, hovering over a text field does not do any highlighting. Can you also give me the sheet and fields that you are referring to?
Thanks,
JPG
Sorcerer
October 27th, 2010, 22:35
Hi Moon,
I guess my description was not very clear - or you were thinking it was more complicated that it really is.
you should be able to see what I'm on about from the screen shots.
in the 1st pic you see the white 'hi-light' clearly around the longsword attack.
in the 2nd pic you can see the npc window of C&C. but the attack field is white so you can't tell if its the weapon or the damage that is currently highlighted.
i would simply like to change the hover colour to something abit more visible over the white background. - if this is even possible.
Moon Wizard
October 28th, 2010, 17:01
Yes, it can be changed. However, it does require changing the ruleset.
There is a "selectioncolor" tag that can be set for each stringcontrol/stringfield.
It looks like the NPCs in C&C (adventure_npcs.xml) use a template for the string fields called "columnstringfield". The template, located in common_templates.xml, currently has a selection color value of 90FFFFFF, which is a slightly transparent white. (i.e. not a good color for a white background frame.)
The selection color is an ARGB value, where A controls the alpha channel (transparency), and RGB controls the color.
It looks like the selection color was not changed from the d20 base ruleset which the C&C ruleset used as a starting template.
Is that what you were looking for?
Cheers,
JPG
Sorcerer
October 28th, 2010, 17:24
yes many thanks, thats exactly what I wanted!
I have searched all over for that. without success.
I was on the point of playing with the setcolor command to change the colour of the hovered over text instead of hi-lighting it, but this should make my job alot easier.
As you have probably guessed (since the C&C ruleset does not have any attack rolls from npc sheets) I am currently adding double click attack and damage rolls to the ruleset. It was OK in the combat tracker and the character sheets which also has a dark backgrounds, but most other fields in C&C are white...
I guess thats a beer I owe you!
Sorcerer
October 28th, 2010, 18:27
Just thought I'd show you the finished result..
I can't believe how long I spent looking for that control last night.
and now you have shown me where it was it has taken me about 5 minutes to find a colour that works...
thanks again
Sorcerer
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.