summaryrefslogtreecommitdiff
path: root/src/c_fl_valuator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_valuator.h')
-rw-r--r--src/c_fl_valuator.h25
1 files changed, 9 insertions, 16 deletions
diff --git a/src/c_fl_valuator.h b/src/c_fl_valuator.h
index 7bbb831..e3c6959 100644
--- a/src/c_fl_valuator.h
+++ b/src/c_fl_valuator.h
@@ -8,39 +8,26 @@
#define FL_VALUATOR_GUARD
-
-
typedef void* VALUATOR;
-
-
-extern "C" void valuator_set_draw_hook(VALUATOR v, void * d);
-extern "C" void valuator_set_handle_hook(VALUATOR v, void * h);
-extern "C" int fl_valuator_handle(VALUATOR v, int e);
-
-
-
-
extern "C" VALUATOR new_fl_valuator(int x, int y, int w, int h, char* label);
extern "C" void free_fl_valuator(VALUATOR v);
-
-
extern "C" double fl_valuator_clamp(VALUATOR v, double a);
extern "C" double fl_valuator_round(VALUATOR v, double a);
extern "C" double fl_valuator_increment(VALUATOR v, double a, int s);
-
-
extern "C" double fl_valuator_get_minimum(VALUATOR v);
extern "C" void fl_valuator_set_minimum(VALUATOR v, double t);
extern "C" double fl_valuator_get_maximum(VALUATOR v);
extern "C" void fl_valuator_set_maximum(VALUATOR v, double t);
extern "C" double fl_valuator_get_step(VALUATOR v);
-extern "C" void fl_valuator_set_step(VALUATOR v, double t);
+extern "C" void fl_valuator_set_step_top(VALUATOR v, double t);
+extern "C" void fl_valuator_set_step_bottom(VALUATOR v, int b);
+extern "C" void fl_valuator_set_step(VALUATOR v, double t, int b);
extern "C" double fl_valuator_get_value(VALUATOR v);
extern "C" void fl_valuator_set_value(VALUATOR v, double t);
extern "C" void fl_valuator_bounds(VALUATOR v, double a, double b);
@@ -48,5 +35,11 @@ extern "C" void fl_valuator_precision(VALUATOR v, int s);
extern "C" void fl_valuator_range(VALUATOR v, double a, double b);
+extern "C" void fl_valuator_value_damage(VALUATOR v);
+extern "C" void fl_valuator_draw(VALUATOR v);
+extern "C" int fl_valuator_handle(VALUATOR v, int e);
+
+
#endif
+