font.h

Go to the documentation of this file.
00001 
00002 /*  $Id: font.h 355 2005-01-11 22:48:55Z andreradke $    */
00003 
00004 /******************************************************************************
00005 
00006     UserLand Frontier(tm) -- High performance Web content management,
00007     object database, system-level and Internet scripting environment,
00008     including source code editing and debugging.
00009 
00010     Copyright (C) 1992-2004 UserLand Software, Inc.
00011 
00012     This program is free software; you can redistribute it and/or modify
00013     it under the terms of the GNU General Public License as published by
00014     the Free Software Foundation; either version 2 of the License, or
00015     (at your option) any later version.
00016 
00017     This program is distributed in the hope that it will be useful,
00018     but WITHOUT ANY WARRANTY; without even the implied warranty of
00019     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020     GNU General Public License for more details.
00021 
00022     You should have received a copy of the GNU General Public License
00023     along with this program; if not, write to the Free Software
00024     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025 
00026 ******************************************************************************/
00027 
00028 #define fontinclude /*so other includes can tell if we've been loaded*/
00029 
00030 
00031 #ifndef shelltypesinclude
00032     
00033     #include "shelltypes.h"
00034 
00035 #endif
00036 
00037 #ifdef MACVERSION
00038     #define geneva kFontIDGeneva
00039     #define helv kFontIDHelvetica
00040 #endif
00041 #ifdef WIN95VERSION
00042     extern short geneva;
00043 #endif
00044 
00045 extern FontInfo globalfontinfo;
00046 
00047 
00048 /*prototypes*/
00049 
00050 extern void fontgetnumber (bigstring, short *);
00051 
00052 extern void fontgetname (short, bigstring);
00053 
00054 extern boolean realfont (short, short);
00055 
00056 extern void setfontsizestyle (short, short, short);
00057 
00058 extern void setglobalfontsizestyle (short, short, short);
00059 
00060 extern short setnamedfont (bigstring, short, short, short);
00061 
00062 extern void getfontsizestyle (short *, short *, short *);
00063 
00064 extern void fontstring (short, short, boolean, boolean, bigstring);
00065 
00066 extern void getstyle (short, boolean *, boolean *, boolean *, boolean *, boolean *, boolean *);
00067 
00068 extern void diskgetfontname (short, diskfontstring);
00069 
00070 extern void diskgetfontnum (diskfontstring, short *);
00071 
00072 extern boolean initfonts (void);
00073 
00074 #ifdef WIN95VERSION
00075 
00076     extern void getWindowsLogFont (LOGFONT *);
00077 
00078     extern void setWindowsFont ();
00079 
00080     extern void clearWindowsFont ();
00081 
00082 #endif
00083 
00084 
00085 /* file.h*/
00086 
00087     

Generated on Wed May 31 18:19:47 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6