diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-02-11 12:02:36 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-02-11 12:02:36 +0000 |
| commit | 50ee3bcd66c4baa6bb3388f5b955d726bfc6bdd8 (patch) | |
| tree | 4b62978d21ee57df7027461b8ea2846c17308d11 /src/fl_set_font.cxx | |
| parent | a3c0dac034c919c2714f3f129a9f5d9d26ae3de4 (diff) | |
Mark places that need to be refactored with // PORTME:
Searching for __APPLE, WIN32 or X11 did give me many false results. I instead marked most ifdef's that I would like to get rid of with the text // PORTME:, so they can be easily found by a global search.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11155 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_set_font.cxx')
| -rw-r--r-- | src/fl_set_font.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fl_set_font.cxx b/src/fl_set_font.cxx index 8931b9a5e..0dac8a674 100644 --- a/src/fl_set_font.cxx +++ b/src/fl_set_font.cxx @@ -32,7 +32,7 @@ static int table_size; the string is not copied, so the string must be in static memory. */ void Fl::set_font(Fl_Font fnum, const char* name) { -#ifdef __APPLE__ +#ifdef __APPLE__ // PORTME: platform fonts if (!fl_fonts) fl_fonts = Fl_X::calc_fl_fonts(); #endif while (fnum >= table_size) { @@ -53,7 +53,7 @@ void Fl::set_font(Fl_Font fnum, const char* name) { #if defined(USE_X11) fl_fonts[i].xlist = 0; fl_fonts[i].n = 0; -#endif // !WIN32 && !__APPLE__ +#endif // !WIN32 && !__APPLE__ // PORTME: platform fonts } } Fl_Fontdesc* s = fl_fonts+fnum; @@ -85,7 +85,7 @@ void Fl::set_font(Fl_Font fnum, Fl_Font from) { of this face. */ const char* Fl::get_font(Fl_Font fnum) { -#ifdef __APPLE__ +#ifdef __APPLE__ // PORTME: platform fonts if (!fl_fonts) fl_fonts = Fl_X::calc_fl_fonts(); #endif return fl_fonts[fnum].name; |
