← Back to team overview

kicad-developers team mailing list archive

Re: SCH_PAINTER object question

 

Bummer!  I was hoping to avoid that.  Thanks for the info.

On 10/18/19 1:35 PM, Jeff Young wrote:
> Hi Wayne,
> 
> You’ll have to add it, but there are enough other drawing modes
> (selected, highlighted, etc.) that the code should be factored such that
> adding it is fairly easy.  See SCH_PAINTER::getRenderColor().
> 
> Cheers,
> Jeff.
> 
>> On 18 Oct 2019, at 18:05, Wayne Stambaugh <stambaughw@xxxxxxxxx
>> <mailto:stambaughw@xxxxxxxxx>> wrote:
>>
>> Does anyone know if there is a way to draw a symbol grayed out to appear
>> as though it's disabled (not editable) or am I going to have to write
>> it?  I couldn't find any obvious way to do this but maybe I'm over
>> looking something.  The reason I ask is the new inheritance model will
>> require some major changes to the current library editor design.  I
>> would like to show the flattened symbol (currently the old LIB_ALIAS
>> object along with the LIB_PART that it inherits) but with the editing
>> tools disabled so that you can only edit the child symbol properties
>> rather than the current behavior of always showing the LIB_PART symbol
>> even when one of it's aliases are selected.  The library editor is the
>> last of the changes before I start working on the new symbol library
>> file format.
>>
>> Thanks,
>>
>> Wayne
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
> 


References