[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-user: What is the standard of gEDA tools and PCB



DJ Delorie wrote:
>>How?
>>In the source code? Can you explain me where?
> 
> 
> in pcb-1.6.3p/src/menu.c, search for "SetValue,Zoom,1" and change the source
> to look like this:
> 
> 	{ "line", NULL, NULL, NULL, NULL },
> 	{ "header", "zoom setting", NULL, NULL, NULL },
> 	{ "zoom25", "4 : 1 ", CB_Position, "SetValue,Zoom,-2", NULL },
> 	{ "zoom5", "2 : 1 ", CB_Position, "SetValue,Zoom,-1", NULL },
> 	{ "zoom1", "1 : 1 ", CB_Position, "SetValue,Zoom,0", NULL },
> 	{ "zoom2", "1 : 2 ", CB_Position, "SetValue,Zoom,1", NULL },
> 	{ "zoom4", "1 : 4 ", CB_Position, "SetValue,Zoom,2", NULL },
> 	{ "zoom8", "1 : 8 ", CB_Position, "SetValue,Zoom,3", NULL },
> 	{ "zoom16", "1 :16 ", CB_Position, "SetValue,Zoom,4", NULL },
> 	{ "line", NULL, NULL, NULL, NULL },
> 
> I don't know about newer PCB's but I suspect it will be the same.

another feature request, pretty simple to implement and good for both 
efficiency and intuitivity: zoom in/out using the scroll wheel...

(take a look on gerbv and/or Eagle for an example)

Holger