info-inventor
[Top] [All Lists]

Re: Patches; how do I commit them?

To: "Saunders, Brett" <bsaunders@xxxxxxxxxxx>
Subject: Re: Patches; how do I commit them?
From: Nico Schmidt <Nico.Schmidt@xxxxxxxxxx>
Date: Sun, 24 Feb 2002 19:15:04 +0100
Cc: info-inventor@xxxxxxxxxxx
In-reply-to: <E7BFB7713F29D511B51100508BE8258919194C@xxxxxxxxxxxxxxxxxxxxxxx>; from bsaunders@xxxxxxxxxxx on Fri, Feb 15, 2002 at 10:24:53AM -0000
References: <E7BFB7713F29D511B51100508BE8258919194C@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-inventor@xxxxxxxxxxx
On Fri, Feb 15, 2002 at 10:24:53AM -0000, Saunders, Brett wrote:
> Hi There,
> 
>   I've made a couple of changes to OIV, and am wondering two things:
>     1) Are they worth commiting to the source base?
>     2) How do I commit them?
> 
>   These are the things I've changed:
>     * I've added mouse wheel support to the wheel widgets in SoXt.  This
> allows a user to place the mouse over a wheel widget and use the mouse wheel
> to move them.
>     * I've modified SoXtExaminerViewer so that the mouse wheel zooms the
> camera in.  This is great in ivview.
>     * I've modified SoTexture2 so that it loads tiff images.  I did this so
> that I could load alpha-channel textures.
> 
>       -Brett

Hi Brett,
I implemented wheel mouse support about a year ago and posted some patches to
this list. But by the time there wasn't so much response. I discussed the 
thing with Jonathan back then ( search the list for "wheel"). Maybe you want
to have a look at the stuff. It's available at:

http://gurke.ipk.fhg.de/~nschmidt/OpenInventor/

You will find a Node that uses the new SoMouseWheelEvent, the SgThumbWheel
using the wheel event, and the SoXtExaminerViewer zooming in and out on
wheel events. I introduced an X resource to SgThumbWheel called wheelDelta,
so you can specify the amount the value changes each step.

Tell me what you think. Maybe we should promote it once again.

Have fun,
Nico

<Prev in Thread] Current Thread [Next in Thread>