Changes to dial so that counter-clockwise motion is supported if you

set angle2 < angle1.  Deleted the unimplemented direction() control.
Fixed the documentation, this new code allows any 2 values for the
angles as long as abs(a-b)<=360.


git-svn-id: file:///fltk/svn/fltk/trunk@399 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Bill Spitzak
1999-03-10 08:17:43 +00:00
parent 170c31cada
commit b6115887c8
5 changed files with 43 additions and 51 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ fflush(stdout);}
callback {printf("%g \\r",o->value());
fflush(stdout);}
xywh {475 280 65 65} type Fill color 10 selection_color 1 labelsize 8
code0 {o->angles(45,315);}
code0 {o->angles(0,360);}
code1 {o->value(1.0);}
}
Fl_Box {} {