// C++ code Copyright (C) David R. Evans G4AMJ/NQ0I

// grey scale for surface

#ifndef GF_WINH
#define GF_WINH

#include <gf.h>


#include <owl\window.h>

class grey_font_windows : public grey_font
{ HBITMAP* pr;

public:
  grey_font_windows(const uint16 w = 0, const uint16 h = 0);
  void* _generate_square(const uint16 n_black)
    { return NULL; }                                  // unused
  HBITMAP _generate_square(const uint16 n_black, HDC);
  void _generate_squares(void);

  uint16 _rebuild(const uint16 width, const uint16 height);
  void* memory_pattern(const int n)
    { return &pr[n]; }
};

#endif

