diff options
Diffstat (limited to 'src/fl_font_mac.cxx')
| -rw-r--r-- | src/fl_font_mac.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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) ); |
