12 #include "guilib/ISliderCallback.h" 20 bool OnAction(
const CAction &action)
override;
22 void SetModalityType(DialogModalityType type);
36 static void ShowAndGetInput(
const std::string &label,
float value,
float min,
float delta,
float max,
ISliderCallback *callback,
void *callbackData = NULL);
51 void SetSlider(
const std::string &label,
float value,
float min,
float delta,
float max,
ISliderCallback *callback,
void *callbackData);
52 void OnWindowLoaded()
override;
Interface class for callback from the slider dialog.
Definition: ISliderCallback.h:24
Definition: GUIDialogSlider.h:14
static void ShowAndGetInput(const std::string &label, float value, float min, float delta, float max, ISliderCallback *callback, void *callbackData=NULL)
Show the slider dialog and wait for the user to change the value Shows the slider until the user is h...
Definition: GUIDialogSlider.cpp:99
Class encapsulating information regarding a particular user action to be sent to windows and controls...
Definition: Action.h:21
Definition: GUIDialog.h:35
static void Display(int label, float value, float min, float delta, float max, ISliderCallback *callback)
Show the slider dialog as a response to user input Shows the slider with the given values for a short...
Definition: GUIDialogSlider.cpp:113
Definition: GUIMessage.h:365