ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/defaultfont.h
(Generate patch)

Comparing rxvt-unicode/src/defaultfont.h (file contents):
Revision 1.19 by root, Mon Jul 26 14:57:12 2004 UTC vs.
Revision 1.20 by root, Wed Aug 4 03:29:28 2004 UTC

16#endif /* HAVE_XLOCALE */ 16#endif /* HAVE_XLOCALE */
17 17
18#ifdef HAVE_NL_LANGINFO 18#ifdef HAVE_NL_LANGINFO
19# include <langinfo.h> 19# include <langinfo.h>
20#endif 20#endif
21
22#include <inttypes.h>
21 23
22#include "rxvtlib.h" 24#include "rxvtlib.h"
23#include "feature.h" 25#include "feature.h"
24#include "encoding.h" 26#include "encoding.h"
25#include "rxvtstl.h" 27#include "rxvtstl.h"
108 rxvt_font *new_font (const char *name, codeset cs); 110 rxvt_font *new_font (const char *name, codeset cs);
109 111
110 bool populate (const char *desc); 112 bool populate (const char *desc);
111 int find_font (uint32_t unicode, bool bold = false); 113 int find_font (uint32_t unicode, bool bold = false);
112 114
115 // font-id's MUST fit into a signed 16 bit integer.
113 rxvt_font *operator [] (int id) const 116 rxvt_font *operator [] (int id) const
114 { 117 {
115 return fonts[id]; 118 return fonts[id];
116 } 119 }
117 120

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines