// C++ code Copyright (C) David R. Evans G4AMJ/NQ0I

//  surface class for VGA screen

#ifndef SURF_VGAH
#define SURF_VGAH

#include <DREstring.h>
#include <surface.h>

#include <iostream.h>
#include <stdio.h>

class vga : public surface
{ int _x, _y, clr;
  void _drawsquare(const int, const int, grey_font*, const int);
  void _dump_to_pcl(void);

public:
  vga(void);
  ~vga(void); 

  boolean hardcopy(void)
    { return false; }

  void flush(void);
  void moveto(const int x, const int y);
  void moverel(const int x, const int y);

  surface& operator<<(text&) ;
  void clear(void);
  inline int width(void)
    { return use_right; }
  inline int height(void)
    { return use_bottom; }

  surface& operator<<(LINE&);
  surface& operator<<(dot&);  

  void printer_is_pcl(void);
};

#endif



