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

Comparing rxvt-unicode/src/rxvtfont.h (file contents):
Revision 1.18 by root, Tue Jan 17 05:47:42 2006 UTC vs.
Revision 1.20 by root, Mon Jan 30 04:27:17 2006 UTC

37 int width, height, ascent; 37 int width, height, ascent;
38 int weight, slant; 38 int weight, slant;
39}; 39};
40 40
41struct rxvt_drawable { 41struct rxvt_drawable {
42 rxvt_display *display; 42 rxvt_screen *screen;
43#if XFT 43#if XFT
44 XftDraw *xftdrawable; 44 XftDraw *xftdrawable;
45 operator XftDraw *(); 45 operator XftDraw *();
46#endif 46#endif
47 Drawable drawable; 47 Drawable drawable;
48 48
49 rxvt_drawable (rxvt_display *display, Drawable drawable) 49 rxvt_drawable (rxvt_screen *screen, Drawable drawable)
50 : display(display), 50 : screen(screen),
51#if XFT 51#if XFT
52 xftdrawable(0), 52 xftdrawable(0),
53#endif 53#endif
54 drawable(drawable) 54 drawable(drawable)
55 { } 55 { }
74 int ascent, descent, 74 int ascent, descent,
75 width, height; 75 width, height;
76 76
77 void set_name (char *name); 77 void set_name (char *name);
78 78
79 rxvt_font () { name = 0; } 79 rxvt_font ();
80 virtual ~rxvt_font () { free (name); }; 80 virtual ~rxvt_font () { free (name); };
81 81
82 virtual void clear () { }; 82 virtual void clear () { };
83 83
84 void clear_rect (rxvt_drawable &d, int x, int y, int w, int h, int color) const; 84 void clear_rect (rxvt_drawable &d, int x, int y, int w, int h, int color) const;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines