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.19 by root, Mon Jul 26 14:57:12 2004 UTC

98#define FONT_UNREF(f) do { (f)->clear (); delete (f); } while (0) 98#define FONT_UNREF(f) do { (f)->clear (); delete (f); } while (0)
99 99
100struct rxvt_fallback_font; 100struct rxvt_fallback_font;
101 101
102struct rxvt_fontset { 102struct rxvt_fontset {
103 char *fontdesc;
104
103 rxvt_fontset (rxvt_t r); 105 rxvt_fontset (rxvt_t r);
104 ~rxvt_fontset (); 106 ~rxvt_fontset ();
105 107
106 rxvt_font *new_font (const char *name, codeset cs); 108 rxvt_font *new_font (const char *name, codeset cs);
107 109
108 bool populate (const char *desc); 110 bool populate (const char *desc);
109 int find_font (uint32_t unicode); 111 int find_font (uint32_t unicode, bool bold = false);
110 112
111 rxvt_font *operator [] (int id) const 113 rxvt_font *operator [] (int id) const
112 { 114 {
113 return fonts[id]; 115 return fonts[id];
114 } 116 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines