3788
|
1 |
--- fltk-2.0.x-alpha-r8800/src/fltk_theme.cxx 2011-09-25 21:57:40.368955597 +0200
|
|
2 |
+++ fltk-2.0.x-alpha-r8800/src/fltk_theme.cxx 2011-09-25 21:56:47.044860650 +0200
|
|
3 |
@@ -115 +115 @@
|
|
4 |
- sprintf(buffer, "frame0%d", i+1);
|
|
5 |
+ std::sprintf(buffer, "frame0%d", i+1);
|
|
6 |
@@ -117 +117 @@
|
|
7 |
- sprintf(buffer, "frame%d", i);
|
|
8 |
+ std::sprintf(buffer, "frame%d", i);
|
|
9 |
@@ -326 +326 @@
|
|
10 |
- if(strcmp(pattern, "return") == 0)
|
|
11 |
+ if(std::strcmp(pattern, "return") == 0)
|
|
12 |
--- fltk-2.0.x-alpha-r8800/src/addarc.cxx 2011-03-03 10:20:46.000000000 +0100
|
|
13 |
+++ fltk-2.0.x-alpha-r8800/src/addarc.cxx 2011-09-25 22:05:28.807213632 +0200
|
|
14 |
@@ -36,6 +36,10 @@
|
|
15 |
#include <fltk/math.h>
|
|
16 |
using namespace fltk;
|
|
17 |
|
|
18 |
+#if USE_CAIRO
|
|
19 |
+extern void fl_set_cairo_ctm();
|
|
20 |
+#endif
|
|
21 |
+
|
|
22 |
/*!
|
|
23 |
Add a series of points to the current path on the arc of an
|
|
24 |
ellipse. The ellipse in inscribed in the l,t,w,h rectangle, and the
|
|
25 |
@@ -48,7 +52,6 @@
|
|
26 |
{
|
|
27 |
#if USE_CAIRO
|
|
28 |
cairo_save(cr);
|
|
29 |
- extern void fl_set_cairo_ctm();
|
|
30 |
fl_set_cairo_ctm();
|
|
31 |
float x = l+w/2;
|
|
32 |
float y = t+h/2;
|