summaryrefslogtreecommitdiff
path: root/src/c_fl_counter.h
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2018-04-20 02:24:26 +1000
committerJed Barber <jjbarber@y7mail.com>2018-04-20 02:24:26 +1000
commit5c1f074e4db5d2e701011c60cc3e6f486fb2ecf4 (patch)
tree64a2d0ba7710174705b008112b73f39bf4324de0 /src/c_fl_counter.h
parentae82edc42a3c93c400775b314b65a8662f181b67 (diff)
Polishing some Valuators
Diffstat (limited to 'src/c_fl_counter.h')
-rw-r--r--src/c_fl_counter.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/c_fl_counter.h b/src/c_fl_counter.h
index 97e7a50..b4a8031 100644
--- a/src/c_fl_counter.h
+++ b/src/c_fl_counter.h
@@ -11,31 +11,31 @@ typedef void* COUNTER;
-extern "C" void counter_set_draw_hook(COUNTER c, void * d);
-extern "C" void fl_counter_draw(COUNTER c);
-extern "C" void counter_set_handle_hook(COUNTER c, void * h);
-extern "C" int fl_counter_handle(COUNTER c, int e);
+extern "C" inline void counter_set_draw_hook(COUNTER c, void * d);
+extern "C" inline void fl_counter_draw(COUNTER c);
+extern "C" inline void counter_set_handle_hook(COUNTER c, void * h);
+extern "C" inline int fl_counter_handle(COUNTER c, int e);
-extern "C" COUNTER new_fl_counter(int x, int y, int w, int h, char* label);
-extern "C" void free_fl_counter(COUNTER c);
+extern "C" inline COUNTER new_fl_counter(int x, int y, int w, int h, char* label);
+extern "C" inline void free_fl_counter(COUNTER c);
-extern "C" double fl_counter_get_step(COUNTER c);
-extern "C" void fl_counter_set_step(COUNTER c, double t);
-extern "C" void fl_counter_set_lstep(COUNTER c, double t);
+extern "C" inline double fl_counter_get_step(COUNTER c);
+extern "C" inline void fl_counter_set_step(COUNTER c, double t);
+extern "C" inline void fl_counter_set_lstep(COUNTER c, double t);
-extern "C" unsigned int fl_counter_get_textcolor(COUNTER c);
-extern "C" void fl_counter_set_textcolor(COUNTER c, unsigned int t);
-extern "C" int fl_counter_get_textfont(COUNTER c);
-extern "C" void fl_counter_set_textfont(COUNTER c, int t);
-extern "C" int fl_counter_get_textsize(COUNTER c);
-extern "C" void fl_counter_set_textsize(COUNTER c, int t);
+extern "C" inline unsigned int fl_counter_get_textcolor(COUNTER c);
+extern "C" inline void fl_counter_set_textcolor(COUNTER c, unsigned int t);
+extern "C" inline int fl_counter_get_textfont(COUNTER c);
+extern "C" inline void fl_counter_set_textfont(COUNTER c, int t);
+extern "C" inline int fl_counter_get_textsize(COUNTER c);
+extern "C" inline void fl_counter_set_textsize(COUNTER c, int t);
#endif