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

gEDA-user: PCB lesstif pcb-menu.res ideas



The mouse buttons now being pcb-menu.res action choices is truly fine.

Here are a couple of ideas I had:

1. What if already started commands could be modified by user selectable mouse button functions?

	I can see a nice usage for placing vias:

Choose via tool the usual way. Now PCB is ready to act on a left button down event. In comes a scroll wheel event. Now PCB suspends polling the mouse for an instant, and reponding to the new event, changes the
value of ViaDrillingHole up a mil for the up button, or down a mil for
the down button.


But, what about ViaSize? How could a mouse button up/down modifier trigger scrolling up or down in a lookup table of defined pairs of commands like desirable ViaDrillingHole and ViaSize combinations? Sounds like a Scheme/guile/lisp function...

2. 	What if I could launch two commands with one key?  (I think I can..)

	An example that seems useful during footprint creation, and sometimes
	when fixing up power vias, is to execute pairs like
	ChangeDrillSize(SelectedVias, 34,mil) and
	ChangeSize(SelectedVias,78,mil)
with one key.


This line from pcb-menu.res suggests two commands to a key is already there:

{"Lines -10 mil" ChangeSize(SelectedLines,-10,mil) ChangeSize(SelectedArcs,-10,mil)}

I'll try others written that way snd see what happens.


John Griessen


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