|
|
00001 #ifndef x_fonts_MODULE 00002 #define x_fonts_MODULE 00003 00004 /* 00005 * Copyright (c) 1989 by the Massachusetts Institute of Technology. 00006 * For copying and distribution information, see the file 00007 * "mit-copyright.h". 00008 * 00009 * Modified for jwgc by Daniel Henninger. 00010 */ 00011 00012 #include "mit-copyright.h" 00013 00014 #include "X_driver.h" 00015 00016 #define SPECIAL_FACE -1 00017 #define ROMAN_FACE 0 00018 #define BOLD_FACE 1 00019 #define ITALIC_FACE 2 00020 #define BOLD_ITALIC_FACE 3 00021 00022 #define SPECIAL_SIZE -1 00023 #define SMALL_SIZE 0 00024 #define MEDIUM_SIZE 1 00025 #define LARGE_SIZE 2 00026 00027 /* 00028 * XFontStruct *get_font(string family; int size, face) 00029 * Requires: size is one of SMALL_SIZE, MEDIUM_SIZE, LARGE_SIZE and 00030 * face is one of ROMAN_FACE, BOLD_FACE, ITALIC_FACE, 00031 * BOLDITALIC_FACE. 00032 * Effects: Looks up the font specified by the above in the 00033 * X resources. If that font is not specified by in 00034 * the X resources or it can't be loaded, the font 00035 * specified by default.medium.roman is used. <<<>>> 00036 */ 00037 00038 extern XFontStruct *get_font(); 00039 extern XFontStruct *get_fontst_from_fid(); 00040 00041 #endif
Last updated at Tue Dec 18 21:07:42 PST 2007. | This site and project hosted by... |