summaryrefslogtreecommitdiff
path: root/src/c_fl_value_output.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_value_output.h')
-rw-r--r--src/c_fl_value_output.h37
1 files changed, 14 insertions, 23 deletions
diff --git a/src/c_fl_value_output.h b/src/c_fl_value_output.h
index f835674..e333ff8 100644
--- a/src/c_fl_value_output.h
+++ b/src/c_fl_value_output.h
@@ -8,38 +8,29 @@
#define FL_VALUE_OUTPUT_GUARD
+typedef void* VALUEOUTPUT;
-typedef void* VALUE_OUTPUT;
+extern "C" VALUEOUTPUT new_fl_value_output(int x, int y, int w, int h, char* label);
+extern "C" void free_fl_value_output(VALUEOUTPUT a);
+extern "C" int fl_value_output_is_soft(VALUEOUTPUT a);
+extern "C" void fl_value_output_set_soft(VALUEOUTPUT a, int t);
-extern "C" void value_output_set_draw_hook(VALUE_OUTPUT a, void * d);
-extern "C" void fl_value_output_draw(VALUE_OUTPUT a);
-extern "C" void value_output_set_handle_hook(VALUE_OUTPUT a, void * h);
-extern "C" int fl_value_output_handle(VALUE_OUTPUT a, int e);
+extern "C" unsigned int fl_value_output_get_text_color(VALUEOUTPUT v);
+extern "C" void fl_value_output_set_text_color(VALUEOUTPUT v, unsigned int c);
+extern "C" int fl_value_output_get_text_font(VALUEOUTPUT v);
+extern "C" void fl_value_output_set_text_font(VALUEOUTPUT v, int f);
+extern "C" int fl_value_output_get_text_size(VALUEOUTPUT v);
+extern "C" void fl_value_output_set_text_size(VALUEOUTPUT v, int s);
-
-
-extern "C" VALUE_OUTPUT new_fl_value_output(int x, int y, int w, int h, char* label);
-extern "C" void free_fl_value_output(VALUE_OUTPUT a);
-
-
-
-
-extern "C" int fl_value_output_is_soft(VALUE_OUTPUT a);
-extern "C" void fl_value_output_set_soft(VALUE_OUTPUT a, int t);
-
-
-extern "C" unsigned int fl_value_output_get_text_color(VALUE_OUTPUT v);
-extern "C" void fl_value_output_set_text_color(VALUE_OUTPUT v, unsigned int c);
-extern "C" int fl_value_output_get_text_font(VALUE_OUTPUT v);
-extern "C" void fl_value_output_set_text_font(VALUE_OUTPUT v, int f);
-extern "C" int fl_value_output_get_text_size(VALUE_OUTPUT v);
-extern "C" void fl_value_output_set_text_size(VALUE_OUTPUT v, int s);
+extern "C" void fl_value_output_draw(VALUEOUTPUT a);
+extern "C" int fl_value_output_handle(VALUEOUTPUT a, int e);
#endif
+