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.9 by pcg, Sat Jan 17 01:20:01 2004 UTC vs.
Revision 1.11 by pcg, Fri Feb 13 12:16:21 2004 UTC

47 if (this->name) free (this->name); // let the compiler optimize 47 if (this->name) free (this->name); // let the compiler optimize
48 this->name = name; 48 this->name = name;
49 } 49 }
50 50
51 rxvt_font () { name = 0; } 51 rxvt_font () { name = 0; }
52 ~rxvt_font () { free (name); clear (); }; 52 ~rxvt_font () { clear (); free (name); };
53 53
54 void clear_rect (int x, int y, int w, int h, int color); 54 void clear_rect (int x, int y, int w, int h, int color);
55 55
56 virtual void clear () { }; 56 virtual void clear () { };
57 57
78 rxvt_font *new_font (const char *name, codeset cs); 78 rxvt_font *new_font (const char *name, codeset cs);
79 79
80 void populate (const char *desc); 80 void populate (const char *desc);
81 int find_font (uint32_t unicode); 81 int find_font (uint32_t unicode);
82 82
83 rxvt_font *operator [](int id) const 83 rxvt_font *operator [] (int id) const
84 { 84 {
85 return fonts[id]; 85 return fonts[id];
86 } 86 }
87 87
88 rxvt_font *base_font () const 88 rxvt_font *base_font () const

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines