X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=pdf%2Fxpdf%2FXPDFViewer.h;h=924042f93c6fd964fd9e17113c424f633e908e05;hb=884f739665dc56e66f51e104350f2affd33f2dd8;hp=77875c4163bbc1d6bafc47f3a556ce519722c610;hpb=6112dfe4b45b0305c7a6f61bd8a847f69f892cbb;p=evince.git diff --git a/pdf/xpdf/XPDFViewer.h b/pdf/xpdf/XPDFViewer.h index 77875c41..924042f9 100644 --- a/pdf/xpdf/XPDFViewer.h +++ b/pdf/xpdf/XPDFViewer.h @@ -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;