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.17 by pcg, Sat Mar 6 00:05:01 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"
98#define FONT_UNREF(f) do { (f)->clear (); delete (f); } while (0) 100#define FONT_UNREF(f) do { (f)->clear (); delete (f); } while (0)
99 101
100struct rxvt_fallback_font; 102struct rxvt_fallback_font;
101 103
102struct rxvt_fontset { 104struct rxvt_fontset {
105 char *fontdesc;
106
103 rxvt_fontset (rxvt_t r); 107 rxvt_fontset (rxvt_t r);
104 ~rxvt_fontset (); 108 ~rxvt_fontset ();
105 109
106 rxvt_font *new_font (const char *name, codeset cs); 110 rxvt_font *new_font (const char *name, codeset cs);
107 111
108 bool populate (const char *desc); 112 bool populate (const char *desc);
109 int find_font (uint32_t unicode); 113 int find_font (uint32_t unicode, bool bold = false);
110 114
115 // font-id's MUST fit into a signed 16 bit integer.
111 rxvt_font *operator [] (int id) const 116 rxvt_font *operator [] (int id) const
112 { 117 {
113 return fonts[id]; 118 return fonts[id];
114 } 119 }
115 120

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines