upgrade to xpdf 1.01.
[swftools.git] / pdf2swf / xpdf / FormWidget.h
diff --git a/pdf2swf/xpdf/FormWidget.h b/pdf2swf/xpdf/FormWidget.h
deleted file mode 100644 (file)
index d746083..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-//========================================================================
-//
-// FormWidget.h
-//
-// Copyright 2000 Derek B. Noonburg
-//
-//========================================================================
-
-#ifndef FORMWIDGET_H
-#define FORMWIDGET_H
-
-#ifdef __GNUC__
-#pragma interface
-#endif
-
-class Gfx;
-
-//------------------------------------------------------------------------
-// FormWidget
-//------------------------------------------------------------------------
-
-class FormWidget {
-public:
-
-  FormWidget(Dict *dict);
-  ~FormWidget();
-  GBool isOk() { return ok; }
-
-  void draw(Gfx *gfx);
-
-  // Get appearance object.
-  Object *getAppearance(Object *obj) { return appearance.fetch(obj); }
-
-private:
-
-  Object appearance;           // a reference to the Form XObject stream
-                               //   for the normal appearance
-  double xMin, yMin,           // widget rectangle
-         xMax, yMax;
-  GBool ok;
-};
-
-//------------------------------------------------------------------------
-// FormWidgets
-//------------------------------------------------------------------------
-
-class FormWidgets {
-public:
-
-  // Extract widgets from array of annotations.
-  FormWidgets(Object *annots);
-
-  ~FormWidgets();
-
-  // Iterate through list of widgets.
-  int getNumWidgets() { return nWidgets; }
-  FormWidget *getWidget(int i) { return widgets[i]; }
-
-private:
-
-  FormWidget **widgets;
-  int nWidgets;
-};
-
-#endif