[BTS] How to get tech chooser to have era colored tiles?

In Platyping's UI he has code to colour the technologies by Era no matter how many eras you have. In the file CvTechChooser
Code:
    ## Era Colours ##
                iColor = Info.getEra() * 255 / gc.getNumEraInfos()
                screen.setPanelColor(szTechRecord, iColor*5, (255 - iColor)/2, iColor)
    ## Era Colours ##

I have always wanted to provide something that allowed you to select the colours to suit yourself, probably because I worked with people who had both types of colour blindness.

I think he went part way to allowing you to set some of the colours but that may have been in a prototype.
 
Platy was very gifted with Python..definitely will be missed.

What I have going with my tech chooser is there is the tech panel, and a "Shadow" with the era color behind it. Instead I'd like the panel itself to be the color, without the "shadow". Could this be a theme thing? Is there a thing in themes that would do this?
 
Back
Top Bottom