summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2010-06-24 21:55:20 +0000
committerManolo Gouy <Manolo>2010-06-24 21:55:20 +0000
commit142cefd10627f0dcc9aa68fa9f1cc74728851b61 (patch)
tree96c6c89260f099aaf45e90eb282f553822a5bb4c /FL
parenta40166931e13962823938bc7aa60b97b82d27a82 (diff)
Mac OS X: fixed bug where fl_draw(const char*, int, float, float) would not work on non-Quartz device
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Device.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H
index b1eaea341..6b52ae674 100644
--- a/FL/Fl_Device.H
+++ b/FL/Fl_Device.H
@@ -128,6 +128,9 @@ protected:
friend void fl_line(int x, int y, int x1, int y1);
friend void fl_line(int x, int y, int x1, int y1, int x2, int y2);
friend void fl_draw(const char *str, int n, int x, int y);
+#ifdef __APPLE__
+ friend void fl_draw(const char *str, int n, float x, float y);
+#endif
friend void fl_draw(int angle, const char *str, int n, int x, int y);
friend void fl_rtl_draw(const char *str, int n, int x, int y);
friend void fl_font(Fl_Font face, Fl_Fontsize size);