repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 6ac04238fbd2514d6e3346d3a29c489dd7c581b7: path_to: revision_to:
commit 6ac04238fbd2514d6e3346d3a29c489dd7c581b7 Author: Marc LehmannDate: Wed Aug 25 13:07:07 2004 +0000 *** empty log message *** diff --git a/src/rxvtfont.h b/src/rxvtfont.h
--- a/src/rxvtfont.h
+++ b/src/rxvtfont.h
@@ -100,14 +100,12 @@ struct rxvt_fallback_font;
struct rxvt_fontset {
char *fontdesc;
- rxvt_fontprop prop;
rxvt_fontset (rxvt_term *r);
~rxvt_fontset ();
- rxvt_font *new_font (const char *name, codeset cs);
-
- bool populate (const char *desc, const rxvt_fontprop &prop);
+ bool populate (const char *desc);
+ void set_prop (const rxvt_fontprop &prop) { this->prop = prop; }
int find_font (uint32_t unicode);
int find_font (const char *name) const;
bool realize_font (int i);
@@ -120,14 +118,16 @@ struct rxvt_fontset {
private:
rxvt_term *r;
+ rxvt_fontprop prop;
simplevec fonts;
const rxvt_fallback_font *fallback;
typedef unsigned char pagemap[256];
vector fmap;
- void add_fonts (const char *desc);
void clear ();
+ rxvt_font *new_font (const char *name, codeset cs);
+ void add_fonts (const char *desc);
};
#endif /* _DEFAULTFONT_H_ */
-----END OF PAGE-----