4#include "core/gooey_backend_internal.h"
5#include "gooey_event_internal.h"
21 long min_value,
long max_value,
bool show_hints,
22 void (*callback)(
long value));
void GooeySlider_Draw(GooeyWindow *window)
void GooeySlider_SetValue(GooeySlider *slider, long value)
Sets the value of the slider.
GooeySlider * GooeySlider_Add(GooeyWindow *win, int x, int y, int width, long min_value, long max_value, bool show_hints, void(*callback)(long value))
Adds a slider to the window.
bool GooeySlider_HandleDrag(GooeyWindow *win, GooeyEvent *event)
Handles slider drag events.
long GooeySlider_GetValue(GooeySlider *slider)
Gets the current value of the slider.