home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 28 / amigaformatcd28.iso / -seriously_amiga- / programming / c / asap / view.h < prev    next >
C/C++ Source or Header  |  1998-04-23  |  2KB  |  49 lines

  1. /*****************************************************************************
  2.  *                                                                           *
  3.  * ASAP - Amiga Software Authoring Platform                                  *
  4.  *                                                                           *
  5.  * Written by Laurie Perrin                                                  *
  6.  *                                                                           *
  7.  * AView wrapper class                                                       *
  8.  *                                                                           *
  9.  *****************************************************************************/
  10.  
  11. #ifndef ASAP_AView_H
  12. #define ASAP_AView_H
  13.  
  14. extern "C"
  15. {
  16.  #include <Proto/Graphics.h>
  17. }
  18.  
  19. class AView : public View
  20. {
  21.  public:
  22.  inline UWORD CalcIVG(struct ViewPort * vp);
  23.  inline void InitView();
  24.  inline void LoadView();
  25.  inline ULONG MrgCop();
  26. };
  27. //----------------------------------------------------------------------------
  28. UWORD AView::CalcIVG (struct ViewPort * vp)
  29. {
  30.  return ::CalcIVG(this, vp);
  31. }
  32. //----------------------------------------------------------------------------
  33. void AView::InitView ()
  34. {
  35.  ::InitView(this);
  36. }
  37. //----------------------------------------------------------------------------
  38. void AView::LoadView ()
  39. {
  40.  ::LoadView(this);
  41. }
  42. //----------------------------------------------------------------------------
  43. ULONG AView::MrgCop ()
  44. {
  45.  return ::MrgCop(this);
  46. }
  47.  
  48. #endif
  49.