From 26049351e09d75bdf8b35273a76cf65202583fa7 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 27 May 2010 17:20:18 +0000 Subject: Better device hierarchy with surfaces and graphics drivers. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7617 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_font_mac.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/fl_font_mac.cxx') diff --git a/src/fl_font_mac.cxx b/src/fl_font_mac.cxx index 92fd58055..cb6887827 100644 --- a/src/fl_font_mac.cxx +++ b/src/fl_font_mac.cxx @@ -239,7 +239,7 @@ Fl_Font fl_font_ = 0; Fl_Fontsize fl_size_ = 0; -void Fl_Device::font(Fl_Font fnum, Fl_Fontsize size) { +void Fl_Graphics_Driver::font(Fl_Font fnum, Fl_Fontsize size) { if (fnum==-1) { fl_font_ = 0; fl_size_ = 0; @@ -402,7 +402,7 @@ void fl_text_extents(const char *c, int n, int &dx, int &dy, int &w, int &h) { void fl_draw(const char *str, int n, float x, float y); -void Fl_Device::draw(const char* str, int n, int x, int y) { +void Fl_Graphics_Driver::draw(const char* str, int n, int x, int y) { fl_draw(str, n, (float)x-0.0f, (float)y+0.5f); } @@ -480,7 +480,7 @@ void fl_draw(const char *str, int n, float x, float y) { #endif } -void Fl_Device::draw(int angle, const char *str, int n, int x, int y) { +void Fl_Graphics_Driver::draw(int angle, const char *str, int n, int x, int y) { CGContextSaveGState(fl_gc); CGContextTranslateCTM(fl_gc, x, y); CGContextRotateCTM(fl_gc, - angle*(M_PI/180) ); -- cgit v1.2.3