diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-02-06 11:25:14 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-02-06 11:25:14 +0000 |
commit | 8c71138ba5500a3d1bf446357992e8f165101173 (patch) | |
tree | a453bbcc0fba741aba3b3e16074933407f60dccc /examples/pangoft2-view.c | |
parent | 9f81790eaec937ced41c31fb6204d63a377a00a7 (diff) | |
download | pango-8c71138ba5500a3d1bf446357992e8f165101173.tar.gz |
Bug 328067 – Install pango-view
2006-02-06 Behdad Esfahbod <behdad@gnome.org>
Bug 328067 – Install pango-view
Added a rather generic framework for a pango-view example. All
backends have their own pango*-view built, and a pango-view binary
is built too, that can choose backend via --backend. This one is
installed in bindir.
* examples/Makefile.am: Updated, to build pangox-view, pangoft2-view,
pangoxft-view, pangocairo-view, and pango-view.
* examples/viewer.h, examples/viewer-x.c, examples/viewer-x.h
examples/viewer-cairo.c, examples/viewer-cairo.h,
examples/viewer-main.c, examples/viewer-pangox.c,
examples/viewer-pangoft2.c, examples/viewer-pangoxft.c,
examples/viewer-pangocairo.c, examples/pango-view.c,
examples/pango-xview.c, examples/pango-ft2view.c,
examples/pango-xftview.c, examples/pango-cairoview.c: Added.
* examples/cairoview.c, examples/xftview.c, examples/pangoft2topgm.c,
examples/viewer-qt.cc, examples/viewer-qt.h: Removed.
* configure.in: Check for Cairo Xlib backend, also AC_DEFINE various
backend bits.
Diffstat (limited to 'examples/pangoft2-view.c')
-rw-r--r-- | examples/pangoft2-view.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/pangoft2-view.c b/examples/pangoft2-view.c new file mode 100644 index 00000000..d4ac695c --- /dev/null +++ b/examples/pangoft2-view.c @@ -0,0 +1,8 @@ +#include "viewer.h" + +extern const PangoViewer pangoft2_viewer; + +const PangoViewer *viewers[] = { + &pangoft2_viewer, + NULL +}; |