diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2001-12-04 03:03:17 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2001-12-04 03:03:17 +0000 |
| commit | 1d06051e8c1769e2fead7ef38c7beff65d899b42 (patch) | |
| tree | fb238bc7f5e6799f356e14337461029ebdf3e1bb /src/fl_arci.cxx | |
| parent | 9e6b78b5ca25aaf10a5d7414efc4257ed3741471 (diff) | |
FLTK for Mac:
Reversed to outdated (but working) event handling.
Added README.mac
Added mac.r minimal resource fork
Still lots of bugs, but initial rendering works
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_arci.cxx')
| -rw-r--r-- | src/fl_arci.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fl_arci.cxx b/src/fl_arci.cxx index 7ea47f2f9..1974b5aee 100644 --- a/src/fl_arci.cxx +++ b/src/fl_arci.cxx @@ -1,5 +1,5 @@ // -// "$Id: fl_arci.cxx,v 1.4.2.5.2.1 2001/11/27 17:44:07 easysw Exp $" +// "$Id: fl_arci.cxx,v 1.4.2.5.2.2 2001/12/04 03:03:17 matthiaswm Exp $" // // Arc (integer) drawing functions for the Fast Light Tool Kit (FLTK). // @@ -50,7 +50,7 @@ void fl_arc(int x,int y,int w,int h,double a1,double a2) { #elif defined(__APPLE__) Rect r; r.left=x; r.right=x+w; r.top=y; r.bottom=y+h; a1 = a2-a1; a2 = 450-a2; - FrameArc(&r, a2, a1); + FrameArc(&r, (short int)a2, (short int)a1); #else XDrawArc(fl_display, fl_window, fl_gc, x,y,w-1,h-1, int(a1*64),int((a2-a1)*64)); #endif @@ -69,12 +69,12 @@ void fl_pie(int x,int y,int w,int h,double a1,double a2) { #elif defined(__APPLE__) Rect r; r.left=x; r.right=x+w; r.top=y; r.bottom=y+h; a1 = a2-a1; a2 = 450-a2; - PaintArc(&r, a2, a1); + PaintArc(&r, (short int)a2, (short int)a1); #else XFillArc(fl_display, fl_window, fl_gc, x,y,w,h, int(a1*64),int((a2-a1)*64)); #endif } // -// End of "$Id: fl_arci.cxx,v 1.4.2.5.2.1 2001/11/27 17:44:07 easysw Exp $". +// End of "$Id: fl_arci.cxx,v 1.4.2.5.2.2 2001/12/04 03:03:17 matthiaswm Exp $". // |
