Author: AlbrechtS
Date: 2011-08-30 00:50:16 -0700 (Tue, 30 Aug 2011)
New Revision: 9023
Log:
Fixed fl_pie() drawing too small on X11 (STR #2703)


Modified:
   branches/branch-1.3/CHANGES
   branches/branch-1.3/src/fl_arci.cxx

Modified: branches/branch-1.3/CHANGES
===================================================================
--- branches/branch-1.3/CHANGES 2011-08-29 10:37:47 UTC (rev 9022)
+++ branches/branch-1.3/CHANGES 2011-08-30 07:50:16 UTC (rev 9023)
@@ -1,6 +1,7 @@
 
 CHANGES IN FLTK 1.3.1
 
+       - Fixed fl_pie() drawing too small on X11 (STR #2703)
        - Fixed Fl_Menu issue with unusual menu flags (STR #2680)
        - Fixed Windows DLL import of fl_xid() (STR #2670)
 

Modified: branches/branch-1.3/src/fl_arci.cxx
===================================================================
--- branches/branch-1.3/src/fl_arci.cxx 2011-08-29 10:37:47 UTC (rev 9022)
+++ branches/branch-1.3/src/fl_arci.cxx 2011-08-30 07:50:16 UTC (rev 9023)
@@ -77,6 +77,7 @@
   if (w <= 0 || h <= 0) return;
 
 #if defined(USE_X11)
+  XDrawArc(fl_display, fl_window, fl_gc, x,y,w-1,h-1, 
int(a1*64),int((a2-a1)*64));
   XFillArc(fl_display, fl_window, fl_gc, x,y,w-1,h-1, 
int(a1*64),int((a2-a1)*64));
 #elif defined(WIN32)
   if (a1 == a2) return;

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to