From 5d1df0e789c794b8040c5db0d84b03ae2b42fd8d Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 13 Feb 2016 12:57:00 +0000 Subject: Details on PORTME items. Move fl_parse_color() to screen drivers. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Font.H | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/Fl_Font.H') diff --git a/src/Fl_Font.H b/src/Fl_Font.H index a66d7fee9..f5a576397 100644 --- a/src/Fl_Font.H +++ b/src/Fl_Font.H @@ -26,7 +26,7 @@ #include -#if defined(WIN32) || defined(__APPLE__) // PORTME: platform font stuff +#if defined(WIN32) || defined(__APPLE__) // PORTME: Fl_Graphics_Driver - platform font stuff #elif defined(FL_PORTING) # pragma message "FL_PORTING: implement font descriptor details here" #else @@ -36,7 +36,7 @@ #if USE_XFT typedef struct _XftFont XftFont; #elif defined(WIN32) -#elif defined(__APPLE__) // PORTME: platform font stuff +#elif defined(__APPLE__) // PORTME: Fl_Graphics_Driver - platform font stuff #elif defined(FL_PORTING) # pragma message "FL_PORTING: do you want to include Xutf8.h?" #else @@ -61,7 +61,7 @@ public: TEXTMETRIC metr; int angle; FL_EXPORT Fl_Font_Descriptor(const char* fontname, Fl_Fontsize size); -# elif defined(__APPLE_QUARTZ__) // PORTME: platform font stuff +# elif defined(__APPLE_QUARTZ__) // PORTME: Fl_Graphics_Driver - platform font stuff FL_EXPORT Fl_Font_Descriptor(const char* fontname, Fl_Fontsize size); ATSUTextLayout layout; # if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 @@ -84,9 +84,9 @@ public: # endif # if HAVE_GL unsigned int listbase;// base of display list, 0 = none -#ifndef __APPLE_QUARTZ__ // PORTME: platform font stuff +#ifndef __APPLE_QUARTZ__ // PORTME: Fl_Graphics_Driver - platform font stuff char glok[64]; -#endif // __APPLE_QUARTZ__ // PORTME: platform font stuff +#endif // __APPLE_QUARTZ__ // PORTME: Fl_Graphics_Driver - platform font stuff # endif // HAVE_GL FL_EXPORT ~Fl_Font_Descriptor(); @@ -101,7 +101,7 @@ struct Fl_Fontdesc { char fontname[128]; // "Pretty" font name Fl_Font_Descriptor *first; // linked list of sizes of this style #ifdef WIN32 -#elif defined(__APPLE__) // PORTME: platform font stuff +#elif defined(__APPLE__) // PORTME: Fl_Graphics_Driver - platform font stuff char **xlist; // matched X font names int n; // size of xlist, negative = don't free xlist! #elif defined(FL_PORTING) @@ -115,7 +115,7 @@ struct Fl_Fontdesc { extern FL_EXPORT Fl_Fontdesc *fl_fonts; // the table #ifdef WIN32 -#elif defined(__APPLE__) // PORTME: platform font stuff +#elif defined(__APPLE__) // PORTME: Fl_Graphics_Driver - platform font stuff // functions for parsing X font names: FL_EXPORT const char* fl_font_word(const char *p, int n); FL_EXPORT char *fl_find_fontsize(char *name); -- cgit v1.2.3