diff options
| author | Carl E. Thompson <devel-fltk@carlthompson.net> | 1999-03-08 21:44:32 +0000 |
|---|---|---|
| committer | Carl E. Thompson <devel-fltk@carlthompson.net> | 1999-03-08 21:44:32 +0000 |
| commit | e42ff9a65ca9d5fa617c74e8b86bc212544d40ef (patch) | |
| tree | 87dd16df7f77595eb56894927ffce610fccbf71e /FL/Fl_Dial.H | |
| parent | 1f2b1e5470ed526202b938e6d796f4cd232704c2 (diff) | |
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
Diffstat (limited to 'FL/Fl_Dial.H')
| -rw-r--r-- | FL/Fl_Dial.H | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FL/Fl_Dial.H b/FL/Fl_Dial.H index c6a5d5622..438f2abb2 100644 --- a/FL/Fl_Dial.H +++ b/FL/Fl_Dial.H @@ -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 $". // |
