This adds support for the Fl_Dial::angles() method. This seems to work

correctly, but it is likely that someone who remembers their high school
math could make it _much_ more efficient (I just hacked away 'till it
worked).

-Carl


git-svn-id: file:///fltk/svn/fltk/trunk@376 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Carl E. Thompson
1999-03-08 21:44:32 +00:00
parent 1f2b1e5470
commit e42ff9a65c
4 changed files with 57 additions and 31 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
//
// "$Id: Fl_Dial.H,v 1.5 1999/02/16 21:59:37 mike Exp $"
// "$Id: Fl_Dial.H,v 1.6 1999/03/08 21:44:28 carl Exp $"
//
// Dial header file for the Fast Light Tool Kit (FLTK).
//
@@ -54,7 +54,7 @@ public:
FL_EXPORT int handle(int);
FL_EXPORT Fl_Dial(int x,int y,int w,int h, const char *l = 0);
void angles(short a, short b) {a1=a; a2=b;}
void angles(short a, short b);
void direction(uchar d) {direction_ = d;}
uchar direction() const {return direction_;}
@@ -63,5 +63,5 @@ public:
#endif
//
// End of "$Id: Fl_Dial.H,v 1.5 1999/02/16 21:59:37 mike Exp $".
// End of "$Id: Fl_Dial.H,v 1.6 1999/03/08 21:44:28 carl Exp $".
//