[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gschem ignoring -s?



On Friday 16 January 2009 17:56:56 Peter Clifton wrote:
> On Fri, 2009-01-16 at 12:31 -0500, DJ Delorie wrote:
> > Executing guile script [./print.scm]
> >
> > In unknown file:
> >    ?: 0* [primitive-load "/envy/dj/geda/share/gEDA/gschem-lightbg"]
> > In /envy/dj/geda/share/gEDA/gschem-lightbg:
> >   60: 1* (background-color 0 "grey94" "null" "1 1 1")
> >
> > /envy/dj/geda/share/gEDA/gschem-lightbg:59:0: Unbound variable:
> > background-color
>
> All the shiped colour maps have been converted to the new syntax, for
> example:
>
> $PREFIX/share/gEDA/gschem-colormap-lightbg
>
> (display-color-map
>  '((background         "#f0f0f0")
>    (pin                "#000000")
>     .....
>

You can also use a partial colour map, for instance:

  (display-color-map '((background "#ff0000")))

This will only change the background colour and leave the others unmodified.

You can disable colours entirely:

  (display-color-map '((pin  #f)))   ; Note this is 'false', *not* a string 

Eventually this will mean that items of that colour won't get drawn, modulo 
common sense.

                                 Peter


-- 
Peter Brett

Electronic Systems Engineer
Integral Informatics Ltd

Attachment: signature.asc
Description: This is a digitally signed message part.


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user