-
Notifications
You must be signed in to change notification settings - Fork 0
class_range
reduz edited this page Feb 23, 2014
·
10 revisions
Inherits: Control\n\n
Abstract base class for range-based controls.
- real get_val ( ) const
- real get_value ( ) const
- real get_min ( ) const
- real get_max ( ) const
- real get_step ( ) const
- real get_page ( ) const
- real get_unit_value ( ) const
- bool get_rounded_values ( ) const
- void set_val ( real value )
- void set_value ( real value )
- void set_min ( real minimum )
- void set_max ( real maximum )
- void set_step ( real step )
- void set_page ( real pagesize )
- void set_unit_value ( real value )
- void set_rounded_values ( bool arg0 )
- void set_exp_unit_value ( bool enabled )
- bool is_unit_value_exp ( ) const
- void share ( Object with )
- void unshare ( )
- value_changed ( real value )
- changed ( )
Range is a base class for control nodes that change a floating point //value// between a need a //minimum//, //maximum//, using //step// and //page//, for example a scrollbar.
- real get_unit_value ( ) const \ Return value mapped to 0 to 1 (unit) range.
- void set_page ( real pagesize ) \ Set page size. Page is mainly used for scrollbars or anything that controls text scrolling.
- void set_unit_value ( real value ) \ Set value mapped to 0 to 1 (unit) range, it will then be converted to the actual value within min and max.