This method update the value of "Cur_Value" to reflect a mouse wheel scroll.
Syntax
float Scroll(
int val
) ;
Parameters
val
Number of scroll click.
Return value
return the new value of the Cur_Value variable.
Remarks
The value of "Cur_Value" variable is updated automatically, but not the graphics. You need to call "Adjust" for the graphic to reflect the new value.
The variable Cur_Value will be incremented by "count * Inc" if the variable Inc is not null, otherwise the variable will be increment by 1/50 the range Max_Value-Min_Value for each count.
Requirements
Header:
TomoVision_Util.hpp
TomoVision_Tools.hpp
Library:
TomoVision_Util.lib
TomoVision_Tools.lib
Example
See also