On Wed, 2010-02-17 at 17:11 +0000, Kai-Martin Knaak wrote: > I just used the before-pours of Peter Cliftons pcb repository for my > current project. A small change in the user interface made a big > difference: Right-mouse-click rotates the object the component under the > mouse clockwise by 90°. This is a big relief during placement. I hope > this feature will make it to the main version! > > ---<(kaimartin)>---
As far as I know, there is no such change on my before_pours branch - and I don't seem to be able to "reproduce" the behaviour on the branch I currently have built (which is after the "before_pours" branch. Perhaps the key-binding has come from somewhere else?, or you have a really really old checkout of my branch? I get right-click as pan when moving objects about. Looks like something was changed in this commit: commit c85fd7cfa63f6a89cb8b9a03dd0002ffdb613729 Author: Jared Casper <[email protected]> Date: Sun Jun 7 13:12:56 2009 -0400 Teaching GTK hid to use mouse resources after (Which is before my "before_pours" branch). The commit message claims to match the mouse resources in gpcb-menu.res to with the old hardcoded behavior of the gtk hid as closely as possible. -- a/src/gpcb-menu.res +++ b/src/gpcb-menu.res @@ -12,23 +12,24 @@ Mouse = { Left = { Mode(Notify) + ctrl = { Mode(Save) Mode(None) Mode(Restore) Mode(Notify) } + shift-ctrl = { Mode(Save) Mode(Remove) Mode(Notify) Mode(Restore) } up = Mode(Release) } Right = { - { Mode(Save) Mode(Rotate) Mode(Notify) Mode(Release) Mode(Restore) } + Pan(1) + up = Pan(0) + shift = Popup(Popup1) ctrl = Display(CycleCrosshair) } Middle = { - Pan(1) - up = Pan(0) - ctrl = Pan(thumb,1) - ctrl-up = Pan(thumb,0) + Mode(Stroke) + up = Mode(Release) + ctrl = { Mode(Save) Mode(Copy) Mode(Notify) } + up-ctrl = { Mode(Notify) Mode(Restore) } + shift-ctrl = { Display(ToggleRubberbandMode) Mode(Save) Mode(Move) Mode(Not + up-shift-ctrl = { Mode(Notify) Mode(Restore) Display(ToggleRubberbandMode) } - Up = Zoom(0.8) - Down = Zoom(1.25) -# If you want zoom to center, do this instead. -#Up = { {Zoom(0.8) Center()} } -#Down = { {Zoom(1.25) Center()} } } MainMenu = Personally, I prefer middle click pan, right click rotate (I think), I'm not even sure I know what the "stroke" mode does. (Or perhaps the other way around). In gschem, when not placing components - middle click drag pans, but when placing components.. middle click rotates by 90. I don't really want to start a debate about what the best keybindings are... just to point out that they are customisable in gpcb-menu.res Best wishes, Peter C. _______________________________________________ geda-user mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

