Re: gEDA-user: [PCB PATCH] Teaching GTK hid to use mouse resources

2009-06-08 Thread DJ Delorie
Pushed. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

Re: gEDA-user: [PCB PATCH] Teaching GTK hid to use mouse resources

2009-06-08 Thread Jared Casper
On Sun, Jun 7, 2009 at 11:05 AM, DJ Delorie wrote: > Also - could you add support for > the scroll wheel to gpcb-menu.res et al? > patch attached. Jared 0001-Adding-ability-to-customize-mouse-scroll-action-in-G.patch Description: Binary data ___ ged

Re: gEDA-user: [PCB PATCH] Teaching GTK hid to use mouse resources

2009-06-07 Thread DJ Delorie
I've pushed this, thanks! I did have to remove the M_* definitions from the lesstif headers, though. Also - could you add support for the scroll wheel to gpcb-menu.res et al? ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi

Re: gEDA-user: [PCB PATCH] Teaching GTK hid to use mouse resources

2009-06-03 Thread Jared Casper
Thanks Ineiev and Steven for looking at it, attached is a modified patch to address your comments, with replies inlined below. Additional comments are of course always welcome On Mon, Jun 1, 2009 at 11:20 PM, Ineiev wrote: > Nice work. I tried it a little and found only one small shortcoming: >

Re: gEDA-user: [PCB PATCH] Teaching GTK hid to use mouse resources

2009-06-02 Thread DJ Delorie
> I have a 10 button mouse... Woot. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

Re: gEDA-user: [PCB PATCH] Teaching GTK hid to use mouse resources

2009-06-02 Thread Steven Michalske
Looks fantastic, some comments. need to look at gtk code for mod1, and OSX. see patch 1 from http://archives.seul.org/geda/user/May-2009/msg00457.html option (alt) returns 1<<13, not GDK_MOD1_MASK Might want to define a list of modifier masks, and allow for translation in the HIDs You hav

Re: gEDA-user: [PCB PATCH] Teaching GTK hid to use mouse resources

2009-06-01 Thread Ineiev
On 6/2/09, Jared Casper wrote: > I had some free time over the weekend and have been wanting to get my > hands dirty in the PCB code so I took a crack at this and wanted to > get some feedback. [snip] > I've played around with it a bit and it seems to be working, but as > this my first time meddli

gEDA-user: [PCB PATCH] Teaching GTK hid to use mouse resources

2009-06-01 Thread Jared Casper
PCB said: >ghid_load_menus(): Mouse resources are currently ignored by the GTK HID. >Please feel free to submit a patch to implement this! I had some free time over the weekend and have been wanting to get my hands dirty in the PCB code so I took a crack at this and wanted to get some feedback.