summaryrefslogtreecommitdiff
path: root/pango-view/pango-view.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-01-16 11:06:33 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-01-16 11:06:33 +0000
commit7a7fc09339cf93dfe7b29d6601d7417e840ba1ca (patch)
tree2fbe435551b2568bfa65c0ae285350e43ca3b024 /pango-view/pango-view.c
parenta0b7b0280f47826749756857250ac270249cfcff (diff)
downloadpango-7a7fc09339cf93dfe7b29d6601d7417e840ba1ca.tar.gz
Move into pango-view/
2007-01-16 Behdad Esfahbod <behdad@gnome.org> * examples/pango-view.c: * examples/pangocairo-view.c: * examples/pangoft2-view.c: * examples/pangox-view.c: * examples/pangoxft-view.c: * examples/renderdemo.c: * examples/renderdemo.h: * examples/test-arabic.txt: * examples/test-chinese.txt: * examples/test-devanagari.txt: * examples/test-gurmukhi.txt: * examples/test-hebrew.txt: * examples/test-ipa.txt: * examples/test-lao.txt: * examples/test-latin.txt: * examples/test-mixed.txt: * examples/test-syriac.txt: * examples/test-tamil.txt: * examples/test-thai.txt: * examples/test-tibetan.txt: * examples/viewer-cairo.c: * examples/viewer-cairo.h: * examples/viewer-main.c: * examples/viewer-pangocairo.c: * examples/viewer-pangoft2.c: * examples/viewer-pangox.c: * examples/viewer-pangoxft.c: * examples/viewer-win32.c: * examples/viewer-x.c: * examples/viewer-x.h: * examples/viewer.h: Move into pango-view/ * Makefile.am: * configure.in: * examples/Makefile.am: * pango-view/Makefile.am: Update. svn path=/trunk/; revision=2152
Diffstat (limited to 'pango-view/pango-view.c')
-rw-r--r--pango-view/pango-view.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/pango-view/pango-view.c b/pango-view/pango-view.c
new file mode 100644
index 00000000..9771e8cc
--- /dev/null
+++ b/pango-view/pango-view.c
@@ -0,0 +1,23 @@
+#include <config.h>
+#include "viewer.h"
+
+extern const PangoViewer pangocairo_viewer;
+extern const PangoViewer pangoxft_viewer;
+extern const PangoViewer pangoft2_viewer;
+extern const PangoViewer pangox_viewer;
+
+const PangoViewer *viewers[] = {
+#ifdef HAVE_CAIRO_XLIB
+ &pangocairo_viewer,
+#endif
+#ifdef HAVE_XFT
+ &pangoxft_viewer,
+#endif
+#ifdef HAVE_FREETYPE
+ &pangoft2_viewer,
+#endif
+#ifdef HAVE_X
+ &pangox_viewer,
+#endif
+ NULL
+};