← Back to team overview

kicad-developers team mailing list archive

Re: Re: Layer Properties Dialog and limited number of

 

2009/9/8 dioiioib <dioiioib@...>:
>
>> > Yes (for pcbnew).
>> > Pcbnew and Gerbview (but not eeschema) uses the OR mode to draw the
>> > layers on screen (the transparency mode did not exists when i wrote the
>> > code)
>> > I carefully chose the binary values of these colors in order to have
>> > good results in OR mode in screen, to see layers like in tranparency mode.
>>
>
>
> Is there a way to add more colours to this list. When working with more than two layers it would be appreciated if you could pick some colours that were not utilized by other items, under "tech layers" and "other".
>

I am currently looking at this. I don't see why the bit patterns have
to be anything special at the moment, but there is always a good
reason for the code as is. The OR'd result should be correct for all
colours, no matter what their bit pattern is. I need to do some
testing. In the code I think it would be nice to get away from the
colour lookup array and allow people to use a standard colour picker.

Best Regards,

Brian.






Follow ups

References