Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ISliderCallback Class Referenceabstract

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

#include <ISliderCallback.h>

Inheritance diagram for ISliderCallback:
CGUIControlButtonSetting CPlayerController KODI::GAME::CDialogGameVolume

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ ~ISliderCallback()

virtual ISliderCallback::~ISliderCallback ( )
virtualdefault

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 KODI::GAME::CDialogGameVolume, CGUIControlButtonSetting, and CPlayerController.


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