aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/propDialog.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-02-27 10:24:37 -0500
committerKen Moore <ken@ixsystems.com>2018-02-27 10:24:37 -0500
commit6f7bfe5269912021229e570675ac0fbd9ad4f082 (patch)
tree83e4f30b9ec64c71ec89c723cca5a59fa4dbc2a4 /src-qt5/desktop-utils/lumina-pdf/propDialog.h
parentAdded highlighting for search results (diff)
downloadlumina-6f7bfe5269912021229e570675ac0fbd9ad4f082.tar.gz
lumina-6f7bfe5269912021229e570675ac0fbd9ad4f082.tar.bz2
lumina-6f7bfe5269912021229e570675ac0fbd9ad4f082.zip
Get lumina-pdf all up and running again.
1. Abstract out the backend renderer into a new class 2. The Renderer can be selected at build time by setting the "USE_MUPDF" build flag to use mupdf instead of poppler (default).
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/propDialog.h')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/propDialog.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/propDialog.h b/src-qt5/desktop-utils/lumina-pdf/propDialog.h
index 05d3231a..a09f2563 100644
--- a/src-qt5/desktop-utils/lumina-pdf/propDialog.h
+++ b/src-qt5/desktop-utils/lumina-pdf/propDialog.h
@@ -9,8 +9,7 @@
#include <QDialog>
#include <QTextEdit>
-#include <mupdf/fitz.h>
-#include <mupdf/pdf.h>
+#include "Renderer.h"
namespace Ui{
class PropDialog;
@@ -19,12 +18,12 @@ namespace Ui{
class PropDialog : public QDialog {
Q_OBJECT
public:
- PropDialog(fz_context*, pdf_document*);
-
+ PropDialog(Renderer *Backend);
+
void setSize(QSizeF);
private:
- void setInfo(fz_context*, pdf_obj*, QTextEdit*, QString);
+ //void setInfo(fz_context*, pdf_obj*, QTextEdit*, QString);
Ui::PropDialog *ui;
};
bgstack15