Valuators::Larg_Adjust

 

This method fix the size of the cursor.  It is used when you want the cursor to be proportional to a value.  For example, if you use the valuator to scroll a page, you may want the cursor to be proportional to the ration: display text length / actual text length.

 

 

Syntax

 

void  Larg_Adjust(

          float real,

          float max

) ;

 

 

Parameters

 

real

          Numerator.

 

max

          Denominator.

 

 

Return value

 

This method does not return a value.

 

 

Remarks

 

This method will change the value of the parameter: Curs_Larg with (real/max) * 0.5 if real < max.

 

 

Requirements

 

Header:

          TomoVision_Util.hpp

          TomoVision_Tools.hpp

 

Library:

          TomoVision_Util.lib

          TomoVision_Tools.lib

 

 

Example

 

See the Sliders.Larg_Adjust method.

 

 

See also