From 79b31708de7b1544d0e7b32d616ecb9b79d1b9bd Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 24 Mar 2018 13:06:59 +0000 Subject: Android: Made popup and menu windows work, fixed Fl::wait() recursion, fixed incompatible Fl::wait() behavior. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/drivers/Android/Fl_Android_Graphics_Driver.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/drivers/Android/Fl_Android_Graphics_Driver.cxx') diff --git a/src/drivers/Android/Fl_Android_Graphics_Driver.cxx b/src/drivers/Android/Fl_Android_Graphics_Driver.cxx index d06186268..2198735b9 100644 --- a/src/drivers/Android/Fl_Android_Graphics_Driver.cxx +++ b/src/drivers/Android/Fl_Android_Graphics_Driver.cxx @@ -892,10 +892,10 @@ void Fl_Android_Graphics_Driver::pie_unscaled(float xi, float yi, float w, float * FIXME: these do not draw rotated ellipses correctly! * */ void Fl_Android_Graphics_Driver::ellipse_unscaled(double xt, double yt, double rx, double ry) { - double llx = xt-rx; - double w = xt+rx-llx; - double lly = yt-ry; - double h = yt+ry-lly; + float llx = xt-rx; + float w = xt+rx-llx; + float lly = yt-ry; + float h = yt+ry-lly; if (what==POLYGON) pie_unscaled(llx, lly, w, h, 0.0, 360.0); -- cgit v1.2.3