Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Interface class for callback from the slider dialog. More...
#include <ISliderCallback.h>
Public Member Functions | |
virtual | ~ISliderCallback ()=default |
virtual void | OnSliderChange (void *data, CGUISliderControl *slider)=0 |
Callback function called whenever the user moves the slider. | |
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.
|
virtualdefault |
|
pure virtual |
Callback function called whenever the user moves the slider.
data | pointer of callbackData |
slider | pointer to the slider control |
Implemented in CGUIControlButtonSetting, CPlayerController, and KODI::GAME::CDialogGameVolume.