[Bf-committers] Mouse wheel for X11

Martin Vollrathson bf-committers@blender.org
Wed, 29 Jan 2003 02:09:37 +0100


Chris Want wrote:
> 
> My sincere apologies Martin -- after Rob's commits last
> night your patch works great here for zooming, etc.

Thanks. But before anyone commits my patch to cvs I should probably 
point out that if there is now an option for how many lines the wheel 
should scroll, the values 3 and -3 passed to GHOST_EventWheel() in my 
patch should most likely be changed to 1 and -1.

/ Martin

> 
> Cheers,
> Chris
> 
> 
> Martin Vollrathson wrote:
> 
>> Chris Want wrote:
>>
>>>
>>>> It's not very pretty but I think I needed that in order to jump out 
>>>> from case ButtonPress before entering ButtonRelease if either of 
>>>> buttons 4 and 5 were pressed.
>>>>
>>>> Like I said, it's not very pretty and someone else, being less tired 
>>>> and confused, could probably improve it.
>>>
>>>
>>>
>>>
>>> OK -- I see that extra 'break' now, sorry about that (I need sleep too!)
>>>
>>> Unfortunately,  when I operate the mousewheel in the 3D Window
>>> it doesn't zoom after applying the patch -- anybody else try this?
>>
>>
>>
>> No zoom here either. Since it works in the text editor and the file 
>> list, I doubt the missing wheel zoom is X11-specific.
>>
>>>
>>> Regards,
>>> Chris
>>>
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers@blender.org
>>> http://www.blender.org/mailman/listinfo/bf-committers
>>>
>>>
>>
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers@blender.org
>> http://www.blender.org/mailman/listinfo/bf-committers
> 
> 
> 
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers
> 
>