[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: PCB increment settings/keystrokes
Hi all,
I've been working on this this evening, and now patch #2780125 is
submitted to the sourceforge.net patch list.
The patch shows a new +pref/-pref 'delta' value to be accepted by a
few actions where it makes sense in order to support the preferences
in the 'Increments' section of the preferences dialog. It changes the
gpcb-menu.res file to use this new +pref/-pref delta for all of the
increments/decrements listed in that section of the preferences dialog
as well.
The updated entries to gpcb-menu.res in the patch look like this:
{"Grid decrement" SetValue(Grid,-pref) a={"Shift-G" "Shift<Key>g"}}
{"Grid increment" SetValue(Grid,+pref) a={"G" "<Key>g"}}
...
{"Clear Object increment" a={"K" "<Key>k"} ChangeClearSize(Object,
+pref)}
{"Clear Object decrement" a={"Shift-K" "Shift<Key>k"}
ChangeClearSize(Object,-pref)}
{"Clear Selected increment" a={"Ctrl-K" "Ctrl<Key>k"}
ChangeClearSize(SelectedObjects,+pref)}
{"Clear Selected decrement" a={"Shift-Ctrl-K" "Shift Ctrl<Key>k"}
ChangeClearSize(SelectedObjects,-pref)}
{"Linesize increment" a={"L" "<Key>l"} SetValue(LineSize,+pref)}
{"Linesize decrement" a={"Shift-L" "Shift<Key>l"}
SetValue(LineSize,-pref)}
...
{"ChangeSize increment" a={"S" "<Key>s"} ChangeSize(Object,+pref)}
{"ChangeSize decrement" a={"Shift-S" "Shift<Key>s"}
ChangeSize(Object,-pref)}
{"ChangeDrill increment" a={"Alt-S" "Alt<Key>s"}
ChangeDrillSize(Object,+pref)}
{"ChangeDrill decrement" a={"Alt-Shift-S" "Alt Shift<Key>s"}
ChangeDrillSize(Object,-pref)}
I tested using the existing gpcb-menu.res file with all of the
increments/decrement keystrokes set as +5,mil or -5,mil to make sure
that behaviour wasn't broken.
My old keystrokes work again with the preferences respected, huzzah!
Best,
- Alex
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user