2 * Copyright (C) 2013-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 class CGUISliderControl
;
14 \brief Interface class for callback from the slider dialog
16 Used to pass feedback from the slider dialog to a caller. Users of the
17 slider dialog should derive from this class if they wish to respond to changes
18 in the slider by the user as they happen. OnSliderChange is called in response
19 to the user moving the slider. The caller may then update the text on the slider
20 and update anything that should be changed as the slider is adjusted.
27 virtual ~ISliderCallback() = default;
30 \brief Callback function called whenever the user moves the slider
32 \param data pointer of callbackData
33 \param slider pointer to the slider control
35 virtual void OnSliderChange(void *data
, CGUISliderControl
*slider
) = 0;