[Insight-users] Fltk sliceview KEYUP problem -- solved.

Julien Jomier jjomier@cs.unc.edu
Thu, 30 Jan 2003 22:08:10 -0500


Feng,

This sounds a useful feature to have in the toolkit.
Does this require any modification to FLTK itself ?
If no, could you send me your code so I can add this feature to ITK.

Thanks

Julien

> -----Original Message-----
> From: insight-users-admin@public.kitware.com 
> [mailto:insight-users-admin@public.kitware.com] On Behalf Of Feng Ma
> Sent: Thursday, January 30, 2003 9:15 PM
> To: aylward@unc.edu
> Cc: insight-users@public.kitware.com
> Subject: [Insight-users] Fltk sliceview KEYUP problem -- solved.
> 
> 
> Hi, Aylward:
> 
>   I hacked fltk 1.1 referencing fltk 2.0 and solve the KEYUP 
> problem in 
> fltk. I got the correct KEYUP event in SliceViewer. So, I 
> added in the "fast 
> moving" feature I mentioned a couple of days ago: when ">" or 
> "<" key is 
> pressed for some time, the image will scroll faster than 1 
> slice each time. 
> If the key is released, the moving pace will restore to 1. 
> The reason for 
> that change is: if you hold the key down for a long time, 
> mostly probably 
> you are browing images. So you don't have to view every 
> image. When you 
> found something interesting, release the key, then you can 
> view images more 
> carefully (one slice each key stroke).
> 
>   If you or anyone like to have that, I will email you the 
> code changes I 
> made. Thanks.
> 
> -Feng
> 
> 
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com 
> http://public.kitware.com/mailman/listinfo/ins> ight-users
>