info-inventor-dev
[Top] [All Lists]

Re: ThumbWheel supporting wheel mouse

To: Nico.Schmidt@xxxxxxxxxx (Nico Schmidt)
Subject: Re: ThumbWheel supporting wheel mouse
From: jlim@xxxxxxxxxxxxxxxxxxxx (Jonathan Lim)
Date: Tue, 12 Sep 2000 12:55:38 -0700 (PDT)
Cc: info-inventor-dev@xxxxxxxxxxx
In-reply-to: <20000911215111.A395226@xxxxxxxxxxxxxxxxxx> from "Nico Schmidt" at Sep 11, 2000 09:51:11 PM
Sender: owner-info-inventor-dev@xxxxxxxxxxx
On Mon Sep 11 12:51:11 2000, Nico.Schmidt@xxxxxxxxxx wrote:
> 
> Hi,
> I have added some lines of code to the ThumbWheel widget to support wheel
> events which are mapped to Button 4 & 5. It's kind of static in this sense
> but it's a first shot and just nice :-). Anyone interested ?
> 
> patch inventor/libSoXt/src/viewers/Sgm/ThumbWheel.c thumbwheel.patch

Looks reasonable, but as I thought about the possibility of adding a resource
to specify the number that user_pixels changes by (rather than the hardcoded
10), I noticed that it would require changing the SgThumbWheelPart structure.
I'm wondering if this will cause compatibility problems (doesn't seem like it
would, because the application only sees it as a generic Widget type).


              Jonathan Lim  _  Silicon Graphics  _  Mountain View
              GPS Graphics     Computer Systems        CA, USA

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