]> www.fi.muni.cz Git - evince.git/blob - pdf/xpdf/LTKOutputDev.h
distribute gpdf-window-ui.xml
[evince.git] / pdf / xpdf / LTKOutputDev.h
1 //========================================================================
2 //
3 // LTKOutputDev.h
4 //
5 // Copyright 1998-2002 Glyph & Cog, LLC
6 //
7 //========================================================================
8
9 #ifndef LTKOUTPUTDEV_H
10 #define LTKOUTPUTDEV_H
11
12 #ifdef __GNUC__
13 #pragma interface
14 #endif
15
16 #include <stddef.h>
17 #include "config.h"
18 #include "XOutputDev.h"
19
20 class LTKApp;
21 class LTKWindow;
22
23 //------------------------------------------------------------------------
24
25 class LTKOutputDev: public XOutputDev {
26 public:
27
28   LTKOutputDev(LTKWindow *winA, GBool reverseVideoA,
29                unsigned long paperColor, GBool installCmap,
30                GBool rgbCubeSize, GBool incrementalUpdateA);
31
32   ~LTKOutputDev();
33
34   //----- initialization and control
35
36   // Start a page.
37   virtual void startPage(int pageNum, GfxState *state);
38
39   // End a page.
40   virtual void endPage();
41
42   // Dump page contents to display.
43   virtual void dump();
44
45 private:
46
47   LTKWindow *win;               // window
48   LTKScrollingCanvas *canvas;   // drawing canvas
49   GBool incrementalUpdate;      // incrementally update the display?
50 };
51
52 #endif