]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/XPDFViewer.h
Reused eog HIG dialog in GPdf.
[evince.git] / pdf / xpdf / XPDFViewer.h
index 77875c4163bbc1d6bafc47f3a556ce519722c610..924042f93c6fd964fd9e17113c424f633e908e05 100644 (file)
@@ -2,7 +2,7 @@
 //
 // XPDFViewer.h
 //
-// Copyright 2002 Glyph & Cog, LLC
+// Copyright 2002-2003 Glyph & Cog, LLC
 //
 //========================================================================
 
@@ -21,7 +21,7 @@
 #include "gtypes.h"
 #include "XPDFCore.h"
 
-#if XmVERSION <= 1
+#if (XmVERSION <= 1) && !defined(__sgi)
 #define DISABLE_OUTLINE
 #endif
 
@@ -46,6 +46,7 @@ public:
 
   void open(GString *fileName, int pageA, GString *destName);
   void clear();
+  void reloadFile();
 
   Widget getWindow() { return win; }
 
@@ -54,7 +55,6 @@ private:
   //----- load / display
   GBool loadFile(GString *fileName, GString *ownerPassword = NULL,
                 GString *userPassword = NULL);
-  void reloadFile();
   void displayPage(int pageA, int zoomA, int rotateA,
                    GBool scrollToTop, GBool addToHist);
   void displayDest(LinkDest *dest, int zoomA, int rotateA,
@@ -173,6 +173,9 @@ private:
                                XtPointer callData);
   void getPassword(GBool again);
 
+  //----- Motif support
+  XmFontList createFontList(char *xlfd);
+
   XPDFApp *app;
   GBool ok;