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.3 by pcg, Tue Nov 25 09:29:11 2003 UTC vs.
Revision 1.4 by pcg, Tue Nov 25 11:52:42 2003 UTC

1/* 1/*
2 * $Id: defaultfont.h,v 1.3 2003/11/25 09:29:11 pcg Exp $ 2 * $Id: defaultfont.h,v 1.4 2003/11/25 11:52:42 pcg Exp $
3 */ 3 */
4 4
5#ifndef _DEFAULTFONT_H_ 5#ifndef _DEFAULTFONT_H_
6#define _DEFAULTFONT_H_ 6#define _DEFAULTFONT_H_
7 7
21#include "rxvtlib.h" 21#include "rxvtlib.h"
22#include "feature.h" 22#include "feature.h"
23#include "encoding.h" 23#include "encoding.h"
24#include "rxvtvec.h" 24#include "rxvtvec.h"
25 25
26typedef struct rxvt_vars rxvt_t;
27
28struct rxvt_font { 26struct rxvt_font {
29 // managed by the fontset 27 // managed by the fontset
30#if EXPLICIT_CONTEXT 28#if EXPLICIT_CONTEXT
31 rxvt_t *rxvt_term; 29 rxvt_t rxvt_term;
32 void set_term (pR) { this->rxvt_term = R; } 30 void set_term (pR) { this->rxvt_term = R; }
33#else 31#else
34 void set_term (pR) { } 32 void set_term (pR) { }
35#endif 33#endif
36 char *name; 34 char *name;
88 return fonts[base_id]; 86 return fonts[base_id];
89 } 87 }
90 88
91private: 89private:
92#ifdef EXPLICIT_CONTEXT 90#ifdef EXPLICIT_CONTEXT
93 rxvt_t *rxvt_term; 91 rxvt_t rxvt_term;
94#endif 92#endif
95 simplevec<rxvt_font *> fonts; 93 simplevec<rxvt_font *> fonts;
96 const rxvt_fallback_font *fallback; 94 const rxvt_fallback_font *fallback;
97 95
98 int height; 96 int height;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines