I'm looking at fixing the following bug:
http://www.vassalengine.org/tracker/sho ... i?id=13307
that effects Text Labels for game pieces that use transparency. I've attempted to dig through the VASSAL engine java code for the very first time and it's deep and wide, so if anyone could point me in the right direction I'd be grateful.
What class reads in the data from color-picker and stores it in the game piece object?
I've tried modify the text file for the module (buildfile) to insert a transparency directly in the text to see if it renders correctly - but it doesn't.
Here is an example piece:
- Code: Select all
<VASSAL.build.module.PrototypeDefinition name="test">+/null/label;;Change Label;10;0,0,0;190,190,190;t;0;c;0;b;c;$pieceName$ ($label$);Dialog;0;0;TextLabel;test piece;;;;/test null;263;6;;0</VASSAL.build.module.PrototypeDefinition>
There are only three integers stored for foreground (0,0,0) and background (190,190,190). Whatever serializer is being used is throwing away the transparency info.
Thanks for any guidance! Cheers, jas...