[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA: private colormap for pcb?
> any idea what we'd need to do to support a private colormap (a la
> -install for mozilla) in the lesstif and gtk HID versions of the PCB?
For lesstif, you should be able to just allocate a private colormap in
lesstif_parse_arguments() and XtSetValues it into the first widget created
by XtAppInitialize.
Or you could defer it until lesstif_do_export and assign it there.
Avoiding the psychedelic flashing color palettes is a much harder
problem.
Are we really using that many colors in the lesstif hid?
Another option is adding a "find closest color" feature to the color
allocator. That will at least cover the colors used by the circuit
board itself.