← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Refactor LAYER_ID to be the one and only layer definition

 

Hi Lorenzo,

I think this is possible.  I will look in to it.

-Jon

On Wed, Mar 15, 2017 at 3:05 AM, Lorenzo Marcantonio <lomarcan@xxxxxx>
wrote:

> On Tue, Mar 14, 2017 at 07:09:30PM -0400, Jon Evans wrote:
> > Hi Wayne,
> >
> > Please keep in mind that anywhere there is currently int casting and
> bounds
> > checking that deals with colors, will be replaced with type-safe methods
> in
> > an upcoming patch from me.  For those places not dealing with colors, I
> > will see if it can be improved in a future patch.
>
> Thank you thank you thank you
>
> I always had... troubles with the color codes, this would be a great
> improvement.
>
> Also, it is possible to 'prime' the color chooser palette with the old
> colors or is it an OS/platform dependant feature? I'm used to switch
> quickly layer color (to see better things and such) and the RGB chooser
> while more versatile is a little inconvenient. How I am doing it now:
> keep in a corner a bitmap with the old colors and use the dialog color
> picker :D
>
> --
> Lorenzo Marcantonio
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
>

References