diff options
-rw-r--r-- | progress.txt | 2 | ||||
-rw-r--r-- | src/c_fl_valuator.cpp | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/progress.txt b/progress.txt index 54492f6..46feda5 100644 --- a/progress.txt +++ b/progress.txt @@ -100,8 +100,8 @@ FL_Hold_Browser FL_Multi_Browser FL_Select_Browser FL_Color_Chooser -FL_Help_View FL_Input_Choice +FL_Help_View (several methods have ABI_VERSION bugs) FL_Pack FL_Spinner FL_Table diff --git a/src/c_fl_valuator.cpp b/src/c_fl_valuator.cpp index c13669c..523379b 100644 --- a/src/c_fl_valuator.cpp +++ b/src/c_fl_valuator.cpp @@ -61,6 +61,21 @@ void free_fl_valuator(VALUATOR v) { +double fl_valuator_clamp(VALUATOR v, double a) { + return reinterpret_cast<My_Valuator*>(v)->clamp(a); +} + +double fl_valuator_round(VALUATOR v, double a) { + return reinterpret_cast<My_Valuator*>(v)->round(a); +} + +double fl_valuator_increment(VALUATOR v, double a, int s) { + return reinterpret_cast<My_Valuator*>(v)->increment(a,s); +} + + + + double fl_valuator_get_minimum(VALUATOR v) { return reinterpret_cast<My_Valuator*>(v)->minimum(); } |