Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/xpdf/LTKOutputDev.h
blob: 7b996dc28cf081eab22c8b8867191e07e1c8532f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//========================================================================
//
// LTKOutputDev.h
//
// Copyright 1998-2002 Glyph & Cog, LLC
//
//========================================================================

#ifndef LTKOUTPUTDEV_H
#define LTKOUTPUTDEV_H

#ifdef __GNUC__
#pragma interface
#endif

#include <stddef.h>
#include "config.h"
#include "XOutputDev.h"

class LTKApp;
class LTKWindow;

//------------------------------------------------------------------------

class LTKOutputDev: public XOutputDev {
public:

  LTKOutputDev(LTKWindow *winA, GBool reverseVideoA,
	       unsigned long paperColor, GBool installCmap,
	       GBool rgbCubeSize, GBool incrementalUpdateA);

  ~LTKOutputDev();

  //----- initialization and control

  // Start a page.
  virtual void startPage(int pageNum, GfxState *state);

  // End a page.
  virtual void endPage();

  // Dump page contents to display.
  virtual void dump();

private:

  LTKWindow *win;		// window
  LTKScrollingCanvas *canvas;	// drawing canvas
  GBool incrementalUpdate;	// incrementally update the display?
};

#endif