Gooey GUI Library
Loading...
Searching...
No Matches
gooey_slider.h
Go to the documentation of this file.
1
#ifndef GOOEY_SLIDER_H
2
#define GOOEY_SLIDER_H
3
4
#include "common/gooey_common.h"
5
#include <stdbool.h>
6
24
GooeySlider *
GooeySlider_Create
(
int
x,
int
y,
int
width,
25
long
min_value,
long
max_value,
bool
show_hints,
26
void
(*callback)(
long
value));
27
38
long
GooeySlider_GetValue
(GooeySlider *slider);
39
49
void
GooeySlider_SetValue
(GooeySlider *slider,
long
value);
50
51
52
#endif
/* GOOEY_SLIDER_H */
GooeySlider_SetValue
void GooeySlider_SetValue(GooeySlider *slider, long value)
Sets the value of the slider.
GooeySlider_Create
GooeySlider * GooeySlider_Create(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.
GooeySlider_GetValue
long GooeySlider_GetValue(GooeySlider *slider)
Gets the current value of the slider.
include
widgets
gooey_slider.h
Generated by
1.9.8