summaryrefslogtreecommitdiff
path: root/src/Fl_Font.H
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-02-16 22:00:04 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-02-16 22:00:04 +0000
commitca41e69c27af0dee60b8186d06f5be0713d1a051 (patch)
tree85fd248b68d4d00414fef6488016da975f739bd2 /src/Fl_Font.H
parent18312d3c1fb325c0d9ac92e98137cebbcadb563c (diff)
Updated headers to support WIN32 and OS/2 DLLs.
Updated VC++ project files. Removed dummymain.c (no longer needed). git-svn-id: file:///fltk/svn/fltk/trunk@278 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Font.H')
-rw-r--r--src/Fl_Font.H18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Fl_Font.H b/src/Fl_Font.H
index f5509bfc9..bbe96a0c6 100644
--- a/src/Fl_Font.H
+++ b/src/Fl_Font.H
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Font.H,v 1.5 1999/01/07 19:17:19 mike Exp $"
+// "$Id: Fl_Font.H,v 1.6 1999/02/16 21:59:50 mike Exp $"
//
// Font definitions for the Fast Light Tool Kit (FLTK).
//
@@ -41,22 +41,22 @@ public:
Fl_FontSize *next; // linked list for this Fl_Fontdesc
#ifndef WIN32
XFontStruct* font; // X font information
- Fl_FontSize(const char* xfontname);
+ FL_EXPORT Fl_FontSize(const char* xfontname);
#else
HFONT fid;
int width[256];
TEXTMETRIC metr;
- Fl_FontSize(const char* fontname, int size);
+ FL_EXPORT Fl_FontSize(const char* fontname, int size);
#endif
int minsize; // smallest point size that should use this
int maxsize; // largest point size that should use this
#if HAVE_GL
unsigned int listbase;// base of display list, 0 = none
#endif
- ~Fl_FontSize();
+ FL_EXPORT ~Fl_FontSize();
};
-extern Fl_FontSize *fl_fontsize; // the currently selected one
+extern FL_EXPORT Fl_FontSize *fl_fontsize; // the currently selected one
struct Fl_Fontdesc {
const char *name;
@@ -67,16 +67,16 @@ struct Fl_Fontdesc {
#endif
};
-extern Fl_Fontdesc *fl_fonts; // the table
+extern FL_EXPORT Fl_Fontdesc *fl_fonts; // the table
#ifndef WIN32
// functions for parsing X font names:
-const char* fl_font_word(const char *p, int n);
-char *fl_find_fontsize(char *name);
+FL_EXPORT const char* fl_font_word(const char *p, int n);
+FL_EXPORT char *fl_find_fontsize(char *name);
#endif
#endif
//
-// End of "$Id: Fl_Font.H,v 1.5 1999/01/07 19:17:19 mike Exp $".
+// End of "$Id: Fl_Font.H,v 1.6 1999/02/16 21:59:50 mike Exp $".
//