mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 16:46:52 +08:00
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:
+3
-3
@@ -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 $".
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user