delorie.com/archives/browse.cgi | search |
On Sun, 10 Apr 2016, Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: >>> Well not right now, if I get enough time and could figure ut something useful I will however send you the files. >> >> If you get to it, please note that the file format has changed in >> pcb-rnd. Best to start from trunk/src/pcb-menu-gtk.lht. >> >> If anyone wants to join, please contact me so we can work out the >> most comfortable way of cooperation. > > I have looked at it and one the thing I want to try is move layer toggle layer visibility from "CTRL+1" to pressing "1" then layer is selected. I can't find neither where CTRL+1 is implemented or if this is possible. Good point - those were hardwired key bindings in both the gtk and the lesstif HID. I had a plan to change this since I first met them. I got to do it probably around the same time you wrote your mail this morning. If you svn up trunk/, you'll see that all the ToggleView() and SelectLayer() actions are now explicitly listed in the menu .lht files. As far as I can tell I removed all hardwired keys from the HID code. There are some keys still handled by lower layers, like in the gtk HID if you press F10 the menu pops up before the HID code has any chance to deal with the key press. Regards, Igor2
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |