summaryrefslogtreecommitdiff
path: root/src/drivers/Android/Fl_Android_Graphics_Driver.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2018-03-24 13:06:59 +0000
committerMatthias Melcher <fltk@matthiasm.com>2018-03-24 13:06:59 +0000
commit79b31708de7b1544d0e7b32d616ecb9b79d1b9bd (patch)
tree4bcb449bcc1e90269f7c04ada08eab1762d8a199 /src/drivers/Android/Fl_Android_Graphics_Driver.cxx
parentdb55dfbbd6e161ab1388583ef6834137a4a380e1 (diff)
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
Diffstat (limited to 'src/drivers/Android/Fl_Android_Graphics_Driver.cxx')
-rw-r--r--src/drivers/Android/Fl_Android_Graphics_Driver.cxx8
1 files changed, 4 insertions, 4 deletions
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);