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

Re: gEDA: private colormap for pcb?



DJ Delorie wrote:
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.



do I just add to lesstif_options to hook in the "-install" command line switch or should I put this somewhere like Settings.PrivateColormap and add to src/main.c?

I have the colormap code working just not the little logic which says when to use a private colormap.

Thanks
-Dan