From 69302ebb675bfa241babf44b90dfb3d1c821728d Mon Sep 17 00:00:00 2001 From: "Carl E. Thompson" Date: Thu, 8 Apr 1999 19:20:49 +0000 Subject: Fixes this demo (got broken somewhere...) -Carl git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/valuators.fl | 6 +++--- 1 file 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 } visible } { Fl_Box {} { -- cgit v1.2.3