summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl E. Thompson <devel-fltk@carlthompson.net>1999-04-08 19:20:49 +0000
committerCarl E. Thompson <devel-fltk@carlthompson.net>1999-04-08 19:20:49 +0000
commit69302ebb675bfa241babf44b90dfb3d1c821728d (patch)
treec8d9d1aa0e36c13d38b6b8383050b45741fac8e0 /test
parent4605f0f63574af989331c09b1ddb5a2582c5360a (diff)
Fixes this demo (got broken somewhere...)
-Carl git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-rw-r--r--test/valuators.fl6
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 {} {