kodi
Public Member Functions | List of all members
ISliderCallback Class Referenceabstract

Interface class for callback from the slider dialog. More...

#include <ISliderCallback.h>

Inheritance diagram for ISliderCallback:
Inheritance graph
[legend]

Public Member Functions

virtual void OnSliderChange (void *data, CGUISliderControl *slider)=0
 Callback function called whenever the user moves the slider. More...
 

Detailed Description

Interface class for callback from the slider dialog.

Used to pass feedback from the slider dialog to a caller. Users of the slider dialog should derive from this class if they wish to respond to changes in the slider by the user as they happen. OnSliderChange is called in response to the user moving the slider. The caller may then update the text on the slider and update anything that should be changed as the slider is adjusted.

See also
CGUIDialogSlider

Member Function Documentation

◆ OnSliderChange()

virtual void ISliderCallback::OnSliderChange ( void *  data,
CGUISliderControl slider 
)
pure virtual

Callback function called whenever the user moves the slider.

Parameters
datapointer of callbackData
sliderpointer to the slider control

Implemented in CGUIControlButtonSetting, KODI::GAME::CDialogGameVolume, and CPlayerController.


The documentation for this class was generated from the following file: