diff options
| author | Manolo Gouy <Manolo> | 2016-04-02 13:48:50 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-02 13:48:50 +0000 |
| commit | 851c17d43b07daa5621a47da7fa3148f4c4f7498 (patch) | |
| tree | 01adc660690b2920de463f8c4235ba0126a7fabe | |
| parent | 6ef97bc0c64f112b55c58edf581ecbd65218814e (diff) | |
Remove platform-dependent code from src/fl_font.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11509 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/fl_font.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/fl_font.cxx b/src/fl_font.cxx index f662b839e..727eda493 100644 --- a/src/fl_font.cxx +++ b/src/fl_font.cxx @@ -19,19 +19,7 @@ // Select fonts from the FLTK font table. #include "flstring.h" -#include <FL/Fl.H> -#include <FL/x.H> #include <FL/fl_draw.H> -#if defined(__APPLE__) -#include "drivers/Quartz/Fl_Font.H" -#elif defined(WIN32) -#include "drivers/GDI/Fl_Font.H" -#elif USE_X11 -#include "drivers/Xlib/Fl_Font.H" -#endif - -#include <stdio.h> -#include <stdlib.h> // ----------------------------------------------------------------------------- // all driver code is now in drivers/XXX/Fl_XXX_Graphics_Driver_xyz.cxx @@ -60,11 +48,7 @@ void fl_text_extents(const char *c, int &dx, int &dy, int &w, int &h) { void fl_draw(const char* str, int l, float x, float y) { -#ifdef __APPLE__ // PORTME: Fl_Graphics_Driver - platform alternative API fl_graphics_driver->draw(str, l, x, y); -#else - fl_draw(str, l, (int)x, (int)y); -#endif } // // End of "$Id$". |
