summaryrefslogtreecommitdiff
path: root/pango/pango-context.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-02-11 06:14:28 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-02-11 06:14:28 +0000
commitb1c021842d26d5674a51f802f29e2a8496767c55 (patch)
tree58e8cf4cbaa464eaf728fc38e7aa1bbfb1cb24c3 /pango/pango-context.h
parent11884d20295c2aea6dfeb8a915dd02b48ec60d9c (diff)
downloadpango-b1c021842d26d5674a51f802f29e2a8496767c55.tar.gz
Add style selector, rewrite family selector to use list_families().
Thu Feb 10 19:57:27 2000 Owen Taylor <otaylor@redhat.com> * examples/viewer.c: Add style selector, rewrite family selector to use list_families(). * libpango/pango-context.[ch] libpango/pango-font.h libpango/pangox.c libpango/fonts.c: Add calls to list families, modify list_fonts() call to take an optional "family" parameter for the purpose of listing the fonts within a family.
Diffstat (limited to 'pango/pango-context.h')
-rw-r--r--pango/pango-context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pango-context.h b/pango/pango-context.h
index 642f3d49..64fe06ac 100644
--- a/pango/pango-context.h
+++ b/pango/pango-context.h
@@ -41,8 +41,12 @@ void pango_context_add_font_map (PangoContext *context,
PangoFontMap *font_map);
void pango_context_list_fonts (PangoContext *context,
+ const char *family,
PangoFontDescription ***descs,
int *n_descs);
+void pango_context_list_families (PangoContext *context,
+ gchar ***families,
+ int *n_families);
PangoFont * pango_context_load_font (PangoContext *context,
PangoFontDescription *desc,
gdouble size);