Bridge Commander Central

BC Forums => BC Scripting => Topic started by: hjenterprises on March 31, 2009, 04:05:04 PM

Title: UMM Color?!
Post by: hjenterprises on March 31, 2009, 04:05:04 PM
Does anyone know what file(s) to change the color to the Unified Main Menu or the Boarders in QB?
Title: Re: UMM Color?!
Post by: MLeo on March 31, 2009, 05:45:39 PM
It's not UMM (or QB) specific (not yet anyway).

But take a look at the various GUI mods, they all alter loadinterface.py which has a method called "SetupColors" (or something like that).
Title: Re: UMM Color?!
Post by: hjenterprises on April 06, 2009, 10:55:43 PM
And do you know an easier way to figure out how to know what codes make what color? or do I just have  to keep messin with them.
Title: Re: UMM Color?!
Post by: MLeo on April 07, 2009, 03:43:22 AM
It's the SetupColors function, I find the names of the colours (all starting with App.g_k) pretty descriptive.

But you are right, you will have to keep trying. But in the end you will find the logic in them (get insight to).
Title: Re: UMM Color?!
Post by: hjenterprises on April 07, 2009, 09:01:12 AM
thanks it takes time but I got it figure out enough to get what I want.
Title: Re: UMM Color?!
Post by: ACES_HIGH on April 07, 2009, 12:18:35 PM
you can also pick colors with the custom color palette in paint or any other image editing software, the palette will usually tell you the RGB values of any given color, those can be transposed into the code.
Title: Re: UMM Color?!
Post by: MLeo on April 07, 2009, 12:53:49 PM
I think the main problem is/was that the names may seem a bit odd when you first look at them, you don't know where they might go.
Title: Re: UMM Color?!
Post by: MLeo on April 20, 2009, 02:34:58 PM
This can now be (more easily) done with ChameleonBC, early access at this forum (it's not entirely done yet).