diff options
author | Albert Astals Cid <aacid@kde.org> | 2005-12-03 22:20:54 +0000 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2005-12-03 22:20:54 +0000 |
commit | ab45eb562159d5b006e658ec66723a0a47908f65 (patch) | |
tree | ac2d77f4b13b752d40adf4e9112c65f38f3f7578 /test | |
parent | 64079ad81caf6d2cf66b1f3a3de9454146e15c6c (diff) |
* qt4/src/poppler-qt4.h:
* qt4/src/poppler-fontinfo.cc:
* qt4/src/poppler-textbox.cc: Remove implementation of that classes from the header, use pimpl
Diffstat (limited to 'test')
-rw-r--r-- | test/pdf-inspector.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/pdf-inspector.cc b/test/pdf-inspector.cc index acea6e7f..ac2fa305 100644 --- a/test/pdf-inspector.cc +++ b/test/pdf-inspector.cc @@ -30,6 +30,7 @@ #include "PDFDoc.h" #include "GlobalParams.h" +#include "SplashOutputDev.h" #include "ErrorCodes.h" #include <gtk/gtk.h> #include <glade/glade.h> @@ -66,7 +67,7 @@ private: GladeXML *xml; GtkTreeModel *model; PDFDoc *doc; - CairoOutputDev *output; + SplashOutputDev *output; }; @@ -128,7 +129,11 @@ PdfInspector::PdfInspector(void) gtk_tree_view_column_set_sort_column_id (column, i); } doc = NULL; - output = new CairoOutputDev (); + SplashColor white; + white[0] = 255; + white[1] = 255; + white[2] = 255; + output = new SplashOutputDev(splashModeRGB8, 4, gFalse, white); // set up initial widgets load (NULL); |