Fixes this demo (got broken somewhere...)

-Carl


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Carl E. Thompson 1999-04-08 19:20:49 +00:00
parent 4605f0f635
commit 69302ebb67

View File

@ -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 {} {