diff options
author | Jed Barber <jjbarber@y7mail.com> | 2018-03-03 17:17:54 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2018-03-03 17:17:54 +1100 |
commit | 098c61c36dfc274a891ef90db2cb46b473c5fde3 (patch) | |
tree | a2c9eaf93f6c6562f9475808046ad715462787ec /src/c_fl_dial.h | |
parent | 216a255f32ba6378dde8dd8f9a22adf46d25bfbf (diff) |
Added FLTK.Widgets.Valuators.Dials
Diffstat (limited to 'src/c_fl_dial.h')
-rw-r--r-- | src/c_fl_dial.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/c_fl_dial.h b/src/c_fl_dial.h new file mode 100644 index 0000000..888dcca --- /dev/null +++ b/src/c_fl_dial.h @@ -0,0 +1,36 @@ + + +#ifndef FL_DIAL_GUARD +#define FL_DIAL_GUARD + + + + +typedef void* DIAL; + + + + +extern "C" void dial_set_draw_hook(DIAL v, void * d); +extern "C" void fl_dial_draw(DIAL v); +extern "C" void dial_set_handle_hook(DIAL v, void * h); +extern "C" int fl_dial_handle(DIAL v, int e); + + + + +extern "C" DIAL new_fl_dial(int x, int y, int w, int h, char* label); +extern "C" void free_fl_dial(DIAL v); + + + + +extern "C" int fl_dial_get_angle1(DIAL v); +extern "C" void fl_dial_set_angle1(DIAL v, int t); +extern "C" int fl_dial_get_angle2(DIAL v); +extern "C" void fl_dial_set_angle2(DIAL v, int t); +extern "C" void fl_dial_set_angles(DIAL v, int a, int b); + + +#endif + |