gEDA-dev: [pcb] multiple hids in one .so

Igor2 igor2 at inno.bme.hu
Mon Oct 2 09:21:40 EDT 2006


>
>> All callbacks that don't have gc param.
>
>That's what I wanted to avoid.  It's overkill for all the built-in
>hids.
>
>> 1. let's say PCB will never be multithreaded so using global variables in
>> the API is ok (like it uses gui now). In this case the GUI hids should set
>> a global var pointing to the selected HID. I'm not sure this would be a
>> smaller patch but it would look worse :)
>
>It's kinda what we do now, we just don't set gui for exporters until
>after we're in redraw.

Hmm, I couldn't find where the GUI HID sets the exporter HID in a global
variable i could use, could you give me a file:line?




More information about the geda-dev mailing list