diff options
| -rw-r--r-- | test/valuators.fl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/valuators.fl b/test/valuators.fl index 57d0ec0df..c678363f7 100644 --- a/test/valuators.fl +++ b/test/valuators.fl @@ -5,9 +5,9 @@ code_name {.cxx} gridx 5 gridy 5 snap 3 -Function {callback(Fl_Valuator* o, void*)} {open private return_type void +Function {callback(Fl_Widget* o, void*)} {open private return_type void } { - code {printf("%g \\r", o->value()); + code {printf("%g \\r", ((Fl_Valuator*)o)->value()); fflush(stdout);} {selected } } @@ -16,7 +16,7 @@ Function {} {open } { Fl_Window {} { label {Valuator classes, showing values for type()} open - xywh {370 393 567 506} color 43 selection_color 43 + xywh {382 441 567 506} color 43 selection_color 43 code0 {\#include <stdio.h>} visible } { Fl_Box {} { |
