Contents

init

Initializes a slider control.

Declaration

virtual bool init(IOUserVideoDriver *in_driver, bool in_is_settable, uint32_t in_control_value, IOUserVideoSliderRange in_range, IOUserVideoObjectPropertyElement in_control_element, IOUserVideoObjectPropertyScope in_control_scope, IOUserVideoClassID in_control_class_id);

Parameters

  • in_driver:

    The IOUserVideoDriver that owns this object.

  • in_is_settable:

    A Boolean value indicating if the control value can be set

  • in_control_value:

    A uint32_t for the control’s current slider value

  • in_range:

    The IOUserVideoSliderRange for control

  • in_control_element:

    The IOUserVideoObjectPropertyElement for the control

  • in_control_scope:

    The IOUserVideoObjectPropertyScope for the control

  • in_control_class_id:

    The IOUserVideoClassID of the control

Return Value

True on success.

See Also

Creating a slider control