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.8 by pcg, Wed Dec 24 09:07:01 2003 UTC vs.
Revision 1.10 by pcg, Sat Jan 31 00:20:21 2004 UTC

1/*
2 * $Id: defaultfont.h,v 1.8 2003/12/24 09:07:01 pcg Exp $
3 */
4
5#ifndef _DEFAULTFONT_H_ 1#ifndef DEFAULTFONT_H_
6#define _DEFAULTFONT_H_ 2#define DEFAULTFONT_H_
7 3
8#ifdef HAVE_XSETLOCALE 4#ifdef HAVE_XSETLOCALE
9# define X_LOCALE 5# define X_LOCALE
10# include <X11/Xlocale.h> 6# include <X11/Xlocale.h>
11#else 7#else
19#endif 15#endif
20 16
21#include "rxvtlib.h" 17#include "rxvtlib.h"
22#include "feature.h" 18#include "feature.h"
23#include "encoding.h" 19#include "encoding.h"
24#include "rxvtvec.h" 20#include "rxvtstl.h"
25 21
26struct rxvt_fontprop { 22struct rxvt_fontprop {
27 enum { 23 enum {
28 medium = 100, bold = 200, 24 medium = 100, bold = 200,
29 roman = 0, italic = 100, 25 roman = 0, italic = 100,
51 if (this->name) free (this->name); // let the compiler optimize 47 if (this->name) free (this->name); // let the compiler optimize
52 this->name = name; 48 this->name = name;
53 } 49 }
54 50
55 rxvt_font () { name = 0; } 51 rxvt_font () { name = 0; }
56 ~rxvt_font () { free (name); clear (); }; 52 ~rxvt_font () { clear (); free (name); };
57 53
58 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);
59 55
60 virtual void clear () { }; 56 virtual void clear () { };
61 57

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines