]> www.fi.muni.cz Git - evince.git/blob - pdf/xpdf/LTKOutputDev.h
embryonic PDF viewer as a Bonobo container...
[evince.git] / pdf / xpdf / LTKOutputDev.h
1 //========================================================================
2 //
3 // LTKOutputDev.h
4 //
5 // Copyright 1998 Derek B. Noonburg
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 *win1, unsigned long paperColor);
29
30   ~LTKOutputDev();
31
32   //----- initialization and control
33
34   // Start a page.
35   virtual void startPage(int pageNum, GfxState *state);
36
37   // Dump page contents to display.
38   virtual void dump();
39
40 private:
41
42   LTKWindow *win;               // window
43   LTKScrollingCanvas *canvas;   // drawing canvas
44 };
45
46 #endif